This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via ebaecf2c968084efb9dad06403c6a74047ef74f6 (commit) from 7261a4987d7f7399e773f45c0957b363d6a9e43d (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit ebaecf2c968084efb9dad06403c6a74047ef74f6 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Tue Oct 30 15:07:12 2018 +0100
Revert "make.sh: Log into subdirectory for each architecture"
This reverts commit 35ce207ff7f94921ddffb23501c28d7095d59a04.
-----------------------------------------------------------------------
Summary of changes: lfs/Config | 7 +++---- make.sh | 34 ++++++++++++++++------------------ 2 files changed, 19 insertions(+), 22 deletions(-)
Difference in files: diff --git a/lfs/Config b/lfs/Config index a1232a2c2..76f279da9 100644 --- a/lfs/Config +++ b/lfs/Config @@ -31,8 +31,7 @@ ###############################################################################
# Cleanup environment from any variables -unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN -unexport TOOLS_DIR LOG_DIR +unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN TOOLS_DIR
ifeq "$(BUILD_ARCH)" "aarch64" IS_64BIT = 1 @@ -86,7 +85,7 @@ DIR_SRC = $(ROOT)/usr/src DIR_DL = $(LFS_BASEDIR)/cache DIR_CHK = $(LFS_BASEDIR)/cache/check DIR_CONF = $(LFS_BASEDIR)/config -DIR_INFO = $(LFS_BASEDIR)/$(LOG_DIR) +DIR_INFO = $(LFS_BASEDIR)/log DIR_TMP = /tmp
# Add the compiler location and version and specs to the ccache hash @@ -110,7 +109,7 @@ endif ###############################################################################
# For each package we create a list of files that it installed under -# $(LOG_DIR/)<TARGET> name. Modified files are not identified +# log/<TARGET> name. Modified files are not identified # define FIND_FILES cd $(ROOT)/ && find -mount \ diff --git a/make.sh b/make.sh index a7e806858..c5cfab151 100755 --- a/make.sh +++ b/make.sh @@ -109,7 +109,10 @@ fi # This is the directory where make.sh is in export BASEDIR=$(echo $FULLPATH | sed "s//$BASENAME//g")
+LOGFILE=$BASEDIR/log/_build.preparation.log +export LOGFILE DIR_CHK=$BASEDIR/cache/check +mkdir $BASEDIR/log/ 2>/dev/null
system_processors() { getconf _NPROCESSORS_ONLN 2>/dev/null || echo "1" @@ -190,7 +193,6 @@ configure_build() {
BUILD_ARCH="${build_arch}" TOOLS_DIR="/tools_${BUILD_ARCH}" - LOG_DIR="log_${BUILD_ARCH}"
# Enables hardening HARDENING_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong" @@ -283,7 +285,7 @@ stdumount() { umount $BASEDIR/build/usr/src/html 2>/dev/null; umount $BASEDIR/build/usr/src/langs 2>/dev/null; umount $BASEDIR/build/usr/src/lfs 2>/dev/null; - umount $BASEDIR/build/usr/src/${LOG_DIR} 2>/dev/null; + umount $BASEDIR/build/usr/src/log 2>/dev/null; umount $BASEDIR/build/usr/src/src 2>/dev/null; }
@@ -419,9 +421,6 @@ exiterror() { }
prepareenv() { - # Create log directory if it doesn't exist, yet - mkdir -p "${BASEDIR}/${LOG_DIR}" - # Are we running the right shell? if [ -z "${BASH}" ]; then exiterror "BASH environment variable is not set. You're probably running the wrong shell." @@ -475,7 +474,7 @@ prepareenv() { mkdir -p $BASEDIR/build/{etc,usr/src} 2>/dev/null mkdir -p $BASEDIR/build/{dev/{shm,pts},proc,sys} mkdir -p $BASEDIR/{cache,ccache} 2>/dev/null - mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,${LOG_DIR},src,ccache} + mkdir -p $BASEDIR/build/usr/src/{cache,config,doc,html,langs,lfs,log,src,ccache}
mknod -m 600 $BASEDIR/build/dev/console c 5 1 2>/dev/null mknod -m 666 $BASEDIR/build/dev/null c 1 3 2>/dev/null @@ -493,7 +492,7 @@ prepareenv() { mount --bind $BASEDIR/html $BASEDIR/build/usr/src/html mount --bind $BASEDIR/langs $BASEDIR/build/usr/src/langs mount --bind $BASEDIR/lfs $BASEDIR/build/usr/src/lfs - mount --bind $BASEDIR/${LOG_DIR} $BASEDIR/build/usr/src/${LOG_DIR} + mount --bind $BASEDIR/log $BASEDIR/build/usr/src/log mount --bind $BASEDIR/src $BASEDIR/build/usr/src/src
# Run LFS static binary creation scripts one by one @@ -540,7 +539,6 @@ enterchroot() { CORE="${CORE}" \ SLOGAN="${SLOGAN}" \ TOOLS_DIR="${TOOLS_DIR}" \ - LOG_DIR="${LOG_DIR}" \ CONFIG_ROOT="${CONFIG_ROOT}" \ CFLAGS="${CFLAGS} ${HARDENING_CFLAGS}" \ CXXFLAGS="${CXXFLAGS} ${HARDENING_CFLAGS}" \ @@ -965,7 +963,7 @@ buildtoolchain() { exiterror "Could not create ${TOOLS_DIR} symbolic link" fi
- LOGFILE="$BASEDIR/${LOG_DIR}/_build.toolchain.log" + LOGFILE="$BASEDIR/log/_build.toolchain.log" export LOGFILE
lfsmake1 stage1 @@ -1010,7 +1008,7 @@ buildtoolchain() { }
buildbase() { - LOGFILE="$BASEDIR/${LOG_DIR}/_build.base.log" + LOGFILE="$BASEDIR/log/_build.base.log" export LOGFILE lfsmake2 stage2 lfsmake2 linux KCFG="-headers" @@ -1079,7 +1077,7 @@ buildbase() { }
buildipfire() { - LOGFILE="$BASEDIR/${LOG_DIR}/_build.ipfire.log" + LOGFILE="$BASEDIR/log/_build.ipfire.log" export LOGFILE lfsmake2 configroot lfsmake2 initscripts @@ -1578,7 +1576,7 @@ buildipfire() {
buildinstaller() { # Run installer scripts one by one - LOGFILE="$BASEDIR/${LOG_DIR}/_build.installer.log" + LOGFILE="$BASEDIR/log/_build.installer.log" export LOGFILE lfsmake2 memtest lfsmake2 installer @@ -1587,7 +1585,7 @@ buildinstaller() { }
buildpackages() { - LOGFILE="$BASEDIR/${LOG_DIR}/_build.packages.log" + LOGFILE="$BASEDIR/log/_build.packages.log" export LOGFILE echo "... see detailed log in _build.*.log files" >> $LOGFILE
@@ -1595,8 +1593,8 @@ buildpackages() { # Generating list of packages used print_line "Generating packages list from logs" rm -f $BASEDIR/doc/packages-list - for i in `ls -1tr $BASEDIR/${LOG_DIR}/[^_]*`; do - if [ "$i" != "$BASEDIR/${LOG_DIR}/FILES" -a -n $i ]; then + for i in `ls -1tr $BASEDIR/log/[^_]*`; do + if [ "$i" != "$BASEDIR/log/FILES" -a -n $i ]; then echo "* `basename $i`" >>$BASEDIR/doc/packages-list fi done @@ -1755,7 +1753,7 @@ clean) rm -rf $BASEDIR/build rm -rf $BASEDIR/cdrom rm -rf $BASEDIR/packages - rm -rf $BASEDIR/${LOG_DIR} + rm -rf $BASEDIR/log if [ -h "${TOOLS_DIR}" ]; then rm -f "${TOOLS_DIR}" fi @@ -1766,7 +1764,7 @@ downloadsrc) if [ ! -d $BASEDIR/cache ]; then mkdir $BASEDIR/cache fi - mkdir -p $BASEDIR/${LOG_DIR} + mkdir -p $BASEDIR/log echo -e "${BOLD}Preload all source files${NORMAL}" | tee -a $LOGFILE FINISHED=0 cd $BASEDIR/lfs @@ -1825,7 +1823,7 @@ toolchain) buildtoolchain echo "`date -u '+%b %e %T'`: Create toolchain image for ${BUILD_ARCH}" | tee -a $LOGFILE test -d $BASEDIR/cache/toolchains || mkdir -p $BASEDIR/cache/toolchains - cd $BASEDIR && tar -cf- --exclude='${LOG_DIR}/_build.*.log' build/${TOOLS_DIR} build/bin/sh ${LOG_DIR} | xz ${XZ_OPT} \ + cd $BASEDIR && tar -cf- --exclude='log/_build.*.log' build/${TOOLS_DIR} build/bin/sh log | xz ${XZ_OPT} \ > cache/toolchains/$SNAME-$VERSION-toolchain-$TOOLCHAINVER-${BUILD_ARCH}.tar.xz md5sum cache/toolchains/$SNAME-$VERSION-toolchain-$TOOLCHAINVER-${BUILD_ARCH}.tar.xz \ > cache/toolchains/$SNAME-$VERSION-toolchain-$TOOLCHAINVER-${BUILD_ARCH}.md5
hooks/post-receive -- IPFire 2.x development tree