2017-05-26 20:26:25 +00:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2020-03-10 00:23:14 +00:00
|
|
|
pkgver=0.10.1
|
2020-02-10 21:23:07 +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
|
2020-01-20 15:30:01 +00: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-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/"
|
|
|
|
}
|
2020-02-05 19:32:16 +00:00
|
|
|
|
2020-01-02 04:12:20 +00:00
|
|
|
sha512sums="1d49db8a48ad513cc548b8a0ea23cc64518e71c93863155b4e9d2271fb46090506331c03d6955d693c8568c248ecc76b218efe4a6f6bba57c41c5f6d775dc61b init.sh.in
|
2020-02-10 21:23:07 +00:00
|
|
|
315cc6e8a73f9984e6843395d68734d26ac2fffce34039ec5f229ebcd818bdb353318398d6c824cede5d0b36e13d7589a1f1d3295d8162279b5dc6a2b939da88 init_functions.sh
|
2020-03-10 00:23:14 +00:00
|
|
|
ca5689a3b15ccec4249b1c1fe110956b7119a7d159a289ac312b05447f2a469b8ec7731b6d29e0b232374eb4379cd1426b556dc31f09bd14b6fc6d1ae751b0c9 mkinitfs.sh"
|