~hzliu123/+junk/test

« back to all changes in this revision

Viewing changes to binary_local-hooks/90mangle-syslinux-menu

  • Committer: Christopher Townsend
  • Date: 2012-01-17 18:23:29 UTC
  • Revision ID: christopher.townsend@canonical.com-20120117182329-zqkr5r7h5a2kczjz
- Removed 90mangle-syslinux-menu as it's not used anymore.
- Copy iso directory to /boot/grub and delete it in /factory. Addresses <2> in LP: 914071.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
# mangle-syslinux-menu.sh: Recreate live.cfg - a part of the syslinux config
4
 
#
5
 
# Author: Cody A.W. Somerville <cody.somerville@canonical.com>
6
 
# Date  : June 5th, 2009
7
 
#
8
 
 
9
 
#disable this since Dell has already supplied us with an explicit live.cfg to use
10
 
 
11
 
#if [ -f binary/syslinux/live.cfg ]
12
 
#then
13
 
#    echo "Mangling syslinux boot menu to be simpler..."
14
 
#    LIVE_CFG="binary/syslinux/live.cfg"
15
 
#elif [ -f binary/isolinux/live.cfg ]
16
 
#then
17
 
#    echo "Mangling isolinux boot menu to be simpler..."
18
 
#    LIVE_CFG="binary/isolinux/live.cfg"
19
 
#else
20
 
#    echo "No live.cfg configuration file found when attempting to mangle."
21
 
#    exit 0
22
 
#fi
23
 
 
24
 
#grep --line-regexp --after-context=4 "label live" "${LIVE_CFG}" >> "${LIVE_CFG}".new
25
 
#grep --line-regexp --after-context=4 "label auto" "${LIVE_CFG}" | sed 's/menu label Text Auto/menu label Automatic Installation/' >> "${LIVE_CFG}".new
26
 
#mv "${LIVE_CFG}".new "${LIVE_CFG}"
27
 
 
28
 
#exit 0