Compare commits
14 Commits
feat/cybik
...
main
Author | SHA1 | Date | |
---|---|---|---|
aa129a9efa | |||
a00ec02426 | |||
f3a9ab9369 | |||
d11dc1d7d7 | |||
636fa11cbe | |||
ad77a5eccc | |||
f9bc30ebe3 | |||
7f576b79fa | |||
04ca4abb7c | |||
3d8891b84d | |||
29f85e48a2 | |||
7de6673763 | |||
b48510c76e | |||
859808f09c |
2
.github/build-nest-v3
vendored
2
.github/build-nest-v3
vendored
@ -1 +1 @@
|
|||||||
1
|
2
|
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"
|
||||||
|
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,4 +1,10 @@
|
|||||||
sbctl-booster-extra (0.0.1-101pika1) pika; urgency=low
|
sbctl-booster-extra (0.16.0-101pika5) pika; urgency=low
|
||||||
|
|
||||||
|
* Match new upstream release
|
||||||
|
|
||||||
|
-- cybik <root@cybik.moe> Wed, 13 Nov 2024 10:45:00 -0800
|
||||||
|
|
||||||
|
sbctl-booster-extra (0.15.4-101pika2) 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"
|
||||||
|
5
main.sh
5
main.sh
@ -6,7 +6,7 @@ set -e
|
|||||||
|
|
||||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||||
|
|
||||||
VERSION="0.15.4"
|
VERSION="0.16"
|
||||||
|
|
||||||
# Who are we
|
# Who are we
|
||||||
PACKAGE_NAME="sbctl-booster-extra"
|
PACKAGE_NAME="sbctl-booster-extra"
|
||||||
@ -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
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
export PIKA_BUILD_ARCH="amd64-v3"
|
export PIKA_BUILD_ARCH="amd64-v3"
|
||||||
export DEBIAN_FRONTEND="noninteractive"
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto=auto"
|
||||||
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||||
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||||
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
||||||
|
Loading…
Reference in New Issue
Block a user