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.
This commit is contained in:
Oliver Smith 2023-06-02 13:21:27 +02:00 committed by Newbyte
parent 80ab66cd2a
commit 8328063651
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02

View file

@ -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"