|
|
@ -23,13 +23,16 @@ |
|
|
|
grub_postmake() { |
|
|
|
mkdir -p $root/boot/grub |
|
|
|
|
|
|
|
cp -v /usr/share/grub/i386-pc/* /boot/grub/ |
|
|
|
trg=${arch_target/-linux-gnu} |
|
|
|
trg=i386-${trg/i*-/} |
|
|
|
|
|
|
|
cp -v $datadir/grub/$trg/* $root/boot/grub/ |
|
|
|
cp $confdir/stone_mod_grub.sh $root/etc/stone.d/mod_grub.sh |
|
|
|
|
|
|
|
if [ ! -f $root/boot/grub/menu.lst ] ; then |
|
|
|
cp docs/menu.lst $root/boot/grub/ |
|
|
|
fi |
|
|
|
cp docs/menu.lst $root/boot/grub/example_menu.lst |
|
|
|
cp docs/menu.lst $root/boot/grub/menu.lst.example |
|
|
|
|
|
|
|
counter=1 |
|
|
|
confopt="$confopt --enable-diskless" |
|
|
|