]> gitweb.morketsmerke.org Git - immudex-lhe.git/commitdiff
Poprawienie ścieżki w poleceniu 'cd' przed tworzeniem obrazu płyty w sekcji '--update...
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 22 Jul 2023 13:44:14 +0000 (15:44 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 22 Jul 2023 13:44:14 +0000 (15:44 +0200)
immudex_build

index 82dc80dc8c15a45da487e28adbef2acc1b521fc1..d3183cc64033f69e05e545918589061f89045439 100755 (executable)
@@ -63,7 +63,7 @@ if [ "$1" ] && [ "$1" = "--update" ]; then
 
   #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;
@@ -84,13 +84,13 @@ fi
 #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: