2017-05-26 22:26:25 +02:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2019-10-09 17:10:22 +02:00
|
|
|
pkgver=0.7.17
|
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-10-09 17:10:22 +02:00
|
|
|
sha512sums="8be7f29394f8cd4e1c4b93f018f6314350f7e37e20d242c97284c1b112a106f882318a101bc0c70b391590b969023901580c677ee9f869850e90e69171a44e80 init.sh.in
|
2019-09-26 21:25:44 +02:00
|
|
|
39154fa1f4874d1bbe3b6fef20e15f6d353fd720a3b7a4fd2332bae7bff460a1546c7a220deaef1e10ed988731bceaefd2aaaee731961810728b511cd8fb8823 init_functions.sh
|
2019-10-09 17:10:22 +02:00
|
|
|
c9151771ffed846e88618e59e19f5bf6a9aa7d923de1194f3a9cd9d18fa3ed0d1e45622ecb81ef2d23295a25114dacf5cbdde5a23f8b4a376bf1f73cd8f3f0b3 mkinitfs.sh"
|