chiark / gitweb /
machined: when cloning a raw disk image, also set the NOCOW flag
[elogind.git] / src / firstboot / firstboot.c
index d087ef35e913d4ed0ee62bc7f796e1c0729958fc..ce79574b906b12ea5c9ca73064c79a4145dde834 100644 (file)
@@ -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);