mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/candyboot: new aport
UEFI stub for bundling a kernel, cmdline and initrd from a single UEFI executable. See: https://git.sr.ht/~whynothugo/candyboot
This commit is contained in:
parent
3b94e7f929
commit
cbea6f3213
1 changed files with 30 additions and 0 deletions
30
testing/candyboot/APKBUILD
Normal file
30
testing/candyboot/APKBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
||||
pkgname=candyboot
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="UEFI stub for bundling a kernel, cmdline and initrd from a single UEFI executable"
|
||||
url="https://git.sr.ht/~whynothugo/candyboot"
|
||||
arch="x86_64"
|
||||
license="ISC"
|
||||
makedepends="cargo rust-uefi"
|
||||
source="candyboot-$pkgver.tar.gz::https://git.sr.ht/~whynothugo/candyboot/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-v$pkgver"
|
||||
options="net !check !archcheck" # fetch dependencies, no tests, false positive (efi binary)
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
build() {
|
||||
make build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" PREFIX="/usr" make install --trace
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
c07dfc1ac091f671f36e8e1a441fc0f91f58fb1606500226e5b25e38bd1efc9e7e8114db199adf38bd60d8733c4fe344f22d960c54d4048a668706fc1ca0021b candyboot-0.1.0.tar.gz
|
||||
"
|
Loading…
Add table
Add a link
Reference in a new issue