wok-current rev 19577
unetbootin: slitaz support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 11:44:11 2016 +0100 (2016-12-24) |
parents | 8a69b8b11dfd |
children | 00f617fc019e |
files | ipxe/receipt unetbootin/receipt |
line diff
1.1 --- a/ipxe/receipt Sat Dec 24 11:22:27 2016 +0100 1.2 +++ b/ipxe/receipt Sat Dec 24 11:44:11 2016 +0100 1.3 @@ -35,6 +35,7 @@ 1.4 { 1.5 mkdir $fs/boot 1.6 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe 1.7 + ln $fs/boot/ipxe $fs/boot/gpxe 1.8 OFS=$((0x156)) 1.9 unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \ 1.10 seek=$OFS count=$((0x1F0-$OFS))
2.1 --- a/unetbootin/receipt Sat Dec 24 11:22:27 2016 +0100 2.2 +++ b/unetbootin/receipt Sat Dec 24 11:44:11 2016 +0100 2.3 @@ -11,18 +11,23 @@ 2.4 WGET_URL="https://github.com/unetbootin/unetbootin/archive/$VERSION.tar.gz" 2.5 2.6 DEPENDS="syslinux p7zip-full libQtCore libQtGui libQtNetwork" 2.7 -BUILD_DEPENDS="qmake Qt4-dev" 2.8 +BUILD_DEPENDS="qmake Qt4-dev upx" 2.9 SUGGESTED="bash gparted xz" 2.10 2.11 # Rules to configure and make the package. 2.12 compile_rules() 2.13 { 2.14 cd $src/src/unetbootin 2.15 + sed -i 's/Cooking/Rolling/' distrover*.cpp 2.16 + #sed -i 's/gpxe/ipxe/'distrolst.cpp 2.17 + sed -i 's/"rootfs.gz"/& << "rootfs1.gz" << "rootfs2.gz" << "rootfs3.gz" << "rootfs4.gz"/' unetbootin.cpp 2.18 + sed -i '/^RESOURCES/d' unetbootin.pro 2.19 sed -i '/^RESOURCES/d' unetbootin.pro 2.20 lupdate unetbootin.pro 2.21 lrelease unetbootin.pro 2.22 qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc" 2.23 make 2.24 + upx unetbootin 2.25 } 2.26 2.27 # Rules to gen a SliTaz package suitable for Tazpkg.