main/postmarketos-mkinitfs: upgrade to 1.5 (MR 3445)
This commit is contained in:
parent
6156f79976
commit
d28d2e4a96
2 changed files with 8 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
||||
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
|
||||
pkgname=postmarketos-mkinitfs
|
||||
pkgver=1.4.1
|
||||
pkgrel=12
|
||||
pkgver=1.5
|
||||
pkgrel=0
|
||||
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
||||
url="https://postmarketos.org"
|
||||
depends="
|
||||
|
@ -41,8 +41,8 @@ export GOPATH="$srcdir"
|
|||
export CGO_ENABLED=0
|
||||
|
||||
build() {
|
||||
# "-s -w" build a stripped binary
|
||||
go build -v -ldflags="-s -w"
|
||||
unset LDFLAGS # passed to Go as linker flags, which are invalid
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -55,13 +55,9 @@ package() {
|
|||
install -Dm644 "$srcdir/00-default.modules" \
|
||||
"$pkgdir/etc/postmarketos-mkinitfs/modules/00-default.modules"
|
||||
|
||||
install -Dm755 postmarketos-mkinitfs \
|
||||
"$pkgdir/sbin/postmarketos-mkinitfs"
|
||||
|
||||
ln -s /sbin/postmarketos-mkinitfs \
|
||||
"$pkgdir/sbin/mkinitfs"
|
||||
|
||||
mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
||||
|
||||
make PREFIX=/usr DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
check() {
|
||||
|
@ -69,7 +65,7 @@ check() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
f827acb0a10c0e5c1631f1b712e91fde7eb4ade0f1174eb2ef1754018bf4518ea1ad3229fd335c25fb0c6fe46ae20890f5cf43e58c8143ae17b5ab9bb36f0199 postmarketos-mkinitfs-1.4.1.tar.gz
|
||||
b5214a275b5bf553621a345400b74af6f24f620c706e23b8bbfe42d400e835268e846834480bb1b955fa91ba4357e4339fa0f05304ce3536bfd270d1f91633a2 postmarketos-mkinitfs-1.5.tar.gz
|
||||
20f110337113e8de8999cf2a064a93fea36821d5c216bfa4ba46ec1f83825638262b92fd7be29eee0a85a54a108b7315a96cbe30da8ae4419f54c2ed53bb08c7 00-default.modules
|
||||
ccdceaa710d97d6f57d8d66bfcbec448486d08083341712303f62123039f729229b88528308e411a308a2b90b81b60de89fe91143a6facbb11cbc9b4055eeaec init.sh
|
||||
9de283415732dacf2ed95432df0c41702a75b3fa36bff5aa115f66e4b8e1278eb7454f0ab1e10dfee2523f8a89ceb8ebcb5d4c3f221a7a983fe17589e720a127 init_functions.sh
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
/sbin/postmarketos-mkinitfs
|
||||
sync
|
||||
/usr/sbin/postmarketos-mkinitfs
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue