Add new kernel branches metapackages
Users now will be able to install an older LTS kernel for older hardware (linux-legacy-cereus), and the current mainline kernel for newer hardware and features (linux-mainline-cereus). The legacy metapackage now will be the default for i686 setups, while x86_64 remains using the latest LTS kernel.
This commit is contained in:
parent
08f5110b45
commit
c11264e1a5
5 changed files with 37 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-cereus'
|
# Template file for 'base-cereus'
|
||||||
pkgname=base-cereus
|
pkgname=base-cereus
|
||||||
version=2023.02.14
|
version=2023.11.12
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
repository=cereus-core
|
repository=cereus-core
|
||||||
|
@ -25,5 +25,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*|ppc*) depends+=" linux-default-cereus";;
|
x86_64*|ppc*) depends+=" linux-default-cereus";;
|
||||||
|
i686*) depends +=" linux-legacy-cereus" ;;
|
||||||
esac
|
esac
|
||||||
|
|
1
srcpkgs/linux-legacy-cereus-headers
Symbolic link
1
srcpkgs/linux-legacy-cereus-headers
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
linux-legacy-cereus
|
16
srcpkgs/linux-legacy-cereus/template
Normal file
16
srcpkgs/linux-legacy-cereus/template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'linux-legacy-cereus'
|
||||||
|
pkgname=linux-legacy-cereus
|
||||||
|
version=4.19
|
||||||
|
revision=1
|
||||||
|
build_style=meta
|
||||||
|
repository="cereus-core"
|
||||||
|
depends="linux${version} linux-base"
|
||||||
|
short_desc="Cereus Linux legacy kernel meta package"
|
||||||
|
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
||||||
|
license="Public Domain"
|
||||||
|
homepage="http://CereusLinuxProject.github.io/"
|
||||||
|
|
||||||
|
linux-legacy-cereus-headers_package() {
|
||||||
|
short_desc="Cereus Linux default kernel headers meta package"
|
||||||
|
depends="linux${version}-headers"
|
||||||
|
}
|
1
srcpkgs/linux-mainline-cereus-headers
Symbolic link
1
srcpkgs/linux-mainline-cereus-headers
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
linux-mainline-cereus
|
16
srcpkgs/linux-mainline-cereus/template
Normal file
16
srcpkgs/linux-mainline-cereus/template
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Template file for 'linux-mainline-cereus'
|
||||||
|
pkgname=linux-mainline-cereus
|
||||||
|
version=6.6
|
||||||
|
revision=1
|
||||||
|
build_style=meta
|
||||||
|
repository="cereus-core"
|
||||||
|
depends="linux${version} linux-base"
|
||||||
|
short_desc="Cereus Linux mainline kernel meta package"
|
||||||
|
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
||||||
|
license="Public Domain"
|
||||||
|
homepage="http://CereusLinuxProject.github.io/"
|
||||||
|
|
||||||
|
linux-legacy-cereus-headers_package() {
|
||||||
|
short_desc="Cereus Linux default kernel headers meta package"
|
||||||
|
depends="linux${version}-headers"
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue