Changeset 20706


Ignore:
Timestamp:
2010-04-04T17:54:14+02:00 (8 years ago)
Author:
nico
Message:

[backfire] sysupgrade: backport r20703

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/target/linux/x86/base-files/lib/upgrade/platform.sh

    r20538 r20706  
    1818        grep -q -e "jffs2" -e "squashfs" /proc/cmdline \ 
    1919                && ROOTFS="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "block2mtd.block2mtd") { print substr($2,1,index($2, ",")-1) }' < /proc/cmdline)" \ 
    20                 || ROOTFS="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "root") { print $2 ) }' < /proc/cmdline)" 
     20                || ROOTFS="$(awk 'BEGIN { RS=" "; FS="="; } ($1 == "root") { print $2 }' < /proc/cmdline)" 
    2121        [ -b ${ROOTFS%[0-9]} ] && get_image "$1" > ${ROOTFS%[0-9]} 
    2222} 
Note: See TracChangeset for help on using the changeset viewer.