Applying patch from jnqnfe <jnqnfe@gmail.com> to correct grub2 bootloader directory within the binary images (Closes: #775316).

This commit is contained in:
Daniel Baumann 2015-02-07 06:56:34 +01:00
parent 0c94983071
commit 319866567a
2 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ then
fi
# Copying templates
mkdir -p binary/boot/grub
mkdir -p binary/boot/grub/i386-pc
cp -r "${TEMPLATES}"/* binary/boot/grub
case ${LIVE_IMAGE_TYPE} in
@ -229,7 +229,7 @@ then
fi
# Copying grub
cp ${FILES} binary/boot/grub
cp ${FILES} binary/boot/grub/i386-pc
sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" -e "s|MEMTEST|${MEMTEST}|" binary/boot/grub/grub.cfg
sed -i -e "s#LB_BOOTAPPEND_INSTALL#${LB_BOOTAPPEND_INSTALL}#" -e "s#LB_BOOTAPPEND_LIVE#${LB_BOOTAPPEND_LIVE}#" binary/boot/grub/grub.cfg

View File

@ -172,7 +172,7 @@ for file in \${input_dir}/*.mod \${input_dir}/efiemu??.o \
do
if test -f "\$file"
then
cp -f "\$file" binary/boot/grub
cp -f "\$file" binary/boot/grub/i386-pc
fi
done
EOF