Closed ispanos closed 3 years ago
Hi,
Upgrade
also triggers when the version is downgraded. See alpm-hooks(5)
:
Installations are considered an upgrade if the package or file is already present on the system regardless of whether the new package version is actually greater than the currently installed version.
Regarding tests: The test suite should be such that it can run automatically on Github Actions or locally. This would likely use pacstrap
and arch-chroot
for each individual test, and wouldn't attempt any actual booting, but just verify state after running sbupdate
. A more advanced version would boot the result using QEMU with OVMF firmware.
Alright, I'll keep it in mind and I might open a new issue if I think of something.
Forgive my ignorance, I've just managed to boot my first unified kernel image. I found this repo from this page and I am wondering if there should be a trigger for downgrades. I'm not sure how
Operation = Upgrade
works whenTarget=
is a file.Regarding
Add tests (how?)
, how can I contact you? I've been working on an ansible playbook to configure the installation process. I might be able to work something out using btrfs snapshots, combined withtimeshift-autosnap
. There's alsogrub-btrfs
, which creates new grub entries for snapshots. There may be a way to modify it and create new Grub entries for new images.