X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=ec50594c62f9d933bde0d0ab334b573c12ad3ad2;hb=543bfe1c6069367f392e8054a3ae789649839c13;hp=695ea2aa1ec3c11d734eab7c92cd9e97c78a9509;hpb=905546a8ede881391cb26fa2c392d150d720c400;p=grml-live-grml.git diff --git a/grml-live b/grml-live index 695ea2a..ec50594 100755 --- a/grml-live +++ b/grml-live @@ -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