Commit 31986656 authored by Daniel Baumann's avatar Daniel Baumann
Browse files

Applying patch from jnqnfe <jnqnfe@gmail.com> to correct grub2 bootloader...

Applying patch from jnqnfe <jnqnfe@gmail.com> to correct grub2 bootloader directory within the binary images (Closes: #775316).
parent 0c949830
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment