aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorlcapriotti <lcapriotti@svn>2010-05-14 13:08:10 +0000
committerlcapriotti <lcapriotti@svn>2010-05-14 13:08:10 +0000
commitf8ec652ad87a20e040c6cd9c9ea1653629c58c47 (patch)
tree62bf02374f18eb840f8ad9db2de6a487f18c163a /tools
parentc112fcf342834e8ee6cf68be4292b7ebd7e9a3a2 (diff)
better work on the right file!
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30153 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
-rw-r--r--tools/XBMCLive/SDK/buildDEBs/xbmclive-installhelpers/finish-install.d/91modifyGrubMenu.lucid-variant18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/XBMCLive/SDK/buildDEBs/xbmclive-installhelpers/finish-install.d/91modifyGrubMenu.lucid-variant b/tools/XBMCLive/SDK/buildDEBs/xbmclive-installhelpers/finish-install.d/91modifyGrubMenu.lucid-variant
index 7d1eeb63a1..e7a55a6ad6 100644
--- a/tools/XBMCLive/SDK/buildDEBs/xbmclive-installhelpers/finish-install.d/91modifyGrubMenu.lucid-variant
+++ b/tools/XBMCLive/SDK/buildDEBs/xbmclive-installhelpers/finish-install.d/91modifyGrubMenu.lucid-variant
@@ -19,19 +19,19 @@
# http://www.gnu.org/copyleft/gpl.html
if [ -f /target/boot/grub/grub.cfg ]; then
- # Modify /etc/default/grub
+ # Modify /etc/default/grub on target
# Comment out defaults if not done already
- sed -i -e 's/^GRUB_CMDLINE_LINUX_DEFAULT/#GRUB_CMDLINE_LINUX_DEFAULT/' /etc/default/grub
- sed -i -e 's/^GRUB_GFXMODE/#GRUB_GFXMODE/' /etc/default/grub
- sed -i -e 's/^GRUB_GFXPAYLOAD_LINUX/#GRUB_GFXPAYLOAD_LINUX/' /etc/default/grub
+ sed -i -e 's/^GRUB_CMDLINE_LINUX_DEFAULT/#GRUB_CMDLINE_LINUX_DEFAULT/' /target/etc/default/grub
+ sed -i -e 's/^GRUB_GFXMODE/#GRUB_GFXMODE/' /target/etc/default/grub
+ sed -i -e 's/^GRUB_GFXPAYLOAD_LINUX/#GRUB_GFXPAYLOAD_LINUX/' /target/etc/default/grub
# Set our own defaults
- echo >> /etc/default/grub
- echo '# Defaults from XBMC Installation' >> /etc/default/grub
- echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount,setvolume loglevel=0 video=vesafb"' >> /etc/default/grub
- echo 'GRUB_GFXMODE="1280x768x32;1280x720x32;1024x768x32;800x600x32;640x480x32;1280x768;1280x720;1024x768;800x600;640x480"' >> /etc/default/grub
- echo 'GRUB_GFXPAYLOAD_LINUX=keep' >> /etc/default/grub
+ echo >> /target/etc/default/grub
+ echo '# Defaults from XBMC Installation' >> /target/etc/default/grub
+ echo 'GRUB_CMDLINE_LINUX_DEFAULT="quiet splash xbmc=autostart,nodiskmount,setvolume loglevel=0 video=vesafb"' >> /target/etc/default/grub
+ echo 'GRUB_GFXMODE="1280x768x32;1280x720x32;1024x768x32;800x600x32;640x480x32;1280x768;1280x720;1024x768;800x600;640x480"' >> /target/etc/default/grub
+ echo 'GRUB_GFXPAYLOAD_LINUX=keep' >> /target/etc/default/grub
in-target update-grub
fi