mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
livecd-tools: add our version
This commit is contained in:
parent
3de66f01df
commit
45980bd377
1 changed files with 52 additions and 0 deletions
52
app-misc/livecd-tools/livecd-tools-9999.ebuild
Normal file
52
app-misc/livecd-tools/livecd-tools-9999.ebuild
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~williamh/dist/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="pentoo"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/baselayout-2
|
||||
>=sys-apps/openrc-0.8.2-r1
|
||||
dev-util/dialog
|
||||
net-dialup/mingetty
|
||||
sys-apps/gawk
|
||||
sys-apps/pciutils
|
||||
sys-apps/sed
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "This package is designed for use on the LiveCD only and will do"
|
||||
ewarn "unspeakably horrible and unexpected things on a normal system."
|
||||
ewarn "YOU HAVE BEEN WARNED!!!"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use pentoo; then
|
||||
sed -i 's/2 3 4 5 6//' init.d/fixinittab
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doconfd conf.d/*
|
||||
doinitd init.d/*
|
||||
dosbin net-setup
|
||||
into /
|
||||
dosbin livecd-functions.sh
|
||||
}
|
||||
Loading…
Reference in a new issue