Compare commits

...

3 Commits

Author SHA1 Message Date
5ee1329530
URLs 2024-11-13 10:01:20 -08:00
c9294ba0a3
Build trigger 2024-11-13 09:11:43 -08:00
d2b6fc7262
Functional package 2024-11-13 09:10:35 -08:00
7 changed files with 15 additions and 12 deletions

View File

@ -1 +1 @@
2
3

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
booster/
output/
sbctl-booster-extra_*
pika-build-arch
pika-build-config.sh

View File

@ -2,7 +2,6 @@ all:
true
install:
find .
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"

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
sbctl-booster-extra (0.0.1-101pika1) pika; urgency=low
sbctl-booster-extra (0.15.4-101pika1) pika; urgency=low
* Initial release.

9
debian/control vendored
View File

@ -12,19 +12,16 @@ Architecture: linux-any
Depends:
${misc:Depends}, ${shlibs:Depends}, util-linux, binutils, sbctl, booster, pciutils, systemd-boot-efi, jq, systemd-ukify
Provides: sbctl-extra
Homepage: https://sauce.cybik.moe/pikaos/sbctl-booster-extra
Vcs-Browser: https://sauce.cybik.moe/pikaos/sbctl-booster-extra
Vcs-Git: https://sauce.cybik.moe/pikaos/sbctl-booster-extra.git
Homepage: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
Vcs-Browser: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
Vcs-Git: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
Description: SecureBoot + Booster - Integration files
The sbctl tool allows one to create keys for secure boot,
securely enroll them, and keep track of files to sign
and/or that have been signed.
The booster package is a fast initramfs builder used by
PikaOS.
This package contains extra files for sbctl and booster
integration into PikaOS systems, namely for:
* Automatic SecureBoot signing and cleanup when installing
or updating kernels

4
debian/rules vendored
View File

@ -51,8 +51,8 @@ export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
#override_dh_clean:
# echo "disabled"
#override_dh_auto_install:
# dh_auto_install
override_dh_auto_install:
dh_auto_install
override_dh_usrlocal:
echo "disabled"

View File

@ -17,6 +17,7 @@ UPSTREAM_NAME="booster"
# Checkout and munch
git clone https://github.com/ferrreo/booster.git "${UPSTREAM_NAME}"
cp -rvf ./debian ./${UPSTREAM_NAME}/
cp -vf ./Makefile ./booster/
# easier than figuring out the right way to override the prefix in the makefile
#sed -i "s/usr\/local/usr/" "${UPSTREAM_NAME}/Makefile"
@ -30,7 +31,7 @@ LOGNAME=root dh_make --createorig -y -l -p ${PACKAGE_NAME}_"$VERSION" || echo "d
apt-get build-dep ./ -y
# Build package
dpkg-buildpackage --no-sign
dpkg-buildpackage --no-sign -b
popd || exit 2