Changeset 26311 for trunk


Ignore:
Timestamp:
2011-03-27T07:39:47+02:00 (5 years ago)
Author:
cshore
Message:

[package] block-mount block-extroot: Rename /tmp/rom-disabled to /tmp/whole_root-dsibled for disabled mounts of a non-overlay external rootfs.

Location:
trunk/package
Files:
2 edited

Legend:

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

    r26109 r26311  
    88        local er_md5sum_file 
    99        er_md5sum_file="${ER_OVERLAY_PREFIX}/.extroot.md5sum" 
     10        local er_disabled 
     11        if [ "${ER_OVERLAY_ROM}" = "/rom" ]; then 
     12                er_disabled=/tmp/whole_root-disabled 
     13        else 
     14                er_disabled=/tmp${ER_OVERLAY_ROM}-disabled 
     15        fi 
    1016 
    1117        local er_extroot_md5sum 
     
    2531        elif [ "$er_extroot_overlay_md5sum" != "$er_extroot_md5sum" ]; then 
    2632                pi_extroot_mount_success="false" 
    27                 mkdir -p /tmp${ER_OVERLAY_ROM}-disabled 
    28                 mount --move ${ER_OVERLAY_ROM} /tmp${ER_OVERLAY_ROM}-disabled 
     33                mkdir -p $er_disabled 
     34                mount --move ${ER_OVERLAY_ROM} $er_disabled 
    2935        fi 
    3036} 
  • trunk/package/block-mount/files/mount.sh

    r26109 r26311  
    4949                                        target=/tmp/overlay-disabled 
    5050                                    elif [ "$target" = "/" ] || [ "$target" = "/rom" ]; then 
    51                                         target="/tmp/rom-disabled" 
     51                                        target="/tmp/whole_root-disabled" 
    5252                                    fi 
    5353                                fi 
Note: See TracChangeset for help on using the changeset viewer.