[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, August 25, 2022 @ 01:45:35 Author: anatolik Revision: 454489 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 454488, booster/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 454488, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-08-25 01:45:35 UTC (rev 454489) @@ -0,0 +1,65 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.9 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=( + 'busybox: to enable emergency shell at the boot time' + 'yubikey-personalization: for clevis Yubikey challenge-response support' + 'libfido2: for systemd-enroll with FIDO2' +) +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('1c7f00fb5a5d6682927506390e858efc09f46dc85d519d51455235cc558c9f957b9049cd628ef0f74054c67e01a4b9440ef206f94c06fe0cd43dbf496b059236') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/generator "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" + install -Dp -m755 contrib/completion/bash "$pkgdir/usr/share/bash-completion/completions/booster" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Friday, May 6, 2022 @ 22:08:55 Author: anatolik Revision: 444826 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 444825, booster/trunk/PKGBUILD) --+ PKGBUILD | 65 + 1 file changed, 65 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 444825, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-05-06 22:08:55 UTC (rev 444826) @@ -0,0 +1,65 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.8 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=( + 'busybox: to enable emergency shell at the boot time' + 'yubikey-personalization: for clevis Yubikey challenge-response support' + 'libfido2: for systemd-enroll with FIDO2' +) +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('41c189e59db9ed4ca654e2916843c51bcaa98a42b8cda355fa2ac8a806250b851dc460d150401b3a9c1ac79828f0dbb9d96bab796f8ba298c900360e593bf6a6') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/generator "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" + install -Dp -m755 contrib/completion/bash "$pkgdir/usr/share/bash-completion/completions/booster" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Saturday, January 22, 2022 @ 17:11:07 Author: anatolik Revision: 434907 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 434906, booster/trunk/PKGBUILD) --+ PKGBUILD | 72 + 1 file changed, 72 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 434906, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-01-22 17:11:07 UTC (rev 434907) @@ -0,0 +1,72 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.7 +pkgrel=2 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=( + 'busybox: to enable emergency shell at the boot time' + 'yubikey-personalization: for clevis Yubikey challenge-response support' + 'libfido2: for systemd-enroll with FIDO2' +) +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip + firmware_xz.patch::https://github.com/anatol/booster/commit/7fcf91dfa4a346896f7faa8c4996c7251d0585eb.patch +) +sha512sums=('1ba3a25af4b11213809db015ca7279d6283851f0391e01c113522fb974f907f4ccf8d0eb7fbe5a508a16213acaac0a31c03f8fedbab6c432db77b53ecbcc98d5' + '1e54b1b3dbdfcee8157aa7bc9d9633354ea0d49f3b5cdb68f191bb009a9dec7825df69bc5ff24239d0852991a563ef64535798f340794fa2fe0ac6e029dee844') + +prepare() { + cd booster-$pkgver + patch -p1 < ../firmware_xz.patch # https://github.com/anatol/booster/issues/127 +} + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, October 7, 2021 @ 17:00:10 Author: anatolik Revision: 425442 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 425441, booster/trunk/PKGBUILD) --+ PKGBUILD | 64 + 1 file changed, 64 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 425441, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-10-07 17:00:10 UTC (rev 425442) @@ -0,0 +1,64 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.7 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=( + 'busybox: to enable emergency shell at the boot time' + 'yubikey-personalization: for clevis Yubikey challenge-response support' + 'libfido2: for systemd-enroll with FIDO2' +) +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('1ba3a25af4b11213809db015ca7279d6283851f0391e01c113522fb974f907f4ccf8d0eb7fbe5a508a16213acaac0a31c03f8fedbab6c432db77b53ecbcc98d5') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, July 20, 2021 @ 17:03:48 Author: anatolik Revision: 420196 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 420195, booster/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 420195, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-07-20 17:03:48 UTC (rev 420196) @@ -0,0 +1,60 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.6 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=('busybox: to enable emergency shell at the boot time') +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('e17721c76b97355d738a888e4c1245e1b815710b3f41b7240f2254c0f337354757572b6ba8f97c13ecb278ad184a0014c6e526bfb7ed7a3bdd74aea64fef2ed7') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, May 9, 2021 @ 16:11:37 Author: anatolik Revision: 414874 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 414873, booster/trunk/PKGBUILD) --+ PKGBUILD | 60 1 file changed, 60 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 414873, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-05-09 16:11:37 UTC (rev 414874) @@ -0,0 +1,60 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.5 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=('busybox: to enable emergency shell at the boot time') +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('63c85ff3cce7072283ef906e3ff4f81a9702b5787addaf9de888cd13aaa2b6e5c040f2014689ffa6523cf29a587ed0c312584743573c0e0e59d3dff2f8b6db13') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + + install -Dp -m644 packaging/arch/90-booster-install.hook "$pkgdir/usr/share/libalpm/hooks/90-booster-install.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" + install -Dp -m644 packaging/arch/60-booster-remove.hook "$pkgdir/usr/share/libalpm/hooks/60-booster-remove.hook" + install -Dp -m755 packaging/arch/booster-remove "$pkgdir/usr/share/libalpm/scripts/booster-remove" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, April 1, 2021 @ 17:41:01 Author: anatolik Revision: 411393 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 411392, booster/trunk/PKGBUILD) --+ PKGBUILD | 57 + 1 file changed, 57 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 411392, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-04-01 17:41:01 UTC (rev 411393) @@ -0,0 +1,57 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.4 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go ruby-ronn-ng) +#checkdepends=(qemu-headless linux tang) +optdepends=('busybox: to enable emergency shell at the boot time') +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('4835dfa9da8e2f8d61b443f9642c975e71a86cf7d6750d51dff5c233ee941f314409b2d56a3bae3e13327ea715c6da60bf5dcde2e784c6dfe101e768b1304780') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw + + cd .. + ronn docs/manpage.md +} + +check() { + cd booster-$pkgver + + # (cd init; go test) + # (cd generator; go test) + + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # disable integration tests for now as it require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + mkdir "$pkgdir/etc/" + touch "$pkgdir/etc/booster.yaml" + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 docs/manpage.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m755 packaging/arch/regenerate_images "$pkgdir/usr/lib/booster/regenerate_images" + install -Dp -m644 packaging/arch/90-booster.hook "$pkgdir/usr/share/libalpm/hooks/90-booster.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Sunday, February 28, 2021 @ 18:19:56 Author: anatolik Revision: 408922 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 408921, booster/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 408921, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-02-28 18:19:56 UTC (rev 408922) @@ -0,0 +1,47 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.3 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='https://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go) +#checkdepends=(qemu-headless linux tang) +optdepends=('busybox: to enable emergency shell at the boot time') +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('b1d09c5fd096a7a3ec15750bf97b41cb642c1910a0242dbfb936bb8544f8c7e05d266dd3aba29030c89bd26227685a9f3f4ba39467273dad71c77956936e9f85') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw +} + +check() { + cd booster-$pkgver/tests + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # integration tests require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 generator/booster.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m644 packaging/arch/90-booster.hook "$pkgdir/usr/share/libalpm/hooks/90-booster.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" +}
[arch-commits] Commit in booster/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Wednesday, February 10, 2021 @ 05:10:11 Author: anatolik Revision: 407773 archrelease: copy trunk to testing-x86_64 Added: booster/repos/testing-x86_64/ booster/repos/testing-x86_64/PKGBUILD (from rev 407772, booster/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: booster/repos/testing-x86_64/PKGBUILD (from rev 407772, booster/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-02-10 05:10:11 UTC (rev 407773) @@ -0,0 +1,47 @@ +# Maintainer: Anatol Pomozov + +pkgname=booster +pkgver=0.2 +pkgrel=1 +pkgdesc='Fast and secure initramfs generator' +arch=(x86_64) +url='http://github.com/anatol/booster' +license=(MIT) +depends=(bash) +makedepends=(go) +#checkdepends=(qemu-headless linux tang) +optdepends=('busybox: to enable emergency shell at the boot time') +backup=(etc/booster.yaml) +provides=(initramfs) +source=(booster-$pkgver.zip::https://github.com/anatol/booster/archive/$pkgver.zip) +sha512sums=('f07c01b59744c87f0a45982de1bf3c6811963e7e1b8d21acd55a7dcea8c8f262ff3febe3da3cf2534564f66ac70d03fa6eb8b4c28d91da2c731c3f40b7429cd4') + +build() { + cd booster-$pkgver + + cd generator + CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ +go build -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" + + cd ../init + CGO_ENABLED=0 go build -trimpath -mod=readonly -modcacherw +} + +check() { + cd booster-$pkgver/tests + # arch chroot does not allow access to KVM + # TEST_DISABLE_KVM=1 go test -v # integration tests require a lot of time and space to build 10G images +} + +package() { + cd booster-$pkgver + install -Dp -m755 generator/booster "$pkgdir/usr/bin/booster" + install -Dp -m644 generator/booster.1 "$pkgdir/usr/share/man/man1/booster.1" + install -Dp -m755 init/init "$pkgdir/usr/lib/booster/init" + install -Dp -m644 packaging/arch/90-booster.hook "$pkgdir/usr/share/libalpm/hooks/90-booster.hook" + install -Dp -m755 packaging/arch/booster-install "$pkgdir/usr/share/libalpm/scripts/booster-install" +}