X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-live;h=b7d59b451c58a7fb3036c86ecc04b077733aa5c8;hb=560e0f3ee42e52a2d4e10e1749d4cee7adf1a691;hp=daa15d1dbafe37bfa0fd4c5ef0c896d2f9f76471;hpb=f1807657e8711d84bdf64c4b725476cda4a897eb;p=grml-live.git diff --git a/grml-live b/grml-live index daa15d1..b7d59b4 100755 --- a/grml-live +++ b/grml-live @@ -24,7 +24,7 @@ fi # set -e # global variables -GRML_LIVE_VERSION='0.15.0' +GRML_LIVE_VERSION='0.15.1' PN="$(basename $0)" CMDLINE="$0 $@" ADDONS_LIST_FILE='/boot/isolinux/addons_list.cfg' @@ -738,7 +738,13 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then ewarn "grub templates do not exist, skipping therefore." ; eend 0 else if ! [ -d "${BUILD_OUTPUT}/boot/grub" ] ; then - cp -a ${TEMPLATE_DIRECTORY}/boot/grub "$BUILD_OUTPUT"/boot/ + mkdir -p "${BUILD_OUTPUT}/boot/grub" + cp -a /usr/lib/grub/*-pc/*.mod "${BUILD_OUTPUT}/boot/grub" + cp -a /usr/lib/grub/*-pc/*.o "${BUILD_OUTPUT}/boot/grub" + cp -a /usr/lib/grub/*-pc/*.lst "${BUILD_OUTPUT}/boot/grub" + cp -a /usr/share/grub/ascii.pf2 "${BUILD_OUTPUT}/boot/grub" + /usr/bin/grub-mkimage -d /usr/lib/grub/*-pc -o \ + "${BUILD_OUTPUT}/boot/grub/core.img" biosdisk iso9660 --format=i386-pc fi # make sure we have recent template files available, otherwise updating