]> gitweb.morketsmerke.org Git - immudex.git/commitdiff
BT #142 ToDo: Na podstawie wersji bazowej Debiana, dynamicznie zmieniać pliki konfig...
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 14:51:20 +0000 (15:51 +0100)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 14:51:20 +0000 (15:51 +0100)
immudex-build

index e5fa706a2ee186c2f88d28d10a95e90a572935d7..6722aea9677d30906e50f79e41eff7e4fff16eae 100755 (executable)
@@ -100,6 +100,12 @@ cp -v ${HOME}/immudex/isolinux/${arch2}/* ${HOME}/build/immudex-${debver}/${arch
 cp -v ${HOME}/immudex/grub/${arch2}/* ${HOME}/build/immudex-${debver}/${arch}/staging/boot/grub >> immudex_build.log 2>&1;
 if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi
 
+#Setting a properly Debian vanilla base version in bootloader files
+echo -n "Setting a properly Debian vanilla base version in bootloader files...";
+sed -i "s,Debian\ 13,Debian\ ${debver},g" ${HOME}/build/immudex-${debver}/${arch}/staging/isolinux/isolinux.cfg;
+sed -i "s,Debian\ 13,Debian\ ${debver},g" ${HOME}/build/immudex-${debver}/${arch}/staging/boot/grub/grub.cfg;
+if [ $? -eq 0 ]; then echo -e "[ ${GREEN}OK${ENDCOLOR} ]"; fi
+
 #Create grubstandalone config:
 echo "-==Create grub-standalone config: $(date)==-" >> immudex_build.log;
 echo -n "Create grub-standalone config...";