[Frugalware-git] fwlive: Add check the link vmlinuz

Baste baste at frugalware.org
Sun Nov 13 12:13:14 CET 2011


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=0d9dcfa77aed4554a881e7fcfe5482238952c69a

commit 0d9dcfa77aed4554a881e7fcfe5482238952c69a
Author: Baste <baste at frugalware.org>
Date:   Sun Nov 13 12:12:31 2011 +0100

Add check the link vmlinuz

diff --git a/bin/create-iso b/bin/create-iso
index 310a2eb..88e5ce3 100755
--- a/bin/create-iso
+++ b/bin/create-iso
@@ -12,7 +12,11 @@ wget $MIRROR/frugalware-$TREE/boot/syslinux/splash.png
wget $MIRROR/frugalware-$TREE/boot/syslinux/vesamenu.c32
cd -
##Bug: Occasionally, the link vmlinuz is not present in /boot
-cp -v $TREE/rootfs/boot/vmlinuz* $TREE/iso/boot/vmlinuz
+if [ -e $TREE/rootfs/boot/vmlinuz ]; then
+	cp -v $TREE/rootfs/boot/vmlinuz $TREE/iso/boot/vmlinuz
+else
+	cp -v $TREE/rootfs/boot/vmlinuz* $TREE/iso/boot/vmlinuz
+fi
cp -v $TREE/rootfs/boot/initrd.img.xz $TREE/iso/boot/initrd
umount $TREE/rootfs
cat >$TREE/iso/boot/syslinux/syslinux.cfg <<EOF
diff --git a/config.dev b/config.dev
index 736be16..7c3c22b 100644
--- a/config.dev
+++ b/config.dev
@@ -11,7 +11,7 @@ TREE="current"
# * GNOME ( Group Gnome + Base + fwife )
# * KDE ( Group KDE + Base + fwife )
# * XFCE ( Group XFCE + Base + fwife + some recommended apps )
-APPSGROUP="GNOME"
+APPSGROUP="MIN"

# root filesystem size (compressed free space is cheap!)
SIZE="1G"
@@ -48,7 +48,7 @@ USERNAME="fwlive"
USERPASS="fwlive"

# Additional packages to be installed by the profiles
-INST_MIN_APPS="base fwife"
+INST_MIN_APPS="base"
INST_GNOME_APPS="$INST_MIN_APPS gnome nano"
INST_KDE_APPS="$INST_MIN_APPS kde"
INST_XFCE_APPS="$INST_MIN_APPS xfce4 xfburn xarchiver geeqie xchat \


More information about the Frugalware-git mailing list