This change adds a command line option to build_packages to stop
execution of the script after breaking circular dependencies (i.e.
before board packages are built). Helpful for debugging package build
issues.
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
This change introduces build_dev_binpkgs, a script to build binary
packages for all dependencies of the devcontainer. This works around an
issue with build_packages, which doesn't - leading to build issues with
the devcontainer later on. This particularly happens for more complex
builds with the devcontainer.
Additionally, a call to build_dev_binpkgs has been added to the package
publishing step in ci-automation before binary packages are published.
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
Newer versions of stat support %Hr and %Lr for major and minor device
types in decimal. Old stat only has %t and %T for the major and minor
device type in hex. This was causing the rule to break on Flatcar
Stable.
Change the backport to avoid the new stat decimal specifiers but instead
use the hex specifiers (Note: t is major and T in minor, but even when
one would confuse this, in our case both are 0).
The removal of files in the overlay present in the lowerdir creates
whiteout entries that mask the lowerdir entries. For those files that
have a tmpfile rule for creation, a reboot would cause the file to be
created in the upperdir, meaning this file is not updated from the
lowerdir when it changes. In addition we have filtered out some tmpfile
rules that caused upcopies (symlinks and directories) which meant that
removing the /etc/resolv.conf symlink didn't bring it back after reboot.
To make files from the lowerdir show up if they have a tmpfile rule that
normally would recreate them we keep a list of whiteout entries that we
clean up on boot. This also prevents freezing files because
systemd-tmpfiles does not need to recreate them in the upperdir.
When we support two LTS, the oldest one is compare to the newer one (e.g
lts-2022 is compared to lts-2023).
We now read the 'lts-info' file to find the right version to compare
(e.g lts-2022 is compared to the 'current-2022')
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>