00
0
#!/tools/bin/bash
set +h
#!/bin/bash
set +h
set -e
cd $PKGDIR
echo -e "\n\nTotalseconds: $SECONDS\n"
exit
mkdir -pv $PKG_DEST/{boot,etc,lib,bin,sbin}
mkdir -pv $PKG_DEST/usr/{lib,bin,sbin,include}
mkdir -pv $PKG_DEST/usr/share/{doc,info,man}
mkdir -pv $PKG_DEST/usr/share/man/man{1..8}
ln -sv share/{man,doc,info} $PKG_DEST/usr
case $(uname -m) in
x86_64) ln -sv lib $PKG_DEST/lib64 && ln -sv lib $PKG_DEST/usr/lib64 ;;
esac
mkdir -pv $PKG_DEST/usr/include/{rpc,rpcsvc}
rm -fv $PKG_DEST/usr/share/man/{man3/getspnam.3,man5/passwd.5}
rm -fv $PKG_DEST/usr/share/man/man2/*
rm -fv $PKG_DEST/usr/share/man/man8/nologin.8
rm -fv $PKG_DEST/sbin/nologin
rm -fv $PKG_DEST/{,usr/}lib64
rm -fv $PKG_DEST/usr/{man,doc,info}
for dir in $PKG_DEST/usr/share/man/man{1..8}; do
[[ -z $(ls $dir) ]] && rmdir -v $dir
done
for dir in $PKG_DEST/usr/share/{doc,info,man}; do
[[ -z $(ls $dir) ]] && rmdir -v $dir
done
for dir in $PKG_DEST/usr/{lib,bin,sbin,include}; do
[[ -z $(ls $dir) ]] && rmdir -v $dir
done
for dir in $PKG_DEST/{boot,etc,lib,bin,sbin}; do
[[ -z $(ls $dir) ]] && rmdir -v $dir
done
packInstall
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
cd $PKGDIR
packInstall
rm -rf $PKG_DEST
echo -e "\n\nTotalseconds: $SECONDS\n"
exit
make mrproper
cp -v ../kernel-config .config
>> $TEST_LOG 2>&1 || true
{
; } >> $TEST_LOG 2>&1 || 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 && exit $PIPESTATUS)
{
; } >> $TEST_LOG 2>&1
>> $TEST_LOG 2>&1 || true
>> $TEST_LOG 2>&1
|| true
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
packInstall
rm -rf $PKG_DEST
PKG_DEST=$OLD_PKG_DEST
unset OLD_PKG_DEST
PKGDIR=$OLD_PKGDIR
unset OLD_PKGDIR
**EDITME
EDITME**
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
DIST_ROOT=$PKG_DEST make
make DESTDIR=$PKG_DEST
>$PKG_DEST/
$PKG_DEST/