2017-05-26 20:26:25 +00:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2019-11-05 18:28:30 +00:00
|
|
|
pkgver=0.7.21
|
2019-01-10 06:24:51 +00:00
|
|
|
pkgrel=0
|
2017-06-07 21:14:24 +00:00
|
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2017-05-26 20:26:25 +00:00
|
|
|
# multipath-tools: kpartx
|
2018-03-05 22:59:23 +00: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-12 22:55:49 +00:00
|
|
|
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*"
|
2017-07-28 18:51:21 +00:00
|
|
|
source="init.sh.in init_functions.sh mkinitfs.sh"
|
2017-05-26 20:26:25 +00:00
|
|
|
arch="noarch"
|
|
|
|
license="GPL2"
|
|
|
|
provides="mkinitfs=0.0.1"
|
2017-11-19 14:25:10 +00:00
|
|
|
options="!check"
|
2017-05-26 20:26:25 +00:00
|
|
|
|
|
|
|
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/"
|
|
|
|
}
|
2019-10-09 15:10:22 +00:00
|
|
|
sha512sums="8be7f29394f8cd4e1c4b93f018f6314350f7e37e20d242c97284c1b112a106f882318a101bc0c70b391590b969023901580c677ee9f869850e90e69171a44e80 init.sh.in
|
2019-11-05 18:28:30 +00:00
|
|
|
3c20fdfd4b06a975a0ebcf8f335a56028e0f58109078f0312f7b62eec4e0874e53aef7e538d6e6770f7bae6441166770795c32ee833569eda856239aeb44022b init_functions.sh
|
2019-10-21 15:30:04 +00:00
|
|
|
3f918f8b5967b73e507c2ddf36dccc24fee98298f05ca23e22605400de95137f8877e09769616e7db388557c645fb45c03e1e6b5bab815ec9f853c318f0431f1 mkinitfs.sh"
|