Changeset 7486


Ignore:
Timestamp:
Jun 19, 2018, 2:11:24 PM (12 months ago)
Author:
kbut
Message:

add patch for get last kernel and last initrd

Location:
lliurex-maker/trunk/fuentes
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-maker/trunk/fuentes/debian/changelog

    r6115 r7486  
     1lliurex-maker (3.13) xenial; urgency=medium
     2
     3  * Fix bug with fixvmlinuz hook
     4
     5 -- Raul Rodrigo Segura <raurodse@gmail.com>  Tue, 19 Jun 2018 14:09:23 +0200
     6
    17lliurex-maker (3.12) xenial; urgency=medium
    28
  • lliurex-maker/trunk/fuentes/debian/control

    r4423 r7486  
    88Package: lliurex-maker
    99Architecture: all
    10 Depends: ${misc:Depends}, live-build (>=3.0~a57-1ubuntu25+lliurex1), curl, reprepro, syslinux, syslinux-themes-ubuntu-xenial, gfxboot-theme-ubuntu, syslinux-utils, squashfs-tools, livecd-rootfs, genisoimage, syslinux-themes-lliurex, xorriso, lliurex-preseed-common, lzma (>=9.22-2ubuntu2)
     10Depends: ${misc:Depends}, live-build (>=3.0~a57-1ubuntu25+lliurex1), curl, reprepro, syslinux, syslinux-themes-ubuntu-xenial, gfxboot-theme-ubuntu, syslinux-utils, squashfs-tools, livecd-rootfs, genisoimage, syslinux-themes-lliurex, xorriso, lliurex-preseed-common, lzma (>=9.22-2ubuntu2), python-apt
    1111Description: Contains lliurex-maker
    1212 This package contains the : lliurex-maker
  • lliurex-maker/trunk/fuentes/new/usr/share/lliurex-maker/auto/build

    r5477 r7486  
    4040        cat > config/hooks/fixvmlinuz.binary <<'EOF'
    4141#! /bin/sh
    42 kernel=$(ls binary/casper/vmlinuz-*-generic | grep -v efi | sort -r | head -1)
    43 kernel_efi=$(ls binary/casper/vmlinuz-* | grep efi | sort -r | head -1)
     42kernel=$(ls binary/casper/vmlinuz-*-generic | grep -v efi | sort_by_version | tac | head -1)
     43kernel_efi=$(ls binary/casper/vmlinuz-* | grep efi | sort_by_version | tac | head -1)
     44initrd=$(ls binary/casper/initrd.img-* | grep -v efi | sort_by_version | tac | head -1)
    4445if [ ! -z $kernel ]; then
    4546        cp $kernel binary/casper/vmlinuz
     
    4950fi
    5051
    51 cp binary/casper/initrd.img*-generic binary/casper/initrd.lz
     52cp $initrd binary/casper/initrd.lz
     53EOF
     54
    5255EOF
    5356
Note: See TracChangeset for help on using the changeset viewer.