Changeset 1364


Ignore:
Timestamp:
May 3, 2016, 11:48:09 AM (3 years ago)
Author:
kbut
Message:

add support to create iso with xorriso

Location:
lliurex-maker/trunk/fuentes/new/usr/share/lliurex-maker/auto
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-maker/trunk/fuentes/new/usr/share/lliurex-maker/auto/build

    r1349 r1364  
    4141#! /bin/sh
    4242kernel=$(ls binary/casper/vmlinuz-* | grep -v efi | sort -r | head -1)
     43kernel_efi=$(ls binary/casper/vmlinuz-* | grep efi | sort -r | head -1)
    4344cp $kernel binary/casper/vmlinuz
     45cp $kernel_efi binary/casper/vmlinuz.efi
    4446cp binary/casper/initrd.img* binary/casper/initrd.lz
    4547EOF
     
    5456        rm chroot/etc/apt/sources.list.d/* || true
    5557        cp -r config/final_apt/* chroot/etc/apt/ || true
    56         lb binary "$@"
     58
     59        if [ = 'amd64']; then
     60                cp /usr/lib/live/build/lb_binary custom_binary
     61                sed -i -e 's%^lb binary_iso ${\*}%auto/lliurexbuildiso ${*}%g' custom_binary
     62                chmod +x custom_binary
     63                ./custom_binary "$@"
     64        else
     65                lb binary "$@"
     66        fi
    5767        touch binary.success
    5868) 2>&1 | tee binary.log
Note: See TracChangeset for help on using the changeset viewer.