2017-05-26 22:26:25 +02:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2020-02-24 11:53:59 +01:00
|
|
|
pkgver=0.9.2
|
2020-02-25 22:39:02 +05:00
|
|
|
pkgrel=1
|
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
|
2020-01-20 16:30:01 +01:00
|
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools
|
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/"
|
|
|
|
}
|
2020-02-05 20:32:16 +01:00
|
|
|
|
2020-01-01 20:12:20 -08:00
|
|
|
sha512sums="1d49db8a48ad513cc548b8a0ea23cc64518e71c93863155b4e9d2271fb46090506331c03d6955d693c8568c248ecc76b218efe4a6f6bba57c41c5f6d775dc61b init.sh.in
|
|
|
|
3bcec7b35ced7e87c301f71a892e54aa40983396e2ebaa3c8cbd84c91f711b3ca0e30fbc3104b1a1018ec1af51844ba90a63d380359b51db6242562d21776ed0 init_functions.sh
|
2020-02-24 11:53:59 +01:00
|
|
|
7f7e32588a3658f707a483e2a14ec20396dfabd25f5e86ef2be3055e05ddafcba1285dc9b233c4cdf47424eb71f35dfdc8fd2dc92ff0c76b970981bdfc576475 mkinitfs.sh"
|