From: Michael Tremer Date: Mon, 30 Sep 2013 19:08:44 +0000 (+0200) Subject: Write /opt/pakfire/db/core/mine in stage2. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=065c9931acf1296f287e9f783ec0a4668289c886 Write /opt/pakfire/db/core/mine in stage2. --- diff --git a/config/rootfiles/common/pakfire b/config/rootfiles/common/pakfire index f46a7b0df..ab439c5bd 100644 --- a/config/rootfiles/common/pakfire +++ b/config/rootfiles/common/pakfire @@ -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 diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 1e91b3743..da95512b5 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -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 diff --git a/lfs/stage2 b/lfs/stage2 index beb0abbcb..8d302ebc6 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -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) diff --git a/make.sh b/make.sh index e80a95108..edee082f0 100755 --- a/make.sh +++ b/make.sh @@ -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 diff --git a/tools/make-functions b/tools/make-functions index 6d77db442..0385528a8 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -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" \