persistent changes

This commit is contained in:
Tomas M
2012-09-27 10:22:03 -05:00
parent 7f9aecfc3a
commit 1633d3369e
3 changed files with 74 additions and 14 deletions
+11 -11
View File
@@ -26,25 +26,25 @@ init_devs
init_aufs
init_zram
init_union "$CHANGES" "$UNION"
# find data dir with filesystem bundles
DATA="$(find_data 60 "$DATAMNT")"
debug_shell
# setup persistent changes, if possible
persistent_changes "$DATA" "$CHANGES"
debug_shell
# copy to RAM if needed
DATA="$(copy_to_ram "$DATA")"
debug_shell
DATA="$(copy_to_ram "$DATA" "$CHANGES")"
debug_shell
# init aufs union
init_union "$CHANGES" "$UNION"
debug_shell
# add data to union
union_append_bundles "$DATA" "$BUNDLES" "$UNION"
debug_shell
# create empty fstab
fstab_create "$UNION"
debug_shell
header "Live Kit done, starting $LIVEKITNAME"
debug_shell
change_root "$UNION"
header "!!ERROR occured, you shouldn't be here.!!"