2017-05-26 22:26:25 +02:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2017-11-19 15:25:10 +01:00
|
|
|
pkgver=0.5.4
|
2017-08-24 23:07:36 +02:00
|
|
|
pkgrel=0
|
2017-06-07 23:14:24 +02:00
|
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
2017-05-26 22:26:25 +02:00
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
# multipath-tools: kpartx
|
2017-10-14 18:10:12 +00:00
|
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash device-mapper parted e2fsprogs e2fsprogs-extra osk-sdl"
|
2017-06-13 00:55:49 +02:00
|
|
|
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*"
|
2017-07-28 20:51:21 +02:00
|
|
|
source="init.sh.in init_functions.sh mkinitfs.sh"
|
2017-05-26 22:26:25 +02:00
|
|
|
arch="noarch"
|
|
|
|
license="GPL2"
|
|
|
|
provides="mkinitfs=0.0.1"
|
2017-11-19 15:25:10 +01:00
|
|
|
options="!check"
|
2017-05-26 22:26:25 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir/usr/share/postmarketos-mkinitfs/"
|
2017-07-23 14:50:40 +02:00
|
|
|
for file in init.sh.in init_functions.sh; do
|
2017-05-26 22:26:25 +02: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/"
|
|
|
|
}
|
2017-09-29 17:22:20 +02:00
|
|
|
sha512sums="e1849a13ee696e76dc6c734eda984bcc6a6e2e3d8a62a4df0778a8e338dc0bf9d967fa263ae6e57c14a0cb516c6004c6e251262a1711ad47f1ce4c622727a1d7 init.sh.in
|
2017-11-04 23:54:42 +01:00
|
|
|
1512d052890d6d8528f6dbca90eacd76664b56a00c24c980a5be900fdf290f24dbf42c8f3ebf43ea2c832046b4a81ed5d69401ddf5cea2516f8265b083a15ff3 init_functions.sh
|
2017-11-19 15:25:10 +01:00
|
|
|
76d0f11fbd7207e3fc7382d2cc554c280a015157b182fe6ddfc31d861066cfba2be39ebc05970207853c9fae81f950c361cae4aaeafff0873ce99f2c3268ad8f mkinitfs.sh"
|