source: live-build/trunk/fuentes/debian/patches/ubuntu-kernel-img-conf.patch @ 900

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

add original source

File size: 895 bytes
  • scripts/build/lb_chroot_linux-image

    Description: Put kernel symlinks in /boot on some architectures
     This matches base-installer/library.sh more closely.
    Author: Colin Watson <cjwatson@ubuntu.com>
    Bug-Ubuntu: https://bugs.launchpad.net/bugs/958839
    Forwarded: no
    Last-Update: 2012-04-18
    
    a b  
    118118
    119119        fi
    120120
     121        cat > chroot/etc/kernel-img.conf << EOF
     122# Kernel Image management overrides
     123# See kernel-img.conf(5) for details
     124do_symlinks = yes
     125do_bootloader = no
     126EOF
     127
     128        case "${LB_ARCHITECTURES}" in
     129                alpha|amd64|hppa|i386|ia64|m68k|mips|mipsel)
     130                        ;;
     131
     132                *)
     133                        cat >> chroot/etc/kernel-img.conf << EOF
     134link_in_boot = yes
     135EOF
     136                        ;;
     137        esac
     138
    121139        # Creating stage file
    122140        Create_stagefile .build/chroot_linux-image
    123141fi
Note: See TracBrowser for help on using the repository browser.