Rename package sys-kernel/firmware-xa000 to sys-kernel/firmware-xa000_0

To allow fine-grained firmware control over each operating system
running on each Inferencium system, split the firmware packages into
per-OS packages rather than per physical system.
This commit is contained in:
inference 2023-07-08 16:58:38 +01:00
parent 313482aa2a
commit f9fb58382b
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M
5 changed files with 22 additions and 52 deletions

View File

@ -1,2 +0,0 @@
DIST firmware-xa000-0.0.0.0.tar.gz 499676 BLAKE2B 2b4ec39697fe0e2736c357978f17eba249e2f850f9f363935e814d5c30c5ee28091a3f97980b967b745fae7a88ce707ba173694f66d45abec5d836ff29916e2e SHA512 87f6baf88de97562ec1d8d8c19ddb075dc32ec1d2aaa8b3428b3001d310ab3e122bcc4c296d6c58a3ccaaf1c0a96410825723b320a11545d87589b3cfe450980
DIST firmware-xa000-1.0.0.1.tar.gz 499695 BLAKE2B 093084f0b0bb0e5ecb25c387319e01c91e55c3d0803d0f5b67a80610ada7dab5a7171e896e8af4fc2a7ae66bd3be068dc37561ec5c6d2da73979c20a020becd0 SHA512 0fadca35eb2a4059777cd3666551a5d86dac90a28647dae7a44a6bdc30286a3df8b86d6f54393a37e72132b9637834ea0ce9aec5d523e4c1f2361a40b5a2e060

View File

@ -0,0 +1,2 @@
DIST firmware-xa000-0-0.0.0.0.tar.gz 499706 BLAKE2B efb7af4cb2622f60eb7d90993df7ab52d03838f4ff9393516f17e6c29c24f64fb3b92909cd57e007027035cbc534eacf87829fbe7d3822f2909b10f5346f3c78 SHA512 74bdf54be489edd714040ec8e35058774c8fe7a092980c0977e8d3a5e177c42d36ea2f6489930df0ea7128e0ef9dfb76faee97f8f039a004378a947fdbd54e53
DIST firmware-xa000-0-1.0.0.1.tar.gz 499732 BLAKE2B 98230dea5d780e9a149b25c664528dd6c4d4bded276997fd30246464bb161826b80bdf0024a3dd173b006cd86d3dd5a0f3b0464b370c2b02b3fce6406e9ed5c6 SHA512 9bb874561f96ed4fc96f991b1c2323475f3100ece6afd3b9ace34a41546d21e4ae67f3cbf7a70fb81e223fa442abcd91514b2e1045929f5abe2f809832431533

View File

