00
0
#!/tools/bin/bash
set +h
#!/bin/bash
set +h
set -e
echo -e "\n\nTotalseconds: $SECONDS\n"
exit
wrapInstall '
mkdir -pv $PKG_DEST/{bin,boot,etc,lib,sbin}
mkdir -pv $PKG_DEST/usr/{bin,include,lib/pkgconfig,sbin}
mkdir -pv $PKG_DEST/usr/share/{doc,info,bash-completion/completions}
mkdir -pv $PKG_DEST/usr/share/man/man{1..8}
case $(uname -m) in
x86_64) mkdir -v $PKG_DEST/lib64 ;;
esac
rm -fv /usr/share/man/{man3/getspnam.3,man5/passwd.5}
rm -fv /usr/share/man/man8/nologin.8
rm -fv /sbin/nologin
'
PREV_SEC=${SECONDS}
packInstall
SECONDS=${PREV_SEC}
rm -fv $PKG_DEST/usr/share/man/{man3/getspnam.3,man5/passwd.5}
rm -fv $PKG_DEST/usr/share/man/man8/nologin.8
rm -fv $PKG_DEST/sbin/nologin
for dir in $PKG_DEST/usr/share/man/man{1..8} \
$PKG_DEST/usr/share/bash-completion{/completions,} \
$PKG_DEST/usr/share/{doc,info,man,} \
$PKG_DEST/usr/lib/pkgconfig \
$PKG_DEST/usr/{lib,bin,sbin,include} \
$PKG_DEST/{boot,etc,lib,bin,sbin}; do
[ -d "$dir" ] && [ -z "$(ls $dir)" ] && rmdir -v $dir
done
[ -d $PKG_DEST/lib64 ] && [ -z "$(ls $PKG_DEST/lib64)" ] &&
rmdir -v $PKG_DEST/lib64
PREV_SEC=${SECONDS}
packInstall
SECONDS=${PREV_SEC}
rm -rf $PKG_DEST
if LOCALE=`grep "
/" $PKGDIR/localedata/SUPPORTED`; then
CHARMAP=`echo $LOCALE | sed 's,[^/]*/\([^ ]*\) [\],\1,'`
INPUT=`echo $LOCALE | sed 's,[/.].*,,'`
LOCALE=`echo $LOCALE | sed 's,/.*,,'`
localedef -i $INPUT -f $CHARMAP $LOCALE
fi
#!/bin/bash
set +h
set -e
PREV_SEC=${SECONDS}
packInstall
SECONDS=${PREV_SEC}
rm -rf "$PKG_DEST"
echo -e "\n\nTotalseconds: $SECONDS\n"
exit
make mrproper
cp -v ../kernel-config .config
if [[ ! -d /lib/udev/devices ]] ; then
fi
OLD_PKG_DEST="$PKG_DEST"
OLD_PKGDIR=$PKGDIR
PKG_DEST=$(dirname $OLD_PKG_DEST)/001-tzdata
PKGDIR=$(dirname $PKGDIR)/tzdata-
ZONEINFO=$PKG_DEST
PREV_SEC=${SECONDS}
packInstall
SECONDS=${PREV_SEC}
rm -rf $PKG_DEST
wrapInstall '
ZONEINFO=
'
PREV_SEC=${SECONDS}
packInstall
SECONDS=${PREV_SEC}
PKG_DEST=$OLD_PKG_DEST
unset OLD_PKG_DEST
PKGDIR=$OLD_PKGDIR
unset OLD_PKGDIR
.
**EDITME
EDITME**
LOCAL
UTC
0
1
DNS=
"
LOGLEVEL="
make install_root=$PKG_DEST -j1
install
make PREFIX=$PKG_DEST/usr install
make BINDIR=$PKG_DEST/sbin prefix=$PKG_DEST install
make DESTDIR=$PKG_DEST DOCDIR=
install
make ROOT=$PKG_DEST
install
make INSTALL_MOD_PATH=$PKG_DEST
install
make DESTDIR=$PKG_DEST
DESTDIR=$PKG_DEST ninja
>$PKG_DEST/
$PKG_DEST/
'
'\''
#
#
|| true
#
>> $TEST_LOG 2>&1 || true
make -k
>> $TEST_LOG 2>&1 || true
>> $TEST_LOG 2>&1
>> $TEST_LOG 2>&1 || true
>> $TEST_LOG 2>&1
PREV_SEC=${SECONDS}
if [ -h /tools ]; then
ROOT=$(dirname $(readlink /tools))/
else
ROOT=/
fi
SCRIPT_ROOT=
SRC_DIR=${ROOT}sources
VERSION=
PKG_DEST=${SRC_DIR}/
-
PACKAGE=
source ${ROOT}${SCRIPT_ROOT}/packInstall.sh
export -f packInstall
export -f wrapInstall
cd $SRC_DIR
PKGDIR=$(tar -tf $PACKAGE | head -n1 | sed 's@^./@@;s@/.*@@')
export PKGDIR VERSION PKG_DEST
if [ -d "$PKGDIR" ]; then rm -rf $PKGDIR; fi
if [ -d "${PKGDIR%-*}-build" ]; then rm -rf ${PKGDIR%-*}-build; fi
echo "KB: $(du -skx --exclude=lost+found --exclude=var/lib --exclude=$SCRIPT_ROOT $ROOT)"
tar -xf $PACKAGE
cd $PKGDIR
SECONDS=${PREV_SEC}
# Start of LFS book script
# End of LFS book script
echo "KB: $(du -skx --exclude=lost+found --exclude=var/lib --exclude=$SCRIPT_ROOT $ROOT)"
cd $SRC_DIR
rm -rf $PKGDIR
if [ -d "${PKGDIR%-*}-build" ]; then rm -rf ${PKGDIR%-*}-build; fi