2017-05-26 22:26:25 +02:00
|
|
|
pkgname=postmarketos-mkinitfs
|
2018-04-24 21:09:53 +00:00
|
|
|
pkgver=0.6.4
|
2017-08-24 23:07:36 +02:00
|
|
|
pkgrel=0
|
2017-06-07 23:14:24 +02:00
|
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
2017-05-26 22:26:25 +02:00
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
# multipath-tools: kpartx
|
2018-03-05 23:59:23 +01:00
|
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash
|
|
|
|
device-mapper parted e2fsprogs e2fsprogs-extra osk-sdl charging-sdl triggerhappy"
|
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-04-24 21:09:53 +00:00
|
|
|
sha512sums="d5abfe9a1298069e6722555c6e16223b09b36af65d879feb64d540aa6cbc009a3aa7f00528bcf656370ec37cc64f925c72ebb77813961cd6ebf22107b57ea029 init.sh.in
|
|
|
|
3e0aee0f73db0087c1efc68b8e2855705b35bde8a55491b6b5ca8118f91fd15fd07a69d6dacdaf9dc372761f1ee9d330d5c4d51a797dcb5ae4ee1d6a893bff63 init_functions.sh
|
|
|
|
631007eb45fb2ec79532f746cda9d2f98e3d0853c0b0bdaed82e8f931fe3ddf9127274f200726fab8d3e41dbe0dfbab2c3ad359584218b04c2b07ef54f8b332b mkinitfs.sh"
|