Build sbctl-booster-extra #1
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
booster/
|
||||
output/
|
||||
|
||||
sbctl-booster-extra_*
|
||||
pika-build-arch
|
||||
pika-build-config.sh
|
1
Makefile
1
Makefile
@ -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
2
debian/changelog
vendored
@ -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
9
debian/control
vendored
@ -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://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/
|
||||
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
4
debian/rules
vendored
@ -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"
|
||||
|
3
main.sh
3
main.sh
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user