we should probably remove .pacnew files in the ISO. every little byte helps :/
This commit is contained in:
parent
15f85a19a4
commit
fc5fac0667
@ -2,7 +2,7 @@ function holla_atcha_boi {
|
||||
|
||||
if [[ "${I_AM_A_RACECAR}" == "y" ]];
|
||||
then
|
||||
RACECAR_CHK="nice -n '-19' "
|
||||
RACECAR_CHK='nice -n -19 '
|
||||
else
|
||||
RACECAR_CHK=""
|
||||
fi
|
||||
@ -13,7 +13,7 @@ function holla_atcha_boi {
|
||||
then
|
||||
echo "No existing chroot environment found. Creating..."
|
||||
rm -f ${LOCKFILE}
|
||||
${RACECAR_CHK}${BASEDIR}/lib/mk.chroot.sh
|
||||
${RACECAR_CHK} ${BASEDIR}/lib/mk.chroot.sh
|
||||
touch ${LOCKFILE}
|
||||
fi
|
||||
}
|
||||
|
@ -39,6 +39,7 @@ function jenny_craig () {
|
||||
rm -f ${BUILDDIR}/root/.bashrc
|
||||
# DISABLE when no longer building custom kernel
|
||||
find ${BUILDDIR}/usr/lib/modules/ -maxdepth 1 -iname "*-ARCH" -exec rm -rf '{}' \;
|
||||
find ${BUILDDIR}/ -type f -name "*.pacnew" -exec rm -rf '{}' \;
|
||||
rm -rf ${BUILDDIR}/usr/share/locale/*
|
||||
mv -f ${BUILDDIR}/tmp/locale.alias ${BUILDDIR}/usr/share/locale/.
|
||||
rm -rf ${BUILDDIR}/var/cache/pacman/*
|
||||
|
Loading…
Reference in New Issue
Block a user