#Create iso image:
echo -n "Creating iso image...";
- cd ~/immudex-testing/${arch};
+ cd ~/immudex-lhe/${arch};
xorriso as mkisofs -iso-level 3 -o "immudex-lhe32.iso" -full-iso9660-filenames -volid "immudex-lhe" -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -eltorito-boot isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table --eltorito-catalog isolinux/isolinux.cat ~/immudex-lhe/${arch}/staging >> ~/immudex_build.log 2>&1;
if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi
exit 0;
#Creating root directory sturcture for immudex build:
if [ ! -d ~/immudex-lhe/${arch} ]; then
echo -n "Creating root directory structure for immudex build...";
- mkdir -pv ~/immudex-testing/${arch} >> immudex_build.log 2>&1;
+ mkdir -pv ~/immudex-lhe/${arch} >> immudex_build.log 2>&1;
if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi
fi
#Fetching testing vanilla Debian base system files:
echo -n "Fetching oldoldstable vanilla Debian base system files...";
-sudo /sbin/debootstrap --arch=$arch oldoldstable ~/immudex-lhe/${arch}/chroot http://deb.debian.org/debian >> ~/immudex_build.log 2>&1;
+sudo /sbin/debootstrap --arch=i386 oldoldstable ~/immudex-lhe/${arch}/chroot http://deb.debian.org/debian >> ~/immudex_build.log 2>&1;
if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi
#Getting project files: