bed8ab6427
The creates the linux-postmarketos package which for now supports the n900 (and probably the other maemo devices) and qemu with the vexpress-a9 machine simulation. I've put the generated dtbs in /usr/share/dtb for now and set the dtb field in the deviceinfo for the n900 and my new qemu device. * Introduced linux-postmarketos-omap * Unified kernel progress * Created kernel bootable with qemu * Updated n900 deviceinfo for generic kernel * Changed qemu device to vexpress * Updated APK comments and added linux-postmarketos-dev package * Append dtb in mkinitfs * Fixed bootscript on n900 for the generic kernel * Don't detect double flavors with -dtb appending * Added graphics drivers for vexpress (qemu) * Added more drivers for qemu This adds virtio network support in qemu for the vexpress-a9 machine. The keyboard and mouse don't work yet. You can boot into weston if --no-fde is specified
33 lines
1.5 KiB
Text
33 lines
1.5 KiB
Text
pkgname=postmarketos-mkinitfs
|
|
pkgver=0.1.8
|
|
pkgrel=0
|
|
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"
|
|
triggers="$pkgname.trigger=/etc/postmarketos-mkinitfs/hooks:/usr/share/kernel/*"
|
|
source="init.sh.in init_functions.sh mkinitfs.sh 10-usb-unlock.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/"
|
|
install -Dm644 "$srcdir/10-usb-unlock.sh" \
|
|
"$pkgdir/etc/postmarketos-mkinitfs/hooks/"
|
|
}
|
|
sha512sums="22418d8869448b456a775f03b18d7b4e13f3cac1129233ced42caf67c3aea4abcc6488fcba2acb5e20dd72f2a6da6419938ac44751a5ba175f02eab586573c43 init.sh.in
|
|
6d130be59507ad6c755ce8dfe345335e54b3891ca484e7865246ce69fe9d4e6441247acf6d17cc2ff414aaa0aca13fc28c8956b90f1626b784429adc3b5bf866 init_functions.sh
|
|
81d2782d0c4098dc503c52172a62ea90b6495d5a397f49c6a1544444e48f74e3645f17db6b710330ba70eb13defd81c47b9b5d1326146cbcd17bee59ff89b99d mkinitfs.sh
|
|
8129300894f0b91ba669c12df2e51fb8dd9a9366da26496523047782026714444f40037b88d3e56dc28e3049901c32bf2a4959390883dfbbff8cfa19bb82045f 10-usb-unlock.sh"
|