X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=0f4ef0d1378921cec5d5b51f2a46d4bcacbb4c00;hb=56d7b4e9c17311dfa071a5ac5cc80a2f1ff8e79f;hp=8761138c0842bcc72fc978a953708d87f675c4a5;hpb=a4b49df943941b4c9feb1acb97d0a2a5d3c723b7;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 8761138..0f4ef0d 100755 --- a/scripts/live +++ b/scripts/live @@ -1151,11 +1151,20 @@ setup_unionfs () # snapshots to be sure to really store some e.g key config files, # but not on the same media blacklistdev="${cowprobe}" + PERSISTENCE_IS_ON="Yes" + export PERSISTENCE_IS_ON fi # homecow just mount something on /home, this should be generalized some way homecow=$(find_cow_device "${home_persistence}" "${blacklistdev}") + if [ -b "${homecow}" ] + then + PERSISTENCE_IS_ON="Yes" + export PERSISTENCE_IS_ON + fi root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}") - # This second type should be removed when snapshot grow smarter + # This second type should be removed when snapshot will get smarter, + # hence when "/etc/live-snapshot*list" will be supported also by + # ext2|ext3|jffs2 snapshot types. home_snapdata=$(find_snap "${home_snapshot_label}" "${blacklistdev}") if [ -b "${cowprobe}" ]