Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 14753:5ab0716094d5

busybox-boot: create /usr/share/boot/initrd (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 19:55:07 2013 +0200 (15 months ago ago)
parents 1b959b4585bf
children 9437b72fef7a
files busybox-boot/receipt
line diff
     1.1 --- a/busybox-boot/receipt	Sun Jun 16 19:52:34 2013 +0200
     1.2 +++ b/busybox-boot/receipt	Sun Jun 16 19:55:07 2013 +0200
     1.3 @@ -79,8 +79,8 @@
     1.4  TTY=\$(tty 2>/dev/null)
     1.5  TTY=\${TTY:-/dev/tty1}
     1.6  EOT
     1.7 -	$jslinux && echo 'stty -F $TTY rows 30 2>/dev/null' >> $fs/init
     1.8 -	cat >> $fs/init <<EOT
     1.9 +	$jslinux && echo 'stty -F $TTY rows 30 2>/dev/null' >> $fs/usr/share/boot/init
    1.10 +	cat >> $fs/usr/share/boot/init <<EOT
    1.11  
    1.12  busybox | sed '/Current/,\$!d'
    1.13  while true; do
    1.14 @@ -92,6 +92,6 @@
    1.15  done
    1.16  EOT
    1.17  	chmod +x $fs/usr/share/boot/init
    1.18 -	( cd $fs/usr/share/boot ; find bin dev init | cpio -o -H newc ) > initrd 
    1.19 +	( cd $fs/usr/share/boot ; find bin dev init | cpio -o -H newc > initrd )
    1.20  	rm -rf $fs/usr/share/boot/bin $fs/usr/share/boot/dev $fs/usr/share/boot/init
    1.21  }