gnomeos-make-image.sh: Don't copy kernel

There's no point.
This commit is contained in:
Colin Walters 2011-10-26 16:33:11 -04:00
parent a9da340e27
commit 8af2c6fbb8

View File

@ -131,20 +131,6 @@ if ! test -f ${OBJ}; then
mv ${OBJ}.tmp ${OBJ}
fi
OBJ=gnomeos-kernel
if ! test -f ${OBJ}; then
if test -x /sbin/grubby; then
kernel=`grubby --default-kernel`
cp $kernel ${OBJ}.tmp
else
echo "ERROR: couldn't find /sbin/grubby (which we use to find the running kernel)"
echo " You can copy any kernel image you want in here as gnomeos-kernel"
echo " For example: cp /boot/vmlinuz-2.6.40.6-0.fc15.x86_64 gnomeos-kernel"
exit 1
fi
mv ${OBJ}.tmp ${OBJ}
fi
cp ${SRCDIR}/ostree_switch_root ${WORKDIR}
OBJ=gnomeos-initrd.img