Removed unused gen_grubscan script and grub reference in mkarchiso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
4071a39fd1
commit
9350558f60
@ -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"
|
|
@ -225,7 +225,6 @@ _imgcommon () {
|
|||||||
|
|
||||||
cp "${work_dir}/isomounts" "${work_dir}/iso/"
|
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
|
[ -f ${work_dir}/iso/boot/isolinux/isolinux.cfg ] && sed "s|archisolabel=[^ ]*|archisolabel=${LABEL}|" -i ${work_dir}/iso/boot/isolinux/isolinux.cfg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user