From f2068bcce01db31cdc9422f44185f3b49c04d2ce Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 8 Jan 2015 19:15:49 +0100 Subject: machined: when cloning a raw disk image, also set the NOCOW flag --- src/firstboot/firstboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/firstboot') 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); -- cgit v1.2.3-54-g00ecf