Changeset 25270


Ignore:
Timestamp:
2011-02-01T08:43:21+01:00 (6 years ago)
Author:
cshore
Message:

[package]: block-extroot. Merged r25269. Fixed the (wanted) disabling of extroot after a sysupgrade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/block-extroot/files/55_determine_extroot_sysupgrade

    r24231 r25270  
    1414        fi 
    1515 
     16        local er_overlay_file="/overlay/etc/extroot.md5sum" 
     17 
    1618        local er_extroot_overlay_md5sum 
    17         if [ -f "/overlay/etc/extroot.md5sum" ]; then 
    18                 er_extroot_overlay_md5sum="$(cat /overlay/.extroot.md5sum)" 
     19        if [ -f "$er_overlay_file" ]; then 
     20                er_extroot_overlay_md5sum="$(cat $er_overlay_file)" 
    1921        fi 
    2022 
    2123        if [ -z "$er_extroot_overlay_md5sum" ]; then 
    22                 cat $er_md5sum_file >/overlay/.extroot.md5sum 
     24                cat $er_md5sum_file >$er_overlay_file 
    2325        elif [ "$er_extroot_overlay_md5sum" != "$er_extroot_md5sum" ]; then 
    2426                pi_extroot_mount_success="false" 
Note: See TracChangeset for help on using the changeset viewer.