Tags: microsoft/azure-linux-image-tools
Tags
Add snapshot support (P1) (#236) <!-- Description: Please provide a summary of the changes and the motivation behind them. --> Add package snapshot support (p1) allowing users to specify time either in the CLI or configuration file. This enables snapshot-based package filtering during installation or update, ensuring only packages available at that point in time are considered. Supports: - A date in `YYYY-MM-DD` format (interpreted as UTC midnight) - A full RFC 3339 timestamp (e.g., `2024-05-20T23:59:59Z`) ### **Checklist** - [x] Tests added/updated - [x] Documentation updated (if needed) - [x] Code conforms to style guidelines
Stop all chroot processes before unmounting chroot. (#179) Some Linux tools like to start services in the background. For example, `tdnf`/`dnf` will start `gpg-agent` when installing packages. If these processes aren't stopped, then the chroot can't close properly and an error occurs. We have existing logic for stopping `gpg-agent`. But this same problem can occur for other processes as well. So, this change modifies the logic to stop all proceses started inside the chroot.
Skip UKI test if the 'ukify' command is not available. (#129) The `ukify` command is relatively new. So, it isn't available except on fairly recent ditro versions. It isn't available in either Ubuntu 22.04 or AZL2, which is what our build/test pipelines use. So, skip the UKI test if the `ukify` command isn't available. Also, fix up the requirements section of the Quick Start guide. Also, add the `ukify` command to the container.
Add multi-kernel support. (#109) Remove the arbitary restrictions to allow the kernel args to be updated when multiple kernels are installed. In addition, remove the logic that sets `"GRUB_DISABLE_RECOVERY"` when verity is enabled, since the logic can now handle multiple boot entries in the grub.cfg file when a single kernel is installed. Also, remove the requirement for `$kernelopts` to exist in the grub.cfg file, since this logic just complicates the code.
Image Customizer: Add tests for Azure Linux 3.0. (#10249) Allow the functional tests to accept both Azure Linux 2.0 and 3.0 image versions as input. Then, for the features that have different behavior based on the image version, ensure the tests for those features cover both image versions.
PreviousNext