@ -5,42 +5,26 @@
EAPI=8 EAPI=8
inherit linux-info mount-boot savedconfig multiprocessing inherit linux-info mount-boot savedconfig multiprocessing
# In case this is a real snapshot, fill in commit below. DESCRIPTION="Inferencium system xa000-0 firmware."
# For normal, tagged releases, leave blank HOMEPAGE="https://src.inferencium.net/Inferencium/firmware-xa000-0.git"
MY_COMMIT="" SRC_URI="https://src.inferencium.net/Inferencium/firmware-xa000-0/archive/firmware-xa000-0-${PV}.tar.gz"
## WORKDIR must use actual name of the tagged package directory; Portage package name limitations
if [[ ${PV} == 99999999* ]]; then ## prevent actual package name from being used
inherit git-r3 S="${WORKDIR}/firmware-xa000-0"
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" KEYWORDS="amd64"
else SLOT="0"
if [[ -n "${MY_COMMIT}" ]]; then
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_COMMIT}"
else
SRC_URI="https://src.inferencium.net/Inferencium/firmware-xa000/archive/${P}.tar.gz"
S="${WORKDIR}/firmware-xa000"
fi
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="Inferencium server Linux firmware."
HOMEPAGE="https://src.inferencium.net/Inferencium/firmware-xa000.git"
LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
redistributable? ( redistributable? (
linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) ) linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
unknown-license? ( all-rights-reserved )" unknown-license? ( all-rights-reserved )"
SLOT="0"
IUSE="compress initramfs +redistributable savedconfig unknown-license" IUSE="compress initramfs +redistributable savedconfig unknown-license"
REQUIRED_USE="initramfs? ( redistributable )" REQUIRED_USE="initramfs? ( redistributable )"
RESTRICT="binchecks strip test RESTRICT="binchecks strip test
unknown-license? ( bindist )" unknown-license? ( bindist )"
BDEPEND="initramfs? ( app-arch/cpio )" BDEPEND="initramfs? ( app-arch/cpio )"
#add anything else that collides to this
RDEPEND="!savedconfig? ( RDEPEND="!savedconfig? (
redistributable? ( redistributable? (
!sys-firmware/alsa-firmware[alsa_cards_ca0132] !sys-firmware/alsa-firmware[alsa_cards_ca0132]
@ -63,6 +47,7 @@ RDEPEND="!savedconfig? (
QA_PREBUILT="*" QA_PREBUILT="*"
pkg_setup() { pkg_setup() {
if ! use compress ; then if ! use compress ; then
return return

View File

@ -5,42 +5,26 @@
EAPI=8 EAPI=8
inherit linux-info mount-boot savedconfig multiprocessing inherit linux-info mount-boot savedconfig multiprocessing
# In case this is a real snapshot, fill in commit below. DESCRIPTION="Inferencium system xa000-0 firmware."
# For normal, tagged releases, leave blank HOMEPAGE="https://src.inferencium.net/Inferencium/firmware-xa000-0.git"
MY_COMMIT="" SRC_URI="https://src.inferencium.net/Inferencium/firmware-xa000-0/archive/firmware-xa000-0-${PV}.tar.gz"
## WORKDIR must use actual name of the tagged package directory; Portage package name limitations
if [[ ${PV} == 99999999* ]]; then ## prevent actual package name from being used
inherit git-r3 S="${WORKDIR}/firmware-xa000-0"
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git" KEYWORDS="amd64"
else SLOT="0"
if [[ -n "${MY_COMMIT}" ]]; then
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_COMMIT}"
else
SRC_URI="https://src.inferencium.net/Inferencium/firmware-xa000/archive/${P}.tar.gz"
S="${WORKDIR}/firmware-xa000"
fi
KEYWORDS="amd64 arm64"
fi
DESCRIPTION="Inferencium server Linux firmware."
HOMEPAGE="https://src.inferencium.net/Inferencium/firmware-xa000.git"
LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 ) LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
redistributable? ( redistributable? (
linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) ) linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
unknown-license? ( all-rights-reserved )" unknown-license? ( all-rights-reserved )"
SLOT="0"
IUSE="compress initramfs +redistributable savedconfig unknown-license" IUSE="compress initramfs +redistributable savedconfig unknown-license"
REQUIRED_USE="initramfs? ( redistributable )" REQUIRED_USE="initramfs? ( redistributable )"
RESTRICT="binchecks strip test RESTRICT="binchecks strip test
unknown-license? ( bindist )" unknown-license? ( bindist )"
BDEPEND="initramfs? ( app-arch/cpio )" BDEPEND="initramfs? ( app-arch/cpio )"
#add anything else that collides to this
RDEPEND="!savedconfig? ( RDEPEND="!savedconfig? (
redistributable? ( redistributable? (
!sys-firmware/alsa-firmware[alsa_cards_ca0132] !sys-firmware/alsa-firmware[alsa_cards_ca0132]
@ -63,6 +47,7 @@ RDEPEND="!savedconfig? (
QA_PREBUILT="*" QA_PREBUILT="*"
pkg_setup() { pkg_setup() {
if ! use compress ; then if ! use compress ; then
return return