diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-06 21:19:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-06 21:19:31 +0000 |
commit | 16ce8b58442c84885d487e74d8049a36c626e5eb (patch) | |
tree | 5afab02d177dd0740648adf170b75197c8fab413 /sys-apps/netboot-base | |
parent | Added to ~amd64. (diff) | |
download | historical-16ce8b58442c84885d487e74d8049a36c626e5eb.tar.gz historical-16ce8b58442c84885d487e74d8049a36c626e5eb.tar.bz2 historical-16ce8b58442c84885d487e74d8049a36c626e5eb.zip |
auto-create directories for us
Diffstat (limited to 'sys-apps/netboot-base')
-rw-r--r-- | sys-apps/netboot-base/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/netboot-base/netboot-base-20041006.ebuild | 16 |
2 files changed, 16 insertions, 8 deletions
diff --git a/sys-apps/netboot-base/Manifest b/sys-apps/netboot-base/Manifest index 60a5df3ab8d1..160902c192e0 100644 --- a/sys-apps/netboot-base/Manifest +++ b/sys-apps/netboot-base/Manifest @@ -2,13 +2,13 @@ Hash: SHA1 MD5 454ecf5e0751c31ac8d3bbbde27d0d30 ChangeLog 280 -MD5 a3f943a043e5a75a8395647db7f494bf netboot-base-20041006.ebuild 590 +MD5 851339ab78e74bf21960f2efc2e7fcb9 netboot-base-20041006.ebuild 755 MD5 607dc51d1f0bcebda4b8fe238ddb7734 metadata.xml 286 MD5 bc230c15850cb66aee1f3015d6f88348 files/digest-netboot-base-20041006 72 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBZDj+HTu7gpaalycRAoz8AJ9lCjUre6SKyMXDcUBDfEL3PB/EyACfSqmD -ZhzSPo3RGHO4RVpEmmPnLAg= -=dEUI +iD8DBQFBZGF4HTu7gpaalycRAm0ZAJ9vkYxVUnBG8T5LmPK6sSllo1A9JQCgvw9E +5D2YruaQEk0WQ8IIoPQEFDo= +=TFCr -----END PGP SIGNATURE----- diff --git a/sys-apps/netboot-base/netboot-base-20041006.ebuild b/sys-apps/netboot-base/netboot-base-20041006.ebuild index b32a51315ffc..dd004ad8db90 100644 --- a/sys-apps/netboot-base/netboot-base-20041006.ebuild +++ b/sys-apps/netboot-base/netboot-base-20041006.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20041006.ebuild,v 1.1 2004/10/06 18:27:01 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netboot-base/netboot-base-20041006.ebuild,v 1.2 2004/10/06 21:19:31 vapier Exp $ DESCRIPTION="Baselayout for netboot systems" HOMEPAGE="http://www.gentoo.org/" @@ -9,17 +9,25 @@ SRC_URI="http://dev.gentoo.org/~vapier/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86" -IUSE="netboot" +KEYWORDS="arm hppa x86" +IUSE="" DEPEND="" S=${WORKDIR} pkg_setup() { - use netboot || die "This is only for creating netboot images" + [ "${ROOT}" == "/" ] && die "refusing to emerge to /" } src_install() { + [ "${ROOT}" == "/" ] && die "refusing to install to /" cp -r * ${D}/ } + +pkg_postinst() { + cd ${ROOT} + mkdir -p bin dev etc lib mnt proc sbin var + mkdir -p var/log + mkdir -p mnt/gentoo +} |