Write /opt/pakfire/db/core/mine in stage2.

This commit is contained in:
Michael Tremer
2013-09-30 21:08:44 +02:00
parent e2eb09157e
commit 065c9931ac
5 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,4 @@
#opt/pakfire
opt/pakfire/cache
#opt/pakfire/db
opt/pakfire/db/core
opt/pakfire/db/installed
opt/pakfire/db/lists
opt/pakfire/db/meta

View File

@@ -50,6 +50,10 @@ media/floppy
media/usbkey
mnt
#opt
#opt/pakfire
#opt/pakfire/db
#opt/pakfire/db/core
opt/pakfire/db/core/mine
#root
root/.bash_logout
root/.bash_profile

View File

@@ -121,4 +121,8 @@ $(TARGET) :
-mkdir -pv /usr/share/doc/licenses/
cp -vf $(DIR_SRC)/doc/COPYING /usr/share/doc/licenses/GPLv3
# Pakfire
-mkdir -pv /opt/pakfire/db/core
echo "$(PAKFIRE_CORE)" > /opt/pakfire/db/core/mine
@$(POSTBUILD)

View File

@@ -774,7 +774,6 @@ buildipfire() {
ipfiremake iptraf-ng
ipfiremake iotop
echo $PAKFIRE_CORE > $BASEDIR/build/opt/pakfire/db/core/mine
if [ "$(git status -s | wc -l)" == "0" ]; then
GIT_STATUS=""
else

View File

@@ -414,7 +414,7 @@ lfsmake2() {
chroot $LFS /tools/bin/env -i HOME=/root \
TERM=$TERM PS1='\u:\w\$ ' \
PATH=/tools/ccache/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
VERSION=$VERSION \
VERSION=$VERSION PAKFIRE_CORE="${PAKFIRE_CORE}" \
CONFIG_ROOT=$CONFIG_ROOT \
NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
CFLAGS="$C2FLAGS" CXXFLAGS="$CXX2FLAGS" \