-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shellcheck ci #4
base: mickledore
Are you sure you want to change the base?
Commits on Nov 30, 2023
-
meta-lxatac-software: bundles: hook.sh: migrate user-specified files
Allow users to migrate custom files between installs. Users can create files like this: $ cat /etc/rauc/migrate.d/git_config.conf /etc/gitconfig /home/root/.gitconfig Which will result in the listed files being migrated to the new RAUC slot. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7059918 - Browse repository at this point
Copy the full SHA 7059918View commit details -
README: add instructions on how to migrate custom files across installs
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2d7a30 - Browse repository at this point
Copy the full SHA f2d7a30View commit details
Commits on Dec 12, 2023
-
meta-lxatac-software: bundles: hook: fix bracket warning
Fix an optional shellcheck warning to use double square brackets for bash scripts: In meta-lxatac-software/recipes-core/bundles/files/hook.sh line 26: if [ "${bundle_hash}" == "${cert_hash}" ]; then ^-- SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh. In meta-lxatac-software/recipes-core/bundles/files/hook.sh line 39: if [ ! -f "$1" ]; then ^-----------^ SC2292 (style): Prefer [[ ]] over [ ] for tests in Bash/Ksh. Signed-off-by: Rouven Czerwinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bd21c4 - Browse repository at this point
Copy the full SHA 7bd21c4View commit details -
meta-lxatac-software: bundles: hook: add braces
Fix an optional shellcheck warning: In meta-lxatac-software/recipes-core/bundles/files/hook.sh line 60: migrate "$x" ^-- SC2250 (style): Prefer putting braces around variable references even when not strictly required. Signed-off-by: Rouven Czerwinski <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76bc388 - Browse repository at this point
Copy the full SHA 76bc388View commit details -
Merge pull request linux-automation#85 from Emantor/topic/fix-hook-sh…
…ellcheck Fix optional shellcheck warnings for hook.sh
Configuration menu - View commit details
-
Copy full SHA for 461ee86 - Browse repository at this point
Copy the full SHA 461ee86View commit details -
Merge pull request linux-automation#74 from hnez/flexible-rauc-migrate
meta-lxatac-software: bundles: hook.sh: migrate user-specified files
Configuration menu - View commit details
-
Copy full SHA for ba3e18a - Browse repository at this point
Copy the full SHA ba3e18aView commit details
Commits on Dec 18, 2023
-
meta-lxatac-software: tacd: create /srv/www in tacd.service
The content of the /srv/www directory is exported by the tacd via HTTP. If this directory does not exist the user gets a (true, but somewhat confusing) 404 Not Found error if they try to access /srv via HTTP. Usually a tmpfiles.d entry would be the way to go to create this directory, but it causes issues for directories on the /srv file system. See this comment copied from a similar commit for atftp.service: The tmpfiles.d service runs very early in the boot process and even before system-update.target. This means it would clutter the /srv directory in the rootfs if the /srv partition was not yet mounted - because it was not generated yet by systemd-repart. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55e75fa - Browse repository at this point
Copy the full SHA 55e75faView commit details -
Merge pull request linux-automation#89 from hnez/tacd-srv-www
meta-lxatac-software: tacd: create /srv/www in tacd.service
Configuration menu - View commit details
-
Copy full SHA for 5f8ff8e - Browse repository at this point
Copy the full SHA 5f8ff8eView commit details -
CI: add distribution version consistency checks
This should make sure that we do not forget to update the DISTRO_VERSION and DISTRO_CODENAME when a new tag is created or a new yocto version branch is started. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fa11b2 - Browse repository at this point
Copy the full SHA 7fa11b2View commit details -
Merge pull request linux-automation#87 from hnez/version-checks
CI: add distribution version consistency checks
Configuration menu - View commit details
-
Copy full SHA for f46cf94 - Browse repository at this point
Copy the full SHA f46cf94View commit details -
meta-lxatac-software: tacd: failsafe: gpiofind no longer exists
The gpiofind command was removed, so the tacd-failsafe command would currently fail (which is kind of ironic). Instead gpioset can be directly supplied with the GPIO names. The GPIOs are not guaranteed to keep the assigned value once gpioset exits, so we just keep it running for some time before trying to restart the tacd. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22c5663 - Browse repository at this point
Copy the full SHA 22c5663View commit details -
Merge pull request linux-automation#88 from hnez/tacd-failsafe
meta-lxatac-software: tacd: failsafe: gpiofind no longer exists
Configuration menu - View commit details
-
Copy full SHA for ee2930e - Browse repository at this point
Copy the full SHA ee2930eView commit details -
CI: fix distribution version consistency checks
To follow a well honored tradition our first CI job we added failed instantly when it landed in the main branch. Now that the traditions have been honored we can fix it. There were multiple things wrong with the previous version regarding CI jobs running for a branch or tag (instead of jobs running for a pull request): - The GITHUB_REF variable contains a name like "refs/heads/mickledore", not just "mickledore". We want GITHUB_REF_NAME. - The GITHUB_BASE_REF variable is also set for non pull request jobs, but it is set to an empy string. Check for that to decide if we are running in "pull request mode". - When running for a tag the branch name check for the os codename does not make sense. Skip it in that case. Fixes: 7fa11b2 ("CI: add distribution version consistency checks") Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f11e8b - Browse repository at this point
Copy the full SHA 8f11e8bView commit details -
Merge pull request linux-automation#90 from hnez/fix-version-checks
CI: fix distribution version consistency checks
Configuration menu - View commit details
-
Copy full SHA for ea9c631 - Browse repository at this point
Copy the full SHA ea9c631View commit details
Commits on Dec 19, 2023
-
meta-lxatac-software: android-tools: remove our local recipe
meta-oe provides android-tools 29.0.6 in nanbield, which should be more than new enough to suite our needs. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e1b82d - Browse repository at this point
Copy the full SHA 1e1b82dView commit details -
meta-lxatac-software: imx-uuu: update from version 1.5.21 to 1.5.125
In addition to latest-and-greatest being the way to go this also fixes issues with newer compilers complaining about uint32_t being used without including stdint.h. See [1] for the respective upstream commit. [1]: nxp-imx/mfgtools@24fd043 Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b427710 - Browse repository at this point
Copy the full SHA b427710View commit details -
poky/meta-*: update to nanbield/master branches
The libiio version in meta-oe was updated and we no longer have to carry the backported patch. Likewise with the dt-utils patch and meta-rauc. Our ".rootfs.ext4" -> ".ext4" workarounds in lxatac-core-bundle-base.bb and emmc-image/lxatac/genimage.config are also no longer required. The perf package now handles the libtraceevent dependency correctly and we do not need that bbappend anymore. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 610ac63 - Browse repository at this point
Copy the full SHA 610ac63View commit details -
Merge pull request linux-automation#80 from hnez/nanbield
Update to Yocto 4.3 - Nanbield
Configuration menu - View commit details
-
Copy full SHA for ff98ef4 - Browse repository at this point
Copy the full SHA ff98ef4View commit details
Commits on Dec 20, 2023
-
meta-lxatac-software: passwd: reduce to only uid/gid assignment
The remaining fields are filled in when the user is actually created, having it in these files may be missleading when changes to the file do not propagate into the generated image. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8a832c - Browse repository at this point
Copy the full SHA a8a832cView commit details -
meta-lxatac-software: passwd: reserve uid/gid for systemd-journal-upload
The tacos base install does not install / configure systemd-journal-upload, but the Pengutronix-Internal derived images do. Register the uid/gid here, as systemd-journal-upload is generally useful when managing a fleet of TACs. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c4a264 - Browse repository at this point
Copy the full SHA 0c4a264View commit details -
Merge pull request linux-automation#92 from hnez/journal-upload-user
meta-lxatac-software: passwd: reserve uid/gid for systemd-journal-upload
Configuration menu - View commit details
-
Copy full SHA for 06f1b48 - Browse repository at this point
Copy the full SHA 06f1b48View commit details
Commits on Jan 17, 2024
-
poky/meta-*: update to most recent nanbield branches
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dfdf307 - Browse repository at this point
Copy the full SHA dfdf307View commit details
Commits on Jan 18, 2024
-
meta-lxatac-bsp: machine: lxatac: use RAUC releases instead of git ve…
…rsion Currently the rauc version in rauc-1.11.1.bb is newer than the version in rauc_git.bb. This is obviously an uncommon situation, but it made us aware that we set RAUC_USE_DEVEL_VERSION=1 without a clear reason or need. Released RAUC has all the features we need. Use it. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for baa776e - Browse repository at this point
Copy the full SHA baa776eView commit details
Commits on Jan 19, 2024
-
meta-lxatac-bsp: rauc: add patch to fix RAUC info / update notifications
Currently the update notifications on the LXA TAC LCD and web interface do not work because the tacd can not get informations about the RAUC bundle on the update server via RAUC's DBus API. This is because the process that RAUC spawns to handle the nbd bridge for http streaming crashes due to an unitialized pointer access. This patch is taken from RAUC pull request 1332 [1], which fixes the issue. [1]: rauc/rauc#1332 Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8eb01d4 - Browse repository at this point
Copy the full SHA 8eb01d4View commit details -
Merge pull request linux-automation#98 from hnez/fix-rauc-info
meta-lxatac-bsp: rauc: add patch to fix RAUC info / update notifications
Configuration menu - View commit details
-
Copy full SHA for 848036f - Browse repository at this point
Copy the full SHA 848036fView commit details
Commits on Jan 22, 2024
-
meta-lxatac-software/containers: Update to debian:latest
This effectively bumps the Debian version to the most recent release at that time. This way we will not need to update the script with every Debian release. This also aligns the behavior with `container-start.sh` that simply pulls `debian` if no container is present. And this also defaults to `latest`. Signed-off-by: Chris Fiege <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c60a6a - Browse repository at this point
Copy the full SHA 1c60a6aView commit details
Commits on Jan 23, 2024
-
Merge pull request linux-automation#97 from hnez/layer-update-2024-01-17
poky/meta-*: update to most recent nanbield branches
Configuration menu - View commit details
-
Copy full SHA for 3fd89ef - Browse repository at this point
Copy the full SHA 3fd89efView commit details -
Merge pull request linux-automation#99 from SmithChart/container-update
meta-lxatac-software/containers: Update to debian:latest
Configuration menu - View commit details
-
Copy full SHA for 8b98d5e - Browse repository at this point
Copy the full SHA 8b98d5eView commit details -
meta-lxatac-software: github-act-runner: add recipe
The official GitHub action runner client is written in C# and uses (as far as I could figure out) the non-free(?) part of the .NET Framework, making it hard to build. This alternative client is written in Go and relatively easy to build. We'll have to see how compatible it is in practice. The need for nodejs on the TAC is due to all "uses:" steps for runners being implemented in javascript (*sigh*). To configure a runner you have to into the Actions setting of your GitHub repository, and add a new self-hosted runner. After configuring the OS and Architecture (Linux / ARM) you can use the presented token to register the runner: $ mkdir -p /etc/github-act-runner $ cd /etc/github-act-runner $ github-act-runner configure \ --name $(uname -n) --token 01234567899876543210012345678 --labels dut-raspberrypi --url https://github.com/user/repository Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a7d9c7 - Browse repository at this point
Copy the full SHA 0a7d9c7View commit details -
meta-lxatac-software: gitlab-runner: add recipe
To configure a runner you have to into the CI/CD setting of your GitLab repository, and add a new project runner. After configuring a few aspects of the runner you are presented with a token to use on the TAC: root@lxatac:~ gitlab-runner register --url https://gitlab.com --token glrt-01234567899876543210 Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c23175 - Browse repository at this point
Copy the full SHA 3c23175View commit details -
Merge pull request linux-automation#64 from hnez/github-runner
GitHub/GitLab Action/Pipeline Runners
Configuration menu - View commit details
-
Copy full SHA for 9300e2d - Browse repository at this point
Copy the full SHA 9300e2dView commit details
Commits on Jan 26, 2024
-
CI: shellcheck: add job for all our shell scripts
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c64097 - Browse repository at this point
Copy the full SHA 7c64097View commit details -
meta-lxatac-bsp: lxatac-led-setup: use [[ ]] for tests
This was suggested by shellcheck. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a1e6d09 - Browse repository at this point
Copy the full SHA a1e6d09View commit details -
meta-lxatac-bsp: barebox: ignore shellcheck error in barebox script
Barebox shell rules are not 1:1 equivalent to "/bin/sh" rules, ignore this error. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db1e9a7 - Browse repository at this point
Copy the full SHA db1e9a7View commit details -
meta-lxatac-bsp: lxatac-factory-data: fix/ignore shellcheck warnings
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f7323f - Browse repository at this point
Copy the full SHA 4f7323fView commit details -
meta-lxatac-bsp: rauc: rauc-{enable,disable}-cert: fix shellcheck war…
…nings Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 242fe92 - Browse repository at this point
Copy the full SHA 242fe92View commit details -
meta-lxatac-software: lxatac-core-bundle-base: shellcheck hook.sh
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3d2d3ca - Browse repository at this point
Copy the full SHA 3d2d3caView commit details -
meta-lxatac-software: lxatac-profile: shellcheck fixes in 01-labgrid.sh
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e62474 - Browse repository at this point
Copy the full SHA 6e62474View commit details -
meta-lxatac-software: containers: shellcheck container-{start,update}.sh
Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dc6091 - Browse repository at this point
Copy the full SHA 7dc6091View commit details -
meta-lxatac-software: tac-gadget: fix shellcheck warnings in helper s…
…cripts Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f825d9 - Browse repository at this point
Copy the full SHA 4f825d9View commit details -
meta-lxatac-software: tac-gadget: fix shellcheck warnings gadget-common
This change is less mechanic than the previous tac-gadget shellcheck change and required some more thinking, which is why it is split out from the rest. Signed-off-by: Leonard Göhrs <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e234545 - Browse repository at this point
Copy the full SHA e234545View commit details