source: live-build/trunk/fuentes/debian/patches/ubuntu-casper-normalisation.patch @ 900

Last change on this file since 900 was 900, checked in by kbut, 4 years ago

add original source

File size: 773 bytes
  • scripts/build/lb_binary_syslinux

    Description: Fixup live.cfg for casper
    Author: Reinhard Tartler <siretart@tauware.de>
    Last-Update: 2012-08-20
    
    live.cfg from the themes package include a 'boot=live' parameter, which works only
    for live-config. casper OTOH requires 'boot=casper'
    
    a b  
    254254        sed -i  -e "s|@LB_BOOTAPPEND_LIVE@|${LB_BOOTAPPEND_LIVE}|g" \
    255255                -e "s|@LB_BOOTAPPEND_FAILSAFE@|${LB_BOOTAPPEND_FAILSAFE}|g" \
    256256        ${_TARGET}/live.cfg
     257
     258        case "${LB_INITRAMFS}" in
     259                casper)
     260                        sed -i -e "s|boot=live|boot=casper|" \
     261                            ${_SUFFIX}/live.cfg
     262                        ;;
     263        esac
    257264fi
    258265
    259266if [ -e ${_TARGET}/install.cfg ]
Note: See TracBrowser for help on using the repository browser.