Lines Matching defs:etc_localeconf
242 const char *etc_localeconf;
247 etc_localeconf = prefix_roota(arg_root, "/etc/locale.conf");
248 if (faccessat(AT_FDCWD, etc_localeconf, F_OK, AT_SYMLINK_NOFOLLOW) >= 0)
253 mkdir_parents(etc_localeconf, 0755);
254 r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, 0);
257 return log_error_errno(r, "Failed to copy %s: %m", etc_localeconf);
259 log_info("%s copied.", etc_localeconf);
278 mkdir_parents(etc_localeconf, 0755);
279 r = write_env_file(etc_localeconf, locales);
281 return log_error_errno(r, "Failed to write %s: %m", etc_localeconf);
283 log_info("%s written.", etc_localeconf);