Ignore:
Timestamp:
2011-12-11T18:28:01+01:00 (5 years ago)
Author:
jow
Message:

[backfire] block-mount: do not hotplug-mount partitions marked as overlay root, hopefully stops the endless "my extroot does not work" posts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/block-mount/files/block.sh

    r27227 r29502  
    226226        } 
    227227        config_foreach config_get_mount mount "$msbd_device" 
    228         [ -n "$msbd_mount_device" ] && config_create_mount_fstab_entry "$msbd_mount_device" "$msbd_target" "$msbd_fstype" "$msbd_options" "$msbd_enabled"  
    229         mount_dev_section_cb "$msbd_mount_cfg" "$msbd_target" "$msbd_mount_device" "$msbd_fstype" "$msbd_options" "$msbd_enabled" "$msbd_enabled_fsck" "$msbd_uuid" "$msbd_label" "$msbd_is_rootfs" 
     228        [ "$msbd_is_rootfs" -gt 0 ] || { 
     229                [ -n "$msbd_mount_device" ] && config_create_mount_fstab_entry "$msbd_mount_device" "$msbd_target" "$msbd_fstype" "$msbd_options" "$msbd_enabled"  
     230                mount_dev_section_cb "$msbd_mount_cfg" "$msbd_target" "$msbd_mount_device" "$msbd_fstype" "$msbd_options" "$msbd_enabled" "$msbd_enabled_fsck" "$msbd_uuid" "$msbd_label" "$msbd_is_rootfs" 
     231        } 
    230232        reset_block_cb 
    231233} 
Note: See TracChangeset for help on using the changeset viewer.