projects
/
project
/
fstools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update / fix extroot comments
[project/fstools.git]
/
libfstools
/
overlay.c
diff --git
a/libfstools/overlay.c
b/libfstools/overlay.c
index 87fad1144397d99b735aa1418365c6aaeda1a8cf..352f0f23aff7f2c08f29873db24fe9b555e63e2b 100644
(file)
--- a/
libfstools/overlay.c
+++ b/
libfstools/overlay.c
@@
-431,6
+431,10
@@
int mount_overlay(struct volume *v)
if (err)
return err;
+ /*
+ * Check for extroot config in overlay (rootfs_data) and if present then
+ * prefer it over rootfs_data.
+ */
extroot_prefix = "/tmp/overlay";
if (!mount_extroot()) {
ULOG_INFO("switched to extroot\n");