slitaz-arm diff rpi/tazbian @ rev 219

dot command may not search current directory first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 23 13:50:45 2017 +0200 (24 months ago)
parents 9c7847becd6b
children
line diff
     1.1 --- a/rpi/tazbian	Thu May 05 17:03:59 2016 +0200
     1.2 +++ b/rpi/tazbian	Sun Jul 23 13:50:45 2017 +0200
     1.3 @@ -114,7 +114,7 @@
     1.4  EOT
     1.5  
     1.6  [ -s slitaz-rpi-base*/boot/kernel7.img ] ||
     1.7 -sed -i 's#.*d /proc/sys/dev/cdrom#grep -q subroot= /proc/cmdline || for d in /dev/mmc*p[2-9]; do\n\tumount /mnt\n\tmount -r $d /mnt \&\&\n\tcp -a /mnt/lib/firmware /lib/ \&\&\n\tcp -a /mnt/lib/modules/$(uname -r) /lib/modules/ \&\& break\ndone 2> /dev/null\numount /mnt\n\n&#' init
     1.8 +sed -i 's#.*d /proc/sys/dev/cdrom#grep -q subroot= /proc/cmdline || for d in /dev/mmc*p[2-9]; do\n\tumount /mnt\n\tmount -r $d /mnt \&\&\n\tcp -a /mnt/lib/firmware /lib/ \&\&\n\tcp -a /mnt/lib/modules/$(uname -r) /lib/modules/ \&\& break\n\tcp -a /mnt/shared/lib/firmware /lib/ \&\&\n\tcp -a /mnt/shared/lib/modules/$(uname -r) /lib/modules/ \&\& break\ndone 2> /dev/null\numount /mnt\n\n&#' init
     1.9  mv init $BASE/rdinit
    1.10  sed -i 's/.*mmcblk0p[2-9].*/# &/;s/noatime/noauto,&/' $BASE/etc/fstab $LIVE/etc/fstab
    1.11  wget http://cook.slitaz.org/cross/arm/packages/packages.list