Lines Matching defs:dest
1027 static int setup_timezone(const char *dest) {
1033 assert(dest);
1050 where = prefix_roota(dest, "/etc/localtime");
1063 check = prefix_roota(dest, check);
1088 static int setup_resolv_conf(const char *dest) {
1092 assert(dest);
1098 where = prefix_roota(dest, "/etc/resolv.conf");
1132 static int setup_boot_id(const char *dest) {
1144 from = prefix_roota(dest, "/run/proc-sys-kernel-random-boot-id");
1145 to = prefix_roota(dest, "/proc/sys/kernel/random/boot_id");
1166 static int copy_devnodes(const char *dest) {
1181 assert(dest);
1186 if (userns_mkdir(dest, "/dev/net", 0755, 0, 0) < 0)
1194 to = prefix_root(dest, from);
1229 static int setup_pts(const char *dest) {
1250 p = prefix_roota(dest, "/dev/pts");
1260 p = prefix_roota(dest, "/dev/ptmx");
1268 p = prefix_roota(dest, "/dev/pts/ptmx");
1276 static int setup_dev_console(const char *dest, const char *console) {
1281 assert(dest);
1294 to = prefix_roota(dest, "/dev/console");
1305 static int setup_kmsg(const char *dest, int kmsg_socket) {
1321 from = prefix_roota(dest, "/run/kmsg");
1322 to = prefix_roota(dest, "/proc/kmsg");