a31244d28a
* Travis and Coveralls badges * aports: instead of <https://github.com/postmarketOS>, use <https://postmarketos.org> * References to full URLs to issues and pull requests replaced with a hash and the number * grsec check: simplify error message, remove link to github issue (nobody is using that anymore anyway)
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
pkgname=postmarketos-mkinitfs
|
|
pkgver=0.6.6
|
|
pkgrel=1
|
|
pkgdesc="Tool to generate initramfs images for postmarketOS"
|
|
url="https://postmarketos.org"
|
|
# multipath-tools: kpartx
|
|
depends="busybox-extras lddtree cryptsetup kmod multipath-tools postmarketos-splash
|
|
device-mapper parted e2fsprogs e2fsprogs-extra osk-sdl charging-sdl triggerhappy"
|
|
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"
|
|
options="!check"
|
|
|
|
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="d5abfe9a1298069e6722555c6e16223b09b36af65d879feb64d540aa6cbc009a3aa7f00528bcf656370ec37cc64f925c72ebb77813961cd6ebf22107b57ea029 init.sh.in
|
|
dfd07a3ac1aa8a2bd999b5e06cbba12f44675989cdd54da8e5a0b27740d21d66a0543887bd15b4b2359a84fe980d65fc954e3494cfe1043b33094c30a0bb082e init_functions.sh
|
|
3ecdf70c61fa862990b3afbec872f0498e0246017502aa22106782f8c5ef361902ad05473d6c2121db359f4f1d7e7a83da322e0d9f243825c4d1144358447164 mkinitfs.sh"
|