machined: when cloning a raw disk image, also set the NOCOW flag
This commit is contained in:
@@ -256,7 +256,7 @@ static int process_locale(void) {
|
||||
if (arg_copy_locale && arg_root) {
|
||||
|
||||
mkdir_parents(etc_localeconf, 0755);
|
||||
r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644);
|
||||
r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, 0);
|
||||
if (r != -ENOENT) {
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to copy %s: %m", etc_localeconf);
|
||||
|
||||
Reference in New Issue
Block a user