summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-03-21 07:23:27 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-03-21 07:23:27 +0000
commitdc84a2d01a3f11e5f3f7542122c83437b3a3e1bf (patch)
treea4d2d910baca9c182d14c75e7ece62f1ec4f8532 /sys-apps/baselayout
parentcleanup (diff)
downloadhistorical-dc84a2d01a3f11e5f3f7542122c83437b3a3e1bf.tar.gz
historical-dc84a2d01a3f11e5f3f7542122c83437b3a3e1bf.tar.bz2
historical-dc84a2d01a3f11e5f3f7542122c83437b3a3e1bf.zip
build fixes
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/ChangeLog7
-rw-r--r--sys-apps/baselayout/baselayout-1.7.4-r2.ebuild8
2 files changed, 10 insertions, 5 deletions
diff --git a/sys-apps/baselayout/ChangeLog b/sys-apps/baselayout/ChangeLog
index efce8340634d..84634b4d76b1 100644
--- a/sys-apps/baselayout/ChangeLog
+++ b/sys-apps/baselayout/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/baselayout
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.16 2002/03/20 23:21:18 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/ChangeLog,v 1.17 2002/03/21 07:23:26 azarah Exp $
+
+ 21 March 2002; M.Schlemmer <azarah@gentoo.org> :
+
+ Update the pkg_postinst() stuff to use the build USE flag when doing stuff
+ that really should not be done during bootstrap.
20 March 2002; Daniel Robbins <drobbins@gentoo.org> : fixed pkg_postinst()
that was changing dirs to ${D}/dev instead of ${ROOT}/dev. No rev bump.
diff --git a/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild b/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild
index 69289025c00f..3118229ac03e 100644
--- a/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild
+++ b/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild,v 1.4 2002/03/20 23:21:18 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.7.4-r2.ebuild,v 1.5 2002/03/21 07:23:27 azarah Exp $
SV="1.3.0"
SVREV=""
@@ -311,7 +311,7 @@ pkg_postinst() {
defaltmerge
# we dont want to create devices if this is not a bootstrap and devfs
# is used, as this was the cause for all the devfs problems we had
- if [ $altmerge -eq 0 ]
+ if [ $altmerge -eq 0 ] || [ -n "`use build`" ]
then
cd ${ROOT}/dev
#These devices are also needed by many people and should be included
@@ -374,7 +374,7 @@ EOF
#handle the ${svcdir} that changed in location
source ${ROOT}/etc/init.d/functions.sh
- if [ ! -d ${ROOT}/${svcdir}/started/ ]
+ if [ ! -d ${ROOT}/${svcdir}/started/ ] && [ -z "`use build`" ]
then
mkdir -p ${ROOT}/${svcdir}
mount -t tmpfs tmpfs ${ROOT}/${svcdir}
@@ -391,7 +391,7 @@ EOF
fi
#kill the old /dev-state directory if it exists
- if [ -e /dev-state ]
+ if [ -e /dev-state ] && [ -z "`use build`" ]
then
if [ "`cat /proc/mounts |grep '/dev-state'`" ]
then