summaryrefslogtreecommitdiff
path: root/src/firstboot/firstboot.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-08 19:15:49 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-08 23:13:45 +0100
commitf2068bcce01db31cdc9422f44185f3b49c04d2ce (patch)
treefd5f6ddf9b0c36e9deb24252267d5ecce0cb2fe3 /src/firstboot/firstboot.c
parente45fc5e738b0b7700e8b4f3c4b25c58a49b44b27 (diff)
machined: when cloning a raw disk image, also set the NOCOW flag
Diffstat (limited to 'src/firstboot/firstboot.c')
-rw-r--r--src/firstboot/firstboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c
index d087ef35e9..ce79574b90 100644
--- a/src/firstboot/firstboot.c
+++ b/src/firstboot/firstboot.c
@@ -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);