Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-12-01 21:28:42 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-12-01 21:28:42 -0300
commit9350558f60422687eec8473e116d07faf94fb966 (patch)
tree1296d13f3a8411567e2aa61d84e7e13859a41533 /archiso
parent4071a39fd10c7e8ba95961682b1d993c5c050a0e (diff)
Removed unused gen_grubscan script and grub reference in mkarchiso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
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
}