kernel install hooks #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "cybik/booster:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automatic regen script!
0e115a6cd1
to76c12047be
76c12047be
todcf7caddf0
dcf7caddf0
to063e92cccb
@ -14,2 +14,4 @@
install -Dp -m755 ./update-initramfs "$(DESTDIR)/usr/lib/booster/update-initramfs"
install -Dp -m755 ./packaging/pikaos/regenerate_uki "$(DESTDIR)/usr/sbin/regenerate_uki"
install -Dp -m755 ./packaging/pikaos/regenerate_uki-prerm "$(DESTDIR)/etc/kernel/prerm.d/regenerate_uki"
install -Dp -m755 ./packaging/pikaos/regenerate_uki-postinst "$(DESTDIR)/etc/kernel/postinst.d/zzz-regenerate_uki"
These gonna run even when someone doesn't care about generating a uki?
Yes, but they're gonna fail through. I adjusted the scripts so that if the person does not have the required packages and executables (jq, sbctl) are not present, then the whole thing just falls through silently.
And one small bit to add.
The
postinst
script has a line specifically dealing with this:In short, even if
sbctl
is installed, unless sbctl reports itself as installed, the scripts don't do anything. If, however,sbctl
reports itself as installed, the scripts will assume the user will want to leverage auto-UKIfication as well as automatic secureboot UKI signing.82f0f96dc4
to9bb363bd35
9bb363bd35
to000b0dbf19
Checkout
From your project repository, check out a new branch and test the changes.