2017-05-26 22:26:25 +02:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2019-09-26 21:25:44 +02:00
|
|
|
pkgver=0.7.16
|
2019-01-09 22:24:51 -08:00
|
|
|
pkgrel=0
|
2017-06-07 23:14:24 +02:00
|
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
2018-06-30 09:00:48 +02:00
|
|
|
url="https://postmarketos.org"
|
2017-05-26 22:26:25 +02:00
|
|
|
# multipath-tools: kpartx
|
2018-03-05 23:59:23 +01:00
|
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash
|
2019-04-30 17:12:33 +00:00
|
|
|
device-mapper parted e2fsprogs e2fsprogs-extra osk-sdl charging-sdl triggerhappy xz bzip2 lz4"
|
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/"
|
|
|
|
}
|
2018-10-10 20:11:20 +02:00
|
|
|
|
2019-07-21 12:21:24 +02:00
|
|
|
sha512sums="3b7d697381a45a6a165d195d25a26e71773794ebc4a0d8b425321e5bb68a02405028d9712848982b2573474b7b1ee2560091c41f7f51b9e2e962eeb5204a72aa init.sh.in
|
2019-09-26 21:25:44 +02:00
|
|
|
39154fa1f4874d1bbe3b6fef20e15f6d353fd720a3b7a4fd2332bae7bff460a1546c7a220deaef1e10ed988731bceaefd2aaaee731961810728b511cd8fb8823 init_functions.sh
|
2019-08-25 10:38:00 +03:00
|
|
|
77ed5cd5eed0156b3018ec9f9f68f97601f20f5d2aee2a4a7d2f5a51804212188f75f4f57b105034f016c9d1c02c4a46694bfa3e5fc27a013f7cb5a2a392ddff mkinitfs.sh"
|