e0d3d1530f
* Added deviceinfo to initramfs * init.sh.in: removed @MODULES@ variable * Add and describe new copy_files parameter for changing file mode bits
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
pkgname=postmarketos-mkinitfs
|
|
pkgver=0.3.3
|
|
pkgrel=4
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
|
url="https://github.com/postmarketOS"
|
|
# multipath-tools: kpartx
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash device-mapper parted e2fsprogs e2fsprogs-extra"
|
|
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*"
|
|
source="init.sh.in init_functions.sh mkinitfs.sh"
|
|
arch="noarch"
|
|
license="GPL2"
|
|
provides="mkinitfs=0.0.1"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir/usr/share/postmarketos-mkinitfs/"
|
|
for file in init.sh.in init_functions.sh; do
|
|
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/"
|
|
}
|
|
sha512sums="8607f772b1e5854cde27f6d7df3ce083095eb2e13d13c5ef59f0b5820777220cd0f22019a888e5aa884a8833646813e85bf4e94fbe2182a957ec528cc5bee355 init.sh.in
|
|
2331fe9a89ba58348b41fbfdeb6f4daeff3f6ef161d1b7582c3e900baba377fa9411efa0b052ea5c2ae22f75bc48f6b8f38dafad0bd836a0319906e70482898c init_functions.sh
|
|
c844c15fe19ff63e6578cf06d183e0f7178f429e341296e7cdb16674fbf8795e9ffcf9b292c3437cf817dc0199725bd74255b254ecaa77c5f3176c85508933e1 mkinitfs.sh"
|