gentoo-upgrade.conf added

This commit is contained in:
Kolan Sh 2012-05-28 13:50:51 +04:00
parent 56c3d133db
commit 9c2e59f13a
3 changed files with 10 additions and 2 deletions

View File

@ -4,5 +4,7 @@ PREFIX = /usr
all: all:
install: install:
install -d ${DESTDIR}/etc
install --mode=644 etc/* ${DESTDIR}/etc
install -d ${DESTDIR}/usr/sbin install -d ${DESTDIR}/usr/sbin
install --mode=755 sbin/*.sh ${DESTDIR}/usr/sbin install --mode=755 sbin/*.sh ${DESTDIR}/usr/sbin

2
etc/gentoo-upgrade.conf Normal file
View File

@ -0,0 +1,2 @@
EGENCACHE=FALSE
ECLEAN_DISTFILES=FALSE

View File

@ -355,9 +355,13 @@ if [ 14 -eq $STAGE ]; then
if [ `which eclean 2>/dev/null` ]; then if [ `which eclean 2>/dev/null` ]; then
eclean packages eclean packages
[ 0 -ne $? ] && echo "Stage $STAGE: eclean packages failed ;-( =======" && exit $STAGE [ 0 -ne $? ] && echo "Stage $STAGE: eclean packages failed ;-( =======" && exit $STAGE
in_list "$ECLEAN_DISTFILES" ${TRUE_LIST[@]}
if [ 0 -eq $? ]; then
eclean distfiles eclean distfiles
[ 0 -ne $? ] && echo "Stage $STAGE: eclean distfiles failed ;-( =======" && exit $STAGE [ 0 -ne $? ] && echo "Stage $STAGE: eclean distfiles failed ;-( =======" && exit $STAGE
fi fi
fi
rm -rf /var/tmp/portage/* rm -rf /var/tmp/portage/*
[ 0 -ne $? ] && echo "Stage $STAGE: rm -rf /var/tmp/portage/* failed ;-( =======" && exit $STAGE [ 0 -ne $? ] && echo "Stage $STAGE: rm -rf /var/tmp/portage/* failed ;-( =======" && exit $STAGE