halfway there. now i just need to build the package lists.
This commit is contained in:
21
lib/02-holla_atcha_boi.func.sh
Normal file
21
lib/02-holla_atcha_boi.func.sh
Normal file
@@ -0,0 +1,21 @@
|
||||
function holla_atcha_boi {
|
||||
|
||||
if [[ "${I_AM_A_RACECAR}" == "y" ]];
|
||||
then
|
||||
RACECAR_CHK='nice -n -19 '
|
||||
else
|
||||
RACECAR_CHK=""
|
||||
fi
|
||||
|
||||
so_check_me_out
|
||||
|
||||
# Do we have an existing chroot set up yet? If not, create.
|
||||
if [[ ! -d "root.x86_64/root" || ! -d "root.i686/root" ]];
|
||||
then
|
||||
echo "No existing chroot environment found. Creating..."
|
||||
rm -f ${LOCKFILE}
|
||||
${RACECAR_CHK} ${BASEDIR}/lib/01-mk.chroot.func.sh
|
||||
touch ${LOCKFILE}
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user