diff options
Diffstat (limited to 'pbuilder-user-mode-linux')
-rwxr-xr-x | pbuilder-user-mode-linux | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pbuilder-user-mode-linux b/pbuilder-user-mode-linux index 7a8b28d..19dc2a9 100755 --- a/pbuilder-user-mode-linux +++ b/pbuilder-user-mode-linux @@ -168,8 +168,12 @@ case "${OPERATION}" in operate_uml login ;; execute) - usecow - EXTRACLEANUP=cleancow + if [ "${UML_LOGIN_NOCOW}" = "yes" ]; then + echo " -> Not using COW filesystem for login session, modifications to this session will persist" + else + usecow + EXTRACLEANUP=cleancow + fi shift; UML_EXECUTE_EXTRAOPT="${UML_EXECUTE_EXTRAOPT} $@" operate_uml execute |