~martijnbraam/almoports

8328063651d04470cf109643b7c00207c254d668 — Oliver Smith 8 months ago 80ab66c
device-qemu-amd64: add none kernel subpackage (MR 4148)

Add a dummy subpackage that does not install any kernel. This is useful
for testing 'pmbootstrap install' code quickly without actually
downloading and installing a kernel package.
1 files changed, 8 insertions(+), 2 deletions(-)

M device/main/device-qemu-amd64/APKBUILD
M device/main/device-qemu-amd64/APKBUILD => device/main/device-qemu-amd64/APKBUILD +8 -2
@@ 2,8 2,8 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
# Co-Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=device-qemu-amd64
pkgver=3
pkgrel=3
pkgver=4
pkgrel=0
pkgdesc="Simulated device in QEMU (x86_64)"
url="https://postmarketos.org"
arch="x86_64"


@@ 11,6 11,7 @@ license="MIT"
depends="postmarketos-base"
makedepends="devicepkg-dev"
subpackages="
	$pkgname-kernel-none:kernel_none
	$pkgname-kernel-lts:kernel_lts
	$pkgname-kernel-virt:kernel_virt
	$pkgname-kernel-edge:kernel_edge


@@ 52,6 53,11 @@ weston() {
		"$subpkgdir"/etc/xdg/weston/weston.ini
}

kernel_none() {
	pkgdesc="No kernel (does not boot! can be used during pmbootstrap testing to save time)"
	devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}

kernel_virt() {
	pkgdesc="Alpine Virt kernel (minimal, no audio)"
	depends="linux-virt"