Searched refs:arg_root (Results 1 - 7 of 7) sorted by relevance

/systemd/src/machine-id-setup/
H A Dmachine-id-setup-main.c30 static char *arg_root = NULL; variable
76 r = parse_path_argument_and_warn(optarg, true, &arg_root);
111 r = machine_id_commit(arg_root);
113 r = machine_id_setup(arg_root, SD_ID128_NULL);
116 free(arg_root);
/systemd/src/firstboot/
H A Dfirstboot.c44 static char *arg_root = NULL; variable
83 os_release = prefix_roota(arg_root, "/etc/os-release");
89 os_release = prefix_roota(arg_root, "/usr/lib/os-release");
247 etc_localeconf = prefix_roota(arg_root, "/etc/locale.conf");
251 if (arg_copy_locale && arg_root) {
321 etc_localtime = prefix_roota(arg_root, "/etc/localtime");
325 if (arg_copy_timezone && arg_root) {
401 etc_hostname = prefix_roota(arg_root, "/etc/hostname");
426 etc_machine_id = prefix_roota(arg_root, "/etc/machine-id");
452 etc_shadow = prefix_roota(arg_root, "/et
[all...]
/systemd/src/sysusers/
H A Dsysusers.c71 static char *arg_root = NULL; variable
92 passwd_path = prefix_roota(arg_root, "/etc/passwd");
144 group_path = prefix_roota(arg_root, "/etc/group");
386 group_path = prefix_roota(arg_root, "/etc/group");
467 gshadow_path = prefix_roota(arg_root, "/etc/gshadow");
534 passwd_path = prefix_roota(arg_root, "/etc/passwd");
621 shadow_path = prefix_roota(arg_root, "/etc/shadow");
793 if (!arg_root) {
816 fix = prefix_roota(arg_root, p);
896 if (!arg_root) {
[all...]
/systemd/src/hwdb/
H A Dhwdb.c45 static const char *arg_root = ""; variable
616 r = conf_files_list_strv(&files, ".hwdb", arg_root, conf_file_dirs);
642 hwdb_bin = strjoin(arg_root, "/", arg_hwdb_bin_dir, "/hwdb.bin", NULL);
701 arg_root = optarg;
/systemd/src/tmpfiles/
H A Dtmpfiles.c158 static char *arg_root = NULL; variable
1229 if (btrfs_is_subvol(isempty(arg_root) ? "/" : arg_root) <= 0)
1997 if (arg_root) {
2000 p = prefix_root(arg_root, i.path);
2183 r = parse_path_argument_and_warn(optarg, true, &arg_root);
2213 r = search_and_fopen_nulstr(fn, "re", arg_root, conf_file_dirs, &f);
2316 r = conf_files_list_nulstr(&files, ".conf", arg_root, conf_file_dirs);
2357 free(arg_root);
/systemd/src/systemctl/
H A Dsystemctl.c119 static char *arg_root = NULL; variable
291 if (!isempty(arg_root))
1380 r = unit_file_get_list(arg_scope, arg_root, h);
1937 r = unit_file_get_default(arg_scope, arg_root, &_path);
2001 r = unit_file_set_default(arg_scope, arg_root, unit, true, &changes, &n_changes);
2287 path = path_join(arg_root, *p, unit_name);
4752 r = lookup_paths_init_from_scope(lp, arg_scope, arg_root);
5222 r = lookup_paths_init(&paths, MANAGER_SYSTEM, false, arg_root, NULL, NULL, NULL);
5249 path = path_join(arg_root, *k, name);
5264 p = path_join(arg_root, SYSTEM_SYSVINIT_PAT
[all...]
/systemd/src/journal/
H A Djournalctl.c118 static char *arg_root = NULL; variable
605 r = parse_path_argument_and_warn(optarg, true, &arg_root);
2051 database = path_join(arg_root, CATALOG_DATABASE, NULL);
2058 r = catalog_update(database, arg_root, catalog_file_dirs);
2499 free(arg_root);

Completed in 2781 milliseconds