2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
* util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules from i386-pc build (not needed for bootstrap). Rewrite a pair of strings.
This commit is contained in:
parent
36f5ff04dc
commit
52cc3ce041
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
|
* util/grub-mkrescue.in: Remove `memdisk', `tar' and `search' modules
|
||||||
|
from i386-pc build (not needed for bootstrap).
|
||||||
|
Rewrite a pair of strings.
|
||||||
|
|
||||||
2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
|
2009-12-21 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* normal/main.c (grub_normal_reader_init): Set left margin back to 3.
|
* normal/main.c (grub_normal_reader_init): Set left margin back to 3.
|
||||||
|
|
|
@ -128,7 +128,7 @@ fi
|
||||||
|
|
||||||
# build coreboot core.img
|
# build coreboot core.img
|
||||||
if test -e "${coreboot_dir}" ; then
|
if test -e "${coreboot_dir}" ; then
|
||||||
echo "Generates coreboot"
|
echo "Enabling coreboot support ..."
|
||||||
memdisk_img=`mktemp`
|
memdisk_img=`mktemp`
|
||||||
memdisk_dir=`mktemp -d`
|
memdisk_dir=`mktemp -d`
|
||||||
mkdir -p ${memdisk_dir}/boot/grub
|
mkdir -p ${memdisk_dir}/boot/grub
|
||||||
|
@ -155,12 +155,12 @@ EOF
|
||||||
grub_mkisofs_arguments="${grub_mkisofs_arguments} --modification-date=$(echo ${iso_uuid} | sed -e s/-//g)"
|
grub_mkisofs_arguments="${grub_mkisofs_arguments} --modification-date=$(echo ${iso_uuid} | sed -e s/-//g)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build eltorito core.img
|
# build BIOS core.img
|
||||||
if test -e "${pc_dir}" ; then
|
if test -e "${pc_dir}" ; then
|
||||||
echo "Generates eltorito"
|
echo "Enabling BIOS support ..."
|
||||||
core_img=`mktemp`
|
core_img=`mktemp`
|
||||||
grub-mkimage -d ${pc_dir}/ -o ${core_img} --prefix=/boot/grub/i386-pc \
|
grub-mkimage -d ${pc_dir}/ -o ${core_img} --prefix=/boot/grub/i386-pc \
|
||||||
memdisk tar search iso9660 configfile sh \
|
iso9660 configfile sh \
|
||||||
biosdisk
|
biosdisk
|
||||||
cat ${pc_dir}/cdboot.img ${core_img} > ${iso9660_dir}/boot/grub/i386-pc/eltorito.img
|
cat ${pc_dir}/cdboot.img ${core_img} > ${iso9660_dir}/boot/grub/i386-pc/eltorito.img
|
||||||
rm -f ${core_img}
|
rm -f ${core_img}
|
||||||
|
|
Loading…
Reference in a new issue