summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/gen_grubscan30
-rwxr-xr-xarchiso/mkarchiso1
2 files changed, 0 insertions, 31 deletions
diff --git a/archiso/gen_grubscan b/archiso/gen_grubscan
deleted file mode 100755
index a2ac4df..0000000
--- a/archiso/gen_grubscan
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-count=0
-fallback=""
-for hd in $(seq 0 3); do
- for part in $(seq 0 17); do
- count=$(($count + 1))
- fallback="${fallback} ${count}"
- done
-done
-
-echo "timeout 0"
-echo "default 0"
-echo "fallback ${fallback}"
-echo "color light-blue/blue black/light-grey"
-echo "splashimage=/boot/splash.xpm.gz"
-echo ""
-
-for hd in $(seq 0 3); do
- for part in $(seq 0 17); do
- echo "title Testing disk ${hd}, partition ${part}"
- echo "set scan_dev=(hd${hd},${part})"
- echo "fexists \$(scan_dev)/boot/grub/menu.lst"
- echo "configfile \$(scan_dev)/boot/grub/menu.lst"
- echo ""
- done
-done
-
-echo "title Failed"
-echo "pause Scanning for installed grub failed"
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index f496240..ea3089a 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -225,7 +225,6 @@ _imgcommon () {
cp "${work_dir}/isomounts" "${work_dir}/iso/"
- [ -f ${work_dir}/iso/boot/grub/menu.lst ] && sed "s|archisolabel=[^ ]*|archisolabel=${LABEL}|" -i ${work_dir}/iso/boot/grub/menu.lst
[ -f ${work_dir}/iso/boot/isolinux/isolinux.cfg ] && sed "s|archisolabel=[^ ]*|archisolabel=${LABEL}|" -i ${work_dir}/iso/boot/isolinux/isolinux.cfg
}