Adding grs sergiotarxz v0.2

This commit is contained in:
sergiotarxz 2022-05-03 23:05:52 +02:00
parent 83a3404d53
commit b2cdecd637
2 changed files with 66 additions and 0 deletions

View File

@ -1,3 +1,5 @@
DIST ISO-1.tar.gz 2887967 BLAKE2B 0ae9d9c4078974316d6865a8601705f7c69c8305d8401835bfa544d14a90b3688ea6b881a1c07bcb969fe2b15f210d05f114ebaf3af5ba6f1ae3705d395f1603 SHA512 50bd9bcaa3d1900763936beb4801fd9e5cb963e39d51c39c9cc9a8d160469db1b0c6fffae01bbb5d5d5c6d4e42d84a6c499c465bbdd964835c2d190785eed52d DIST ISO-1.tar.gz 2887967 BLAKE2B 0ae9d9c4078974316d6865a8601705f7c69c8305d8401835bfa544d14a90b3688ea6b881a1c07bcb969fe2b15f210d05f114ebaf3af5ba6f1ae3705d395f1603 SHA512 50bd9bcaa3d1900763936beb4801fd9e5cb963e39d51c39c9cc9a8d160469db1b0c6fffae01bbb5d5d5c6d4e42d84a6c499c465bbdd964835c2d190785eed52d
DIST grs-0.1.tar.gz 36442 BLAKE2B b66f65c5680d843faf5bd7d04d8d10d17e765906f3c88df1a617973fc2691b8db5a030894085925128d0d1a16a9d52ed3e68dc312a592e68f2b85df12f5f362a SHA512 0beb3d1d39c0e708f257369205ad97d9a014dd4b11bafc77eda56efe020505047f4469c50fa44b768d5df363b7c9a5d23cad1092e384163d4c8781b9e916b78c DIST grs-0.1.tar.gz 36442 BLAKE2B b66f65c5680d843faf5bd7d04d8d10d17e765906f3c88df1a617973fc2691b8db5a030894085925128d0d1a16a9d52ed3e68dc312a592e68f2b85df12f5f362a SHA512 0beb3d1d39c0e708f257369205ad97d9a014dd4b11bafc77eda56efe020505047f4469c50fa44b768d5df363b7c9a5d23cad1092e384163d4c8781b9e916b78c
DIST grs-0.2.tar.gz 36462 BLAKE2B 875d4eecbb7c95d23587faada729ed1b3653038c575f4d4ad044790e634e6500210b8b22fa17523b779ca0c27923349d1d18bb6f961512853309a1ccf4d72a70 SHA512 debc8903ed800b95a063da7635908e7eff76a28837ef1b6b42a6baac21ecf50b44a1b5ec82ad8eb4b0d1d2879267619a82db48ecc88775b8a8099b0fa0bd99f6
EBUILD grs-0.1.ebuild 1439 BLAKE2B 47fdc47bfddcb6dfc9bbb8e0f85c81abe34207ca7bc6fa6efd9d35ce7f24f5bc37982d568d2deb3341d0be05edd42d6db9828f17b2f0a0c52214f1396641c3d3 SHA512 6d9424608b9e7e904b0ebeba98232da5fc19fed0f8535906dfdb8214352c8662e29c3688b9915e451c7803a7ef1e682caa62d49b3bd59f5df32a9c91ce0bea43 EBUILD grs-0.1.ebuild 1439 BLAKE2B 47fdc47bfddcb6dfc9bbb8e0f85c81abe34207ca7bc6fa6efd9d35ce7f24f5bc37982d568d2deb3341d0be05edd42d6db9828f17b2f0a0c52214f1396641c3d3 SHA512 6d9424608b9e7e904b0ebeba98232da5fc19fed0f8535906dfdb8214352c8662e29c3688b9915e451c7803a7ef1e682caa62d49b3bd59f5df32a9c91ce0bea43
EBUILD grs-0.2.ebuild 1439 BLAKE2B 47fdc47bfddcb6dfc9bbb8e0f85c81abe34207ca7bc6fa6efd9d35ce7f24f5bc37982d568d2deb3341d0be05edd42d6db9828f17b2f0a0c52214f1396641c3d3 SHA512 6d9424608b9e7e904b0ebeba98232da5fc19fed0f8535906dfdb8214352c8662e29c3688b9915e451c7803a7ef1e682caa62d49b3bd59f5df32a9c91ce0bea43

View File

@ -0,0 +1,64 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8,9} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1 linux-info
ISO="ISO-1.tar.gz"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/sergiotarxz/grss.git"
SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${ISO}"
inherit git-r3
else
SRC_URI="https://github.com/sergiotarxz/grss/archive/refs/tags/sergiotarxz-v${PV}.tar.gz -> $PN-$PV.tar.gz
https://dev.gentoo.org/~blueness/${PN}/${ISO}"
KEYWORDS="amd64 arm arm64 x86"
fi
S="${WORKDIR}/grss-sergiotarxz-v$PV"
DESCRIPTION="Suite to build Gentoo Reference Systems"
HOMEPAGE="https://dev.gentoo.org/~blueness/grs"
LICENSE="GPL-2"
SLOT="0"
IUSE="server"
DEPEND=""
RDEPEND="
sys-apps/portage
server? (
app-arch/tar[xattr]
app-cdr/cdrtools
app-crypt/md5deep
dev-libs/libcgroup
dev-vcs/git
net-misc/rsync
sys-fs/squashfs-tools
|| (
sys-kernel/genkernel
sys-kernel/genkernel-next
)
)"
pkg_setup() {
if use server; then
local CONFIG_CHECK="~CGROUPS"
local ERROR_CGROUPS="WARNING: grsrun requires CONFIG_CGROUPS enabled in the kernel."
linux-info_pkg_setup
fi
}
src_install() {
distutils-r1_src_install
echo "CONFIG_PROTECT=\"/etc/grs/systems.conf\"" > "${T}"/20grs
doenvd "${T}"/20grs
if use server; then
mkdir "${D}"/usr/share/${PN}
cp "${DISTDIR}"/${ISO} "${D}"/usr/share/${PN}
fi
}