|
@ -23,10 +23,7 @@ |
|
|
grub_postmake() { |
|
|
grub_postmake() { |
|
|
mkdir -p $root/boot/grub |
|
|
mkdir -p $root/boot/grub |
|
|
|
|
|
|
|
|
trg=${arch_target/-linux-gnu} |
|
|
|
|
|
trg=i386-${trg/i*-/} |
|
|
|
|
|
|
|
|
|
|
|
cp -v $libdir/grub/$trg/* $root/boot/grub/ |
|
|
|
|
|
|
|
|
cp -v $datadir/grub/i386-pc/* $root/boot/grub/ |
|
|
cp $confdir/stone_mod_grub.sh $root/etc/stone.d/mod_grub.sh |
|
|
cp $confdir/stone_mod_grub.sh $root/etc/stone.d/mod_grub.sh |
|
|
echo '$STONE grub grub_setup' > $root/etc/stone.d/setup_grub.sh |
|
|
echo '$STONE grub grub_setup' > $root/etc/stone.d/setup_grub.sh |
|
|
|
|
|
|
|
|