Skip to content

Commit

Permalink
booster: update to 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo authored and ahesford committed Jan 16, 2024
1 parent 5debbce commit 96bad06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 137 deletions.
40 changes: 0 additions & 40 deletions srcpkgs/booster/patches/fix-target-dir.patch

This file was deleted.

85 changes: 0 additions & 85 deletions srcpkgs/booster/patches/symlink.patch

This file was deleted.

19 changes: 7 additions & 12 deletions srcpkgs/booster/template
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
# Template file for 'booster'
pkgname=booster
version=0.10
revision=2
version=0.11
revision=1
build_style=go
go_import_path=github.com/anatol/booster
go_package="${go_import_path}/generator"
hostmakedepends="git ruby-ronn"
depends="busybox-static"
short_desc="Fast and secure initramfs generator"
maintainer="travankor <[email protected]>"
license="MIT"
homepage="https://github.com/anatol/booster"
distfiles="https://github.com/anatol/booster/archive/${version}.tar.gz"
checksum=27a7e40135ceb5504438ce0a45108ef955f5ece197932acc7686fd6c0254565c
checksum=2f111b1729143c38ec287e5567ae9f57e0fb8118cc11afa22657da8ac9b0105a
conf_files="/etc/booster.yaml"
alternatives="
initramfs:/etc/kernel.d/post-install/20-initramfs:/usr/libexec/booster/kernel-hook-postinst
initramfs:/etc/kernel.d/post-remove/20-initramfs:/usr/libexec/booster/kernel-hook-postrm
"
export GOFLAGS="-buildmode=pie"

_build_component() {
go install -p "$XBPS_MAKEJOBS" -mod=readonly -x
}

do_build() {
( cd generator && _build_component )
( cd init && CGO_ENABLED=0 _build_component )

post_build() {
( cd init && CGO_ENABLED=0 go install -p "${XBPS_MAKEJOBS}" -mod=readonly -v -buildmode=default )
ronn docs/manpage.md

echo "busybox: true" > booster.yaml
}

Expand Down

0 comments on commit 96bad06

Please sign in to comment.