Compare commits

...

14 Commits

Author SHA1 Message Date
aa129a9efa Update pika-build-config/amd64-v3.sh 2024-11-15 17:30:49 +01:00
a00ec02426 Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 37s
2024-11-13 22:29:11 +01:00
f3a9ab9369 Update debian/changelog 2024-11-13 22:29:02 +01:00
d11dc1d7d7 Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 38s
2024-11-13 21:32:58 +01:00
636fa11cbe Update debian/changelog 2024-11-13 21:32:50 +01:00
ad77a5eccc Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 46s
2024-11-13 21:24:53 +01:00
f9bc30ebe3 Update debian/changelog 2024-11-13 21:24:47 +01:00
7f576b79fa Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 42s
2024-11-13 21:17:11 +01:00
04ca4abb7c Update debian/changelog 2024-11-13 21:17:01 +01:00
R L
3d8891b84d Force build
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 38s
2024-11-13 20:38:55 +01:00
29f85e48a2 Upstream bump (#2)
All checks were successful
PikaOS Package Build Only (amd64-v3) / build (push) Successful in 56s
sbctl has released

Reviewed-on: #2
Reviewed-by: ferreo <ferreo@noreply.pika>
Co-authored-by: Renaud Lepage <root@cybikbase.com>
Co-committed-by: Renaud Lepage <root@cybikbase.com>
2024-11-13 19:58:15 +01:00
7de6673763 Update .github/release-nest-v3
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 41s
2024-11-13 19:17:54 +01:00
b48510c76e Update debian/changelog 2024-11-13 19:17:43 +01:00
859808f09c Build sbctl-booster-extra (#1)
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>
2024-11-13 19:03:41 +01:00
8 changed files with 27 additions and 18 deletions

View File

@ -1 +1 @@
1
2

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"

8
debian/changelog vendored
View File

@ -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.

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

@ -6,7 +6,7 @@ set -e
echo "$PIKA_BUILD_ARCH" > pika-build-arch
VERSION="0.15.4"
VERSION="0.16"
# Who are we
PACKAGE_NAME="sbctl-booster-extra"
@ -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

View File

@ -1,10 +1,10 @@
#! /bin/bash
export PIKA_BUILD_ARCH="amd64-v3"
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_CFLAGS_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 -fuse-linker-plugin -falign-functions=32"
export DEB_CXXFLAGS_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 -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=auto"
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
export DEB_BUILD_OPTIONS="nocheck notest terse"
export DPKG_GENSYMBOLS_CHECK_LEVEL=0