Lines Matching refs:etc_vconsoleconf
385 const char *etc_vconsoleconf; in process_keymap() local
389 etc_vconsoleconf = prefix_roota(arg_root, "/etc/vconsole.conf"); in process_keymap()
390 if (laccess(etc_vconsoleconf, F_OK) >= 0 && !arg_force) in process_keymap()
395 (void) mkdir_parents(etc_vconsoleconf, 0755); in process_keymap()
396 r = copy_file("/etc/vconsole.conf", etc_vconsoleconf, 0, 0644, 0, 0, COPY_REFLINK); in process_keymap()
399 … return log_error_errno(r, "Failed to copy %s: %m", etc_vconsoleconf); in process_keymap()
401 log_info("%s copied.", etc_vconsoleconf); in process_keymap()
417 r = mkdir_parents(etc_vconsoleconf, 0755); in process_keymap()
419 … return log_error_errno(r, "Failed to create the parent directory of %s: %m", etc_vconsoleconf); in process_keymap()
421 r = write_env_file(etc_vconsoleconf, keymap); in process_keymap()
423 return log_error_errno(r, "Failed to write %s: %m", etc_vconsoleconf); in process_keymap()
425 log_info("%s written.", etc_vconsoleconf); in process_keymap()