2017-05-26 20:26:25 +00:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2017-07-23 12:50:40 +00:00
|
|
|
pkgver=0.1.8
|
2017-07-27 18:03:07 +00:00
|
|
|
pkgrel=1
|
2017-06-07 21:14:24 +00:00
|
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
2017-05-26 20:26:25 +00:00
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
# multipath-tools: kpartx
|
2017-07-23 12:50:40 +00:00
|
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash"
|
2017-06-12 22:55:49 +00:00
|
|
|
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*"
|
2017-07-23 12:50:40 +00:00
|
|
|
source="init.sh.in init_functions.sh mkinitfs.sh 10-usb-unlock.sh"
|
2017-05-26 20:26:25 +00:00
|
|
|
arch="noarch"
|
|
|
|
license="GPL2"
|
|
|
|
provides="mkinitfs=0.0.1"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir/usr/share/postmarketos-mkinitfs/"
|
2017-07-23 12:50:40 +00:00
|
|
|
for file in init.sh.in init_functions.sh; do
|
2017-05-26 20:26:25 +00:00
|
|
|
install -Dm644 "$srcdir/$file" \
|
|
|
|
"$pkgdir/usr/share/postmarketos-mkinitfs/$file"
|
|
|
|
done
|
|
|
|
install -Dm755 "$srcdir/mkinitfs.sh" \
|
|
|
|
"$pkgdir/sbin/mkinitfs"
|
|
|
|
mkdir -p "$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
|
|
|
install -Dm644 "$srcdir/10-usb-unlock.sh" \
|
|
|
|
"$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
|
|
|
}
|
2017-07-27 18:03:07 +00:00
|
|
|
sha512sums="0bb930b74acec8fd31bff4893a548e4be4a2fdebb79e10804381eb277fa3db95f3a963268ef79c36c8979371349488218a275c28385ace51dd0f5640c980880a init.sh.in
|
2017-07-19 18:05:34 +00:00
|
|
|
6d130be59507ad6c755ce8dfe345335e54b3891ca484e7865246ce69fe9d4e6441247acf6d17cc2ff414aaa0aca13fc28c8956b90f1626b784429adc3b5bf866 init_functions.sh
|
2017-07-25 20:08:35 +00:00
|
|
|
81d2782d0c4098dc503c52172a62ea90b6495d5a397f49c6a1544444e48f74e3645f17db6b710330ba70eb13defd81c47b9b5d1326146cbcd17bee59ff89b99d mkinitfs.sh
|
2017-07-23 12:50:40 +00:00
|
|
|
8129300894f0b91ba669c12df2e51fb8dd9a9366da26496523047782026714444f40037b88d3e56dc28e3049901c32bf2a4959390883dfbbff8cfa19bb82045f 10-usb-unlock.sh"
|