From 6f5582e2c73728831817491a4cd58d6925da3c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Wed, 21 Jul 2021 17:04:17 -0300 Subject: [PATCH] New package: linux-base-2021.07.21 Base package to be used as dependency for linux and linux-lts. This way they can share the same code and users who want to stick with a given kernel version can just install that one and linux-base instead of needing the linux or linux-lts meta and ignorepkg dances. --- srcpkgs/linux-base/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/linux-base/template diff --git a/srcpkgs/linux-base/template b/srcpkgs/linux-base/template new file mode 100644 index 00000000000..249f21fa27f --- /dev/null +++ b/srcpkgs/linux-base/template @@ -0,0 +1,18 @@ +# Template file for 'linux-base' +pkgname=linux-base +version=2021.07.21 +revision=1 +build_style=meta +short_desc="Linux kernel base dependencies" +maintainer="Érico Nogueira " +license="Public Domain" +homepage="https://voidlinux.org/" + +case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) + depends="linux-firmware-amd linux-firmware-intel linux-firmware-nvidia linux-firmware-network dracut" + ;; + ppc*|armv7l*|aarch64*) + depends="linux-firmware-amd linux-firmware-nvidia linux-firmware-network dracut" + ;; +esac