wok diff syslinux/stuff/iso2exe/iso2exe.sh @ rev 13713
syslinux/iso2exe: add loram support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 18 16:09:07 2012 +0100 (2012-12-18) |
parents | d47403fdd900 |
children | b5ea41033c21 |
line diff
1.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh Fri Dec 14 15:43:12 2012 +0100 1.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Tue Dec 18 16:09:07 2012 +0100 1.3 @@ -50,11 +50,12 @@ 1.4 1.5 # keep the largest room for the tazlito info file 1.6 TMP=/tmp/iso2exe$$ 1.7 - mkdir -p $TMP/usr/sbin 1.8 - cp /usr/sbin/mount.posixovl $TMP/usr/sbin/mount.posixovl.iso2exe 1.9 + mkdir -p $TMP/bin $TMP/dev 1.10 + cp /usr/sbin/mount.posixovl $TMP/bin/mount.posixovl.iso2exe 1.11 + cp -a /dev/?d?* $TMP/dev 1.12 $0 --get init > $TMP/init.exe 1.13 - chmod +x $TMP/init.exe $TMP/usr/sbin/mount.posixov* 1.14 - ( cd $TMP ; ls init.exe usr/sbin/mount.posixov* | cpio -o -H newc ) | \ 1.15 + chmod +x $TMP/init.exe $TMP/bin/mount.posixov* 1.16 + ( cd $TMP ; find * | cpio -o -H newc ) | \ 1.17 lzma e $TMP/rootfs.gz -si 2> /dev/null 1.18 SIZE=$(wc -c < $TMP/rootfs.gz) 1.19 store 28 $SIZE $1