summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-12-19 23:26:45 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-12-19 23:26:45 -0600
commit485838e9a93cd1fde3015c501a85b3cfdacb4580 (patch)
tree3d6fa14820ec158bac99029747230aaa872589e7 /archiso
parenta3fc771d90ebcccaf55240206f82e3d974f86409 (diff)
downloadarchiso32-485838e9a93cd1fde3015c501a85b3cfdacb4580.tar.xz
Remove host system package checks
Not needed as we ensure files are in the ISO dir Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso23
1 files changed, 3 insertions, 20 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 4a719b5..46591af 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -209,30 +209,14 @@ command_iso () {
_imgcommon
bootflags=""
- if [ "$PKGLIST" = "grub" -o "$PKGLIST" = "grub-gfx" ]; then
- #test for either (eww, gross)
- tst=0
- pacman -Qi grub >/dev/null 2>&1
- tst=$(($tst + $?))
- pacman -Qi grub-gfx >/dev/null 2>&1
- tst=$(($tst + $?))
- if [ $tst -ge 2 ]; then
- echo "grub or grub-gfx not found on host system. Cannot install!"
- exit 1
- fi
-
+ if [ "$PKGLIST" = "grub" ]; then
if [ ! -e "${work_dir}/iso/boot/grub/stage2_eltorito" ]; then
echo "error: grub stage files not found in '${work_dir}/iso/boot/grub'"
exit 1
fi
bootflags="-b boot/grub/stage2_eltorito"
- elif [ "$PKGLIST" = "isolinux" ]; then
- if ! pacman -Qi $PKGLIST >/dev/null 2>&1; then
- echo "$PKGLIST not found on host system. Cannot install!"
- exit 1
- fi
-
+ elif [ "$PKGLIST" = "syslinux" ]; then
if [ ! -e "${work_dir}/iso/boot/isolinux/isolinux.bin" ]; then
echo "error: isolinux bin file not found in '${work_dir}/iso/boot/isolinux'"
exit 1
@@ -243,8 +227,7 @@ command_iso () {
echo "No bootloader specified. Use the -p flag to specify"
echo " Supported Bootloaders:"
echo " grub"
- echo " grub-gfx"
- echo " isolinux"
+ echo " syslinux"
exit 1
fi