From 4f644f775b47feb98ff9e3f07992d07ff09f49c0 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 22 Jul 2023 15:44:14 +0200 Subject: [PATCH] =?utf8?q?Poprawienie=20=C5=9Bcie=C5=BCki=20w=20poleceniu?= =?utf8?q?=20'cd'=20przed=20tworzeniem=20obrazu=20p=C5=82yty=20w=20sekcji?= =?utf8?q?=20'--update',=20poprawienie=20architektury=20w=20poleceniu=20de?= =?utf8?q?bootstrap=20-=20skrypt=20budowy=20'immudex=5Fbuild'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- immudex_build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/immudex_build b/immudex_build index 82dc80d..d3183cc 100755 --- a/immudex_build +++ b/immudex_build @@ -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: -- 2.39.5