Build sbctl-booster-extra (#1)
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 48s
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 48s
This flips on the right bits to build `sbctl-booster-extra` Reviewed-on: #1 Co-authored-by: Renaud Lepage <root@cybikbase.com> Co-committed-by: Renaud Lepage <root@cybikbase.com>
This commit is contained in:
parent
4396ce1326
commit
859808f09c
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
2
|
3
|
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
|
true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
find .
|
|
||||||
install -Dp -m755 ./packaging/pikaos/regenerate_uki "$(DESTDIR)/usr/sbin/regenerate_uki"
|
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-prerm "$(DESTDIR)/etc/kernel/prerm.d/regenerate_uki"
|
||||||
install -Dp -m755 ./packaging/pikaos/regenerate_uki-postinst "$(DESTDIR)/etc/kernel/postinst.d/zzz-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.
|
* Initial release.
|
||||||
|
|
||||||
|
9
debian/control
vendored
9
debian/control
vendored
@ -12,19 +12,16 @@ Architecture: linux-any
|
|||||||
Depends:
|
Depends:
|
||||||
${misc:Depends}, ${shlibs:Depends}, util-linux, binutils, sbctl, booster, pciutils, systemd-boot-efi, jq, systemd-ukify
|
${misc:Depends}, ${shlibs:Depends}, util-linux, binutils, sbctl, booster, pciutils, systemd-boot-efi, jq, systemd-ukify
|
||||||
Provides: sbctl-extra
|
Provides: sbctl-extra
|
||||||
Homepage: https://sauce.cybik.moe/pikaos/sbctl-booster-extra
|
Homepage: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
|
||||||
Vcs-Browser: https://sauce.cybik.moe/pikaos/sbctl-booster-extra
|
Vcs-Browser: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
|
||||||
Vcs-Git: https://sauce.cybik.moe/pikaos/sbctl-booster-extra.git
|
Vcs-Git: https://git.pika-os.com/boot-packages/sbctl-booster-extra/
|
||||||
Description: SecureBoot + Booster - Integration files
|
Description: SecureBoot + Booster - Integration files
|
||||||
The sbctl tool allows one to create keys for secure boot,
|
The sbctl tool allows one to create keys for secure boot,
|
||||||
securely enroll them, and keep track of files to sign
|
securely enroll them, and keep track of files to sign
|
||||||
and/or that have been signed.
|
and/or that have been signed.
|
||||||
|
|
||||||
The booster package is a fast initramfs builder used by
|
The booster package is a fast initramfs builder used by
|
||||||
PikaOS.
|
PikaOS.
|
||||||
|
|
||||||
This package contains extra files for sbctl and booster
|
This package contains extra files for sbctl and booster
|
||||||
integration into PikaOS systems, namely for:
|
integration into PikaOS systems, namely for:
|
||||||
|
|
||||||
* Automatic SecureBoot signing and cleanup when installing
|
* Automatic SecureBoot signing and cleanup when installing
|
||||||
or updating kernels
|
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:
|
#override_dh_clean:
|
||||||
# echo "disabled"
|
# echo "disabled"
|
||||||
|
|
||||||
#override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
# dh_auto_install
|
dh_auto_install
|
||||||
|
|
||||||
override_dh_usrlocal:
|
override_dh_usrlocal:
|
||||||
echo "disabled"
|
echo "disabled"
|
||||||
|
3
main.sh
3
main.sh
@ -17,6 +17,7 @@ UPSTREAM_NAME="booster"
|
|||||||
# Checkout and munch
|
# Checkout and munch
|
||||||
git clone https://github.com/ferrreo/booster.git "${UPSTREAM_NAME}"
|
git clone https://github.com/ferrreo/booster.git "${UPSTREAM_NAME}"
|
||||||
cp -rvf ./debian ./${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
|
# easier than figuring out the right way to override the prefix in the makefile
|
||||||
#sed -i "s/usr\/local/usr/" "${UPSTREAM_NAME}/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
|
apt-get build-dep ./ -y
|
||||||
|
|
||||||
# Build package
|
# Build package
|
||||||
dpkg-buildpackage --no-sign
|
dpkg-buildpackage --no-sign -b
|
||||||
|
|
||||||
popd || exit 2
|
popd || exit 2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user