summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am50
-rw-r--r--am-pat-rules.mk15
-rw-r--r--am-pretty.mk54
-rw-r--r--am-tools.mk11
-rwxr-xr-xautogen.sh2
-rw-r--r--automake.head.mk2
-rw-r--r--common.each.head.mk0
-rw-r--r--common.each.tail.mk1
-rw-r--r--common.once.head.mk25
-rw-r--r--config.mk237
-rw-r--r--config.mk.in82
-rw-r--r--configure.ac5
-rw-r--r--src/journal/catalog/systemd.be.catalog (renamed from catalog/systemd.be.catalog)0
-rw-r--r--src/journal/catalog/systemd.be@latin.catalog (renamed from catalog/systemd.be@latin.catalog)0
-rw-r--r--src/journal/catalog/systemd.catalog (renamed from catalog/systemd.catalog)0
-rw-r--r--src/journal/catalog/systemd.da.catalog (renamed from catalog/systemd.da.catalog)0
-rw-r--r--src/journal/catalog/systemd.fr.catalog (renamed from catalog/systemd.fr.catalog)0
-rw-r--r--src/journal/catalog/systemd.hu.catalog (renamed from catalog/systemd.hu.catalog)0
-rw-r--r--src/journal/catalog/systemd.it.catalog (renamed from catalog/systemd.it.catalog)0
-rw-r--r--src/journal/catalog/systemd.ko.catalog (renamed from catalog/systemd.ko.catalog)0
-rw-r--r--src/journal/catalog/systemd.pl.catalog (renamed from catalog/systemd.pl.catalog)0
-rw-r--r--src/journal/catalog/systemd.pt_BR.catalog (renamed from catalog/systemd.pt_BR.catalog)0
-rw-r--r--src/journal/catalog/systemd.ru.catalog (renamed from catalog/systemd.ru.catalog)0
-rw-r--r--src/journal/catalog/systemd.sr.catalog (renamed from catalog/systemd.sr.catalog)0
-rw-r--r--src/journal/catalog/systemd.zh_CN.catalog (renamed from catalog/systemd.zh_CN.catalog)0
-rw-r--r--src/journal/catalog/systemd.zh_TW.catalog (renamed from catalog/systemd.zh_TW.catalog)0
-rw-r--r--src/kernel-install/Makefile4
-rw-r--r--src/kernel-install/bash-completion_kernel-install (renamed from shell-completion/bash/kernel-install)0
-rw-r--r--src/kernel-install/kernel-install.xml (renamed from man/kernel-install.xml)0
-rw-r--r--src/kernel-install/zsh-completion_kernel-install (renamed from shell-completion/zsh/_kernel-install)0
-rw-r--r--src/libbasic/.gitignore (renamed from src/basic/.gitignore)0
-rw-r--r--src/libbasic/Makefile (renamed from src/basic/Makefile)48
-rw-r--r--src/libbasic/MurmurHash2.c (renamed from src/basic/MurmurHash2.c)0
-rw-r--r--src/libbasic/MurmurHash2.h (renamed from src/basic/MurmurHash2.h)0
-rw-r--r--src/libbasic/af-list.c (renamed from src/basic/af-list.c)0
-rw-r--r--src/libbasic/af-list.h (renamed from src/basic/af-list.h)0
-rw-r--r--src/libbasic/alloc-util.c (renamed from src/basic/alloc-util.c)0
-rw-r--r--src/libbasic/alloc-util.h (renamed from src/basic/alloc-util.h)0
-rw-r--r--src/libbasic/arphrd-list.c (renamed from src/basic/arphrd-list.c)0
-rw-r--r--src/libbasic/arphrd-list.h (renamed from src/basic/arphrd-list.h)0
-rw-r--r--src/libbasic/async.c (renamed from src/basic/async.c)0
-rw-r--r--src/libbasic/async.h (renamed from src/basic/async.h)0
-rw-r--r--src/libbasic/audit-util.c (renamed from src/basic/audit-util.c)0
-rw-r--r--src/libbasic/audit-util.h (renamed from src/basic/audit-util.h)0
-rw-r--r--src/libbasic/barrier.c (renamed from src/basic/barrier.c)0
-rw-r--r--src/libbasic/barrier.h (renamed from src/basic/barrier.h)0
-rw-r--r--src/libbasic/bitmap.c (renamed from src/basic/bitmap.c)0
-rw-r--r--src/libbasic/bitmap.h (renamed from src/basic/bitmap.h)0
-rw-r--r--src/libbasic/blkid-util.h (renamed from src/basic/blkid-util.h)0
-rw-r--r--src/libbasic/btrfs-ctree.h (renamed from src/basic/btrfs-ctree.h)0
-rw-r--r--src/libbasic/btrfs-util.c (renamed from src/basic/btrfs-util.c)0
-rw-r--r--src/libbasic/btrfs-util.h (renamed from src/basic/btrfs-util.h)2
-rw-r--r--src/libbasic/build.h (renamed from src/basic/build.h)0
-rw-r--r--src/libbasic/bus-label.c (renamed from src/basic/bus-label.c)0
-rw-r--r--src/libbasic/bus-label.h (renamed from src/basic/bus-label.h)0
-rw-r--r--src/libbasic/c-rbtree.c (renamed from src/basic/c-rbtree.c)0
-rw-r--r--src/libbasic/c-rbtree.h (renamed from src/basic/c-rbtree.h)0
-rw-r--r--src/libbasic/calendarspec.c (renamed from src/basic/calendarspec.c)0
-rw-r--r--src/libbasic/calendarspec.h (renamed from src/basic/calendarspec.h)0
-rw-r--r--src/libbasic/cap-list.c (renamed from src/basic/cap-list.c)0
-rw-r--r--src/libbasic/cap-list.h (renamed from src/basic/cap-list.h)0
-rw-r--r--src/libbasic/capability-util.c (renamed from src/basic/capability-util.c)0
-rw-r--r--src/libbasic/capability-util.h (renamed from src/basic/capability-util.h)0
-rw-r--r--src/libbasic/cgroup-util.c (renamed from src/basic/cgroup-util.c)0
-rw-r--r--src/libbasic/cgroup-util.h (renamed from src/basic/cgroup-util.h)0
-rw-r--r--src/libbasic/chattr-util.c (renamed from src/basic/chattr-util.c)0
-rw-r--r--src/libbasic/chattr-util.h (renamed from src/basic/chattr-util.h)0
-rw-r--r--src/libbasic/clock-util.c (renamed from src/basic/clock-util.c)0
-rw-r--r--src/libbasic/clock-util.h (renamed from src/basic/clock-util.h)0
-rw-r--r--src/libbasic/conf-files.c (renamed from src/basic/conf-files.c)0
-rw-r--r--src/libbasic/conf-files.h (renamed from src/basic/conf-files.h)0
-rw-r--r--src/libbasic/copy.c (renamed from src/basic/copy.c)0
-rw-r--r--src/libbasic/copy.h (renamed from src/basic/copy.h)0
-rw-r--r--src/libbasic/cpu-set-util.c (renamed from src/basic/cpu-set-util.c)0
-rw-r--r--src/libbasic/cpu-set-util.h (renamed from src/basic/cpu-set-util.h)0
-rw-r--r--src/libbasic/def.h (renamed from src/basic/def.h)0
-rw-r--r--src/libbasic/device-nodes.c (renamed from src/basic/device-nodes.c)0
-rw-r--r--src/libbasic/device-nodes.h (renamed from src/basic/device-nodes.h)0
-rw-r--r--src/libbasic/dirent-util.c (renamed from src/basic/dirent-util.c)0
-rw-r--r--src/libbasic/dirent-util.h (renamed from src/basic/dirent-util.h)0
-rw-r--r--src/libbasic/env-util.c (renamed from src/basic/env-util.c)0
-rw-r--r--src/libbasic/env-util.h (renamed from src/basic/env-util.h)0
-rw-r--r--src/libbasic/errno-list.c (renamed from src/basic/errno-list.c)0
-rw-r--r--src/libbasic/errno-list.h (renamed from src/basic/errno-list.h)0
-rw-r--r--src/libbasic/escape.c (renamed from src/basic/escape.c)0
-rw-r--r--src/libbasic/escape.h (renamed from src/basic/escape.h)0
-rw-r--r--src/libbasic/ether-addr-util.c (renamed from src/basic/ether-addr-util.c)0
-rw-r--r--src/libbasic/ether-addr-util.h (renamed from src/basic/ether-addr-util.h)0
-rw-r--r--src/libbasic/exit-status.c (renamed from src/basic/exit-status.c)0
-rw-r--r--src/libbasic/exit-status.h (renamed from src/basic/exit-status.h)0
-rw-r--r--src/libbasic/extract-word.c (renamed from src/basic/extract-word.c)0
-rw-r--r--src/libbasic/extract-word.h (renamed from src/basic/extract-word.h)0
-rw-r--r--src/libbasic/fd-util.c (renamed from src/basic/fd-util.c)0
-rw-r--r--src/libbasic/fd-util.h (renamed from src/basic/fd-util.h)0
-rw-r--r--src/libbasic/fdset.c (renamed from src/basic/fdset.c)2
-rw-r--r--src/libbasic/fdset.h (renamed from src/basic/fdset.h)0
-rw-r--r--src/libbasic/fileio-label.c (renamed from src/basic/fileio-label.c)0
-rw-r--r--src/libbasic/fileio-label.h (renamed from src/basic/fileio-label.h)0
-rw-r--r--src/libbasic/fileio.c (renamed from src/basic/fileio.c)0
-rw-r--r--src/libbasic/fileio.h (renamed from src/basic/fileio.h)0
-rw-r--r--src/libbasic/formats-util.h (renamed from src/basic/formats-util.h)0
-rw-r--r--src/libbasic/fs-util.c (renamed from src/basic/fs-util.c)0
-rw-r--r--src/libbasic/fs-util.h (renamed from src/basic/fs-util.h)0
-rw-r--r--src/libbasic/glob-util.c (renamed from src/basic/glob-util.c)0
-rw-r--r--src/libbasic/glob-util.h (renamed from src/basic/glob-util.h)0
-rw-r--r--src/libbasic/gunicode.c (renamed from src/basic/gunicode.c)0
-rw-r--r--src/libbasic/gunicode.h (renamed from src/basic/gunicode.h)0
-rw-r--r--src/libbasic/hash-funcs.c (renamed from src/basic/hash-funcs.c)0
-rw-r--r--src/libbasic/hash-funcs.h (renamed from src/basic/hash-funcs.h)0
-rw-r--r--src/libbasic/hashmap.c (renamed from src/basic/hashmap.c)0
-rw-r--r--src/libbasic/hashmap.h (renamed from src/basic/hashmap.h)0
-rw-r--r--src/libbasic/hexdecoct.c (renamed from src/basic/hexdecoct.c)0
-rw-r--r--src/libbasic/hexdecoct.h (renamed from src/basic/hexdecoct.h)0
-rw-r--r--src/libbasic/hostname-util.c (renamed from src/basic/hostname-util.c)0
-rw-r--r--src/libbasic/hostname-util.h (renamed from src/basic/hostname-util.h)0
-rw-r--r--src/libbasic/in-addr-util.c (renamed from src/basic/in-addr-util.c)0
-rw-r--r--src/libbasic/in-addr-util.h (renamed from src/basic/in-addr-util.h)0
-rw-r--r--src/libbasic/io-util.c (renamed from src/basic/io-util.c)0
-rw-r--r--src/libbasic/io-util.h (renamed from src/basic/io-util.h)0
-rw-r--r--src/libbasic/ioprio.h (renamed from src/basic/ioprio.h)0
-rw-r--r--src/libbasic/json.c (renamed from src/basic/json.c)0
-rw-r--r--src/libbasic/json.h (renamed from src/basic/json.h)0
-rw-r--r--src/libbasic/label.c (renamed from src/basic/label.c)0
-rw-r--r--src/libbasic/label.h (renamed from src/basic/label.h)0
-rw-r--r--src/libbasic/list.h (renamed from src/basic/list.h)0
-rw-r--r--src/libbasic/locale-util.c (renamed from src/basic/locale-util.c)0
-rw-r--r--src/libbasic/locale-util.h (renamed from src/basic/locale-util.h)0
-rw-r--r--src/libbasic/lockfile-util.c (renamed from src/basic/lockfile-util.c)0
-rw-r--r--src/libbasic/lockfile-util.h (renamed from src/basic/lockfile-util.h)0
-rw-r--r--src/libbasic/log.c (renamed from src/basic/log.c)2
-rw-r--r--src/libbasic/log.h (renamed from src/basic/log.h)2
-rw-r--r--src/libbasic/login-util.c (renamed from src/basic/login-util.c)0
-rw-r--r--src/libbasic/login-util.h (renamed from src/basic/login-util.h)0
-rw-r--r--src/libbasic/macro.h (renamed from src/basic/macro.h)0
-rw-r--r--src/libbasic/memfd-util.c (renamed from src/basic/memfd-util.c)0
-rw-r--r--src/libbasic/memfd-util.h (renamed from src/basic/memfd-util.h)0
-rw-r--r--src/libbasic/mempool.c (renamed from src/basic/mempool.c)0
-rw-r--r--src/libbasic/mempool.h (renamed from src/basic/mempool.h)0
-rw-r--r--src/libbasic/missing.h (renamed from src/basic/missing.h)0
-rw-r--r--src/libbasic/mkdir-label.c (renamed from src/basic/mkdir-label.c)0
-rw-r--r--src/libbasic/mkdir.c (renamed from src/basic/mkdir.c)0
-rw-r--r--src/libbasic/mkdir.h (renamed from src/basic/mkdir.h)0
-rw-r--r--src/libbasic/mount-util.c (renamed from src/basic/mount-util.c)0
-rw-r--r--src/libbasic/mount-util.h (renamed from src/basic/mount-util.h)0
-rw-r--r--src/libbasic/nss-util.h (renamed from src/basic/nss-util.h)0
-rw-r--r--src/libbasic/ordered-set.c (renamed from src/basic/ordered-set.c)0
-rw-r--r--src/libbasic/ordered-set.h (renamed from src/basic/ordered-set.h)0
-rw-r--r--src/libbasic/parse-util.c (renamed from src/basic/parse-util.c)0
-rw-r--r--src/libbasic/parse-util.h (renamed from src/basic/parse-util.h)0
-rw-r--r--src/libbasic/path-util.c (renamed from src/basic/path-util.c)0
-rw-r--r--src/libbasic/path-util.h (renamed from src/basic/path-util.h)0
-rw-r--r--src/libbasic/prioq.c (renamed from src/basic/prioq.c)0
-rw-r--r--src/libbasic/prioq.h (renamed from src/basic/prioq.h)0
-rw-r--r--src/libbasic/proc-cmdline.c (renamed from src/basic/proc-cmdline.c)0
-rw-r--r--src/libbasic/proc-cmdline.h (renamed from src/basic/proc-cmdline.h)0
-rw-r--r--src/libbasic/process-util.c (renamed from src/basic/process-util.c)0
-rw-r--r--src/libbasic/process-util.h (renamed from src/basic/process-util.h)0
-rw-r--r--src/libbasic/random-util.c (renamed from src/basic/random-util.c)0
-rw-r--r--src/libbasic/random-util.h (renamed from src/basic/random-util.h)0
-rw-r--r--src/libbasic/ratelimit.c (renamed from src/basic/ratelimit.c)0
-rw-r--r--src/libbasic/ratelimit.h (renamed from src/basic/ratelimit.h)0
-rw-r--r--src/libbasic/refcnt.h (renamed from src/basic/refcnt.h)0
-rw-r--r--src/libbasic/replace-var.c (renamed from src/basic/replace-var.c)0
-rw-r--r--src/libbasic/replace-var.h (renamed from src/basic/replace-var.h)0
-rw-r--r--src/libbasic/rlimit-util.c (renamed from src/basic/rlimit-util.c)0
-rw-r--r--src/libbasic/rlimit-util.h (renamed from src/basic/rlimit-util.h)0
-rw-r--r--src/libbasic/rm-rf.c (renamed from src/basic/rm-rf.c)0
-rw-r--r--src/libbasic/rm-rf.h (renamed from src/basic/rm-rf.h)0
-rw-r--r--src/libbasic/securebits.h (renamed from src/basic/securebits.h)0
-rw-r--r--src/libbasic/selinux-util.c (renamed from src/basic/selinux-util.c)0
-rw-r--r--src/libbasic/selinux-util.h (renamed from src/basic/selinux-util.h)0
-rw-r--r--src/libbasic/set.h (renamed from src/basic/set.h)0
-rw-r--r--src/libbasic/sigbus.c (renamed from src/basic/sigbus.c)0
-rw-r--r--src/libbasic/sigbus.h (renamed from src/basic/sigbus.h)0
-rw-r--r--src/libbasic/signal-util.c (renamed from src/basic/signal-util.c)0
-rw-r--r--src/libbasic/signal-util.h (renamed from src/basic/signal-util.h)0
-rw-r--r--src/libbasic/siphash24.c (renamed from src/basic/siphash24.c)0
-rw-r--r--src/libbasic/siphash24.h (renamed from src/basic/siphash24.h)0
-rw-r--r--src/libbasic/smack-util.c (renamed from src/basic/smack-util.c)0
-rw-r--r--src/libbasic/smack-util.h (renamed from src/basic/smack-util.h)0
-rw-r--r--src/libbasic/socket-label.c (renamed from src/basic/socket-label.c)0
-rw-r--r--src/libbasic/socket-util.c (renamed from src/basic/socket-util.c)0
-rw-r--r--src/libbasic/socket-util.h (renamed from src/basic/socket-util.h)0
-rw-r--r--src/libbasic/sparse-endian.h (renamed from src/basic/sparse-endian.h)0
-rw-r--r--src/libbasic/special.h (renamed from src/basic/special.h)0
-rw-r--r--src/libbasic/stat-util.c (renamed from src/basic/stat-util.c)0
-rw-r--r--src/libbasic/stat-util.h (renamed from src/basic/stat-util.h)0
-rw-r--r--src/libbasic/stdio-util.h (renamed from src/basic/stdio-util.h)0
-rw-r--r--src/libbasic/strbuf.c (renamed from src/basic/strbuf.c)0
-rw-r--r--src/libbasic/strbuf.h (renamed from src/basic/strbuf.h)0
-rw-r--r--src/libbasic/string-table.c (renamed from src/basic/string-table.c)0
-rw-r--r--src/libbasic/string-table.h (renamed from src/basic/string-table.h)0
-rw-r--r--src/libbasic/string-util.c (renamed from src/basic/string-util.c)0
-rw-r--r--src/libbasic/string-util.h (renamed from src/basic/string-util.h)0
-rw-r--r--src/libbasic/strv.c (renamed from src/basic/strv.c)0
-rw-r--r--src/libbasic/strv.h (renamed from src/basic/strv.h)0
-rw-r--r--src/libbasic/strxcpyx.c (renamed from src/basic/strxcpyx.c)0
-rw-r--r--src/libbasic/strxcpyx.h (renamed from src/basic/strxcpyx.h)0
-rw-r--r--src/libbasic/syslog-util.c (renamed from src/basic/syslog-util.c)0
-rw-r--r--src/libbasic/syslog-util.h (renamed from src/basic/syslog-util.h)0
-rw-r--r--src/libbasic/terminal-util.c (renamed from src/basic/terminal-util.c)0
-rw-r--r--src/libbasic/terminal-util.h (renamed from src/basic/terminal-util.h)0
-rw-r--r--src/libbasic/time-util.c (renamed from src/basic/time-util.c)0
-rw-r--r--src/libbasic/time-util.h (renamed from src/basic/time-util.h)0
-rw-r--r--src/libbasic/umask-util.h (renamed from src/basic/umask-util.h)0
-rw-r--r--src/libbasic/unaligned.h (renamed from src/basic/unaligned.h)0
-rw-r--r--src/libbasic/unit-name.c (renamed from src/basic/unit-name.c)0
-rw-r--r--src/libbasic/unit-name.h (renamed from src/basic/unit-name.h)0
-rw-r--r--src/libbasic/user-util.c (renamed from src/basic/user-util.c)0
-rw-r--r--src/libbasic/user-util.h (renamed from src/basic/user-util.h)0
-rw-r--r--src/libbasic/utf8.c (renamed from src/basic/utf8.c)0
-rw-r--r--src/libbasic/utf8.h (renamed from src/basic/utf8.h)0
-rw-r--r--src/libbasic/util.c (renamed from src/basic/util.c)0
-rw-r--r--src/libbasic/util.h (renamed from src/basic/util.h)0
-rw-r--r--src/libbasic/verbs.c (renamed from src/basic/verbs.c)0
-rw-r--r--src/libbasic/verbs.h (renamed from src/basic/verbs.h)0
-rw-r--r--src/libbasic/virt.c (renamed from src/basic/virt.c)0
-rw-r--r--src/libbasic/virt.h (renamed from src/basic/virt.h)0
-rw-r--r--src/libbasic/web-util.c (renamed from src/basic/web-util.c)0
-rw-r--r--src/libbasic/web-util.h (renamed from src/basic/web-util.h)0
-rw-r--r--src/libbasic/xattr-util.c (renamed from src/basic/xattr-util.c)0
-rw-r--r--src/libbasic/xattr-util.h (renamed from src/basic/xattr-util.h)0
-rw-r--r--src/libbasic/xml.c (renamed from src/basic/xml.c)0
-rw-r--r--src/libbasic/xml.h (renamed from src/basic/xml.h)0
-rw-r--r--src/libcore/.gitignore (renamed from src/core/.gitignore)0
-rw-r--r--src/libcore/Makefile (renamed from src/core/Makefile)49
-rw-r--r--src/libcore/audit-fd.c (renamed from src/core/audit-fd.c)0
-rw-r--r--src/libcore/audit-fd.h (renamed from src/core/audit-fd.h)0
-rw-r--r--src/libcore/automount.c (renamed from src/core/automount.c)0
-rw-r--r--src/libcore/automount.h (renamed from src/core/automount.h)0
-rw-r--r--src/libcore/bus-endpoint.c (renamed from src/core/bus-endpoint.c)0
-rw-r--r--src/libcore/bus-endpoint.h (renamed from src/core/bus-endpoint.h)0
-rw-r--r--src/libcore/bus-policy.c (renamed from src/core/bus-policy.c)0
-rw-r--r--src/libcore/bus-policy.h (renamed from src/core/bus-policy.h)0
-rw-r--r--src/libcore/busname.c (renamed from src/core/busname.c)0
-rw-r--r--src/libcore/busname.h (renamed from src/core/busname.h)0
-rw-r--r--src/libcore/cgroup.c (renamed from src/core/cgroup.c)0
-rw-r--r--src/libcore/cgroup.h (renamed from src/core/cgroup.h)0
-rw-r--r--src/libcore/dbus-automount.c (renamed from src/core/dbus-automount.c)0
-rw-r--r--src/libcore/dbus-automount.h (renamed from src/core/dbus-automount.h)0
-rw-r--r--src/libcore/dbus-busname.c (renamed from src/core/dbus-busname.c)0
-rw-r--r--src/libcore/dbus-busname.h (renamed from src/core/dbus-busname.h)0
-rw-r--r--src/libcore/dbus-cgroup.c (renamed from src/core/dbus-cgroup.c)0
-rw-r--r--src/libcore/dbus-cgroup.h (renamed from src/core/dbus-cgroup.h)0
-rw-r--r--src/libcore/dbus-device.c (renamed from src/core/dbus-device.c)0
-rw-r--r--src/libcore/dbus-device.h (renamed from src/core/dbus-device.h)0
-rw-r--r--src/libcore/dbus-execute.c (renamed from src/core/dbus-execute.c)0
-rw-r--r--src/libcore/dbus-execute.h (renamed from src/core/dbus-execute.h)0
-rw-r--r--src/libcore/dbus-job.c (renamed from src/core/dbus-job.c)0
-rw-r--r--src/libcore/dbus-job.h (renamed from src/core/dbus-job.h)0
-rw-r--r--src/libcore/dbus-kill.c (renamed from src/core/dbus-kill.c)0
-rw-r--r--src/libcore/dbus-kill.h (renamed from src/core/dbus-kill.h)0
-rw-r--r--src/libcore/dbus-manager.c (renamed from src/core/dbus-manager.c)0
-rw-r--r--src/libcore/dbus-manager.h (renamed from src/core/dbus-manager.h)0
-rw-r--r--src/libcore/dbus-mount.c (renamed from src/core/dbus-mount.c)0
-rw-r--r--src/libcore/dbus-mount.h (renamed from src/core/dbus-mount.h)0
-rw-r--r--src/libcore/dbus-path.c (renamed from src/core/dbus-path.c)0
-rw-r--r--src/libcore/dbus-path.h (renamed from src/core/dbus-path.h)0
-rw-r--r--src/libcore/dbus-scope.c (renamed from src/core/dbus-scope.c)0
-rw-r--r--src/libcore/dbus-scope.h (renamed from src/core/dbus-scope.h)0
-rw-r--r--src/libcore/dbus-service.c (renamed from src/core/dbus-service.c)0
-rw-r--r--src/libcore/dbus-service.h (renamed from src/core/dbus-service.h)0
-rw-r--r--src/libcore/dbus-slice.c (renamed from src/core/dbus-slice.c)0
-rw-r--r--src/libcore/dbus-slice.h (renamed from src/core/dbus-slice.h)0
-rw-r--r--src/libcore/dbus-socket.c (renamed from src/core/dbus-socket.c)0
-rw-r--r--src/libcore/dbus-socket.h (renamed from src/core/dbus-socket.h)0
-rw-r--r--src/libcore/dbus-swap.c (renamed from src/core/dbus-swap.c)0
-rw-r--r--src/libcore/dbus-swap.h (renamed from src/core/dbus-swap.h)0
-rw-r--r--src/libcore/dbus-target.c (renamed from src/core/dbus-target.c)0
-rw-r--r--src/libcore/dbus-target.h (renamed from src/core/dbus-target.h)0
-rw-r--r--src/libcore/dbus-timer.c (renamed from src/core/dbus-timer.c)0
-rw-r--r--src/libcore/dbus-timer.h (renamed from src/core/dbus-timer.h)0
-rw-r--r--src/libcore/dbus-unit.c (renamed from src/core/dbus-unit.c)0
-rw-r--r--src/libcore/dbus-unit.h (renamed from src/core/dbus-unit.h)0
-rw-r--r--src/libcore/dbus.c (renamed from src/core/dbus.c)0
-rw-r--r--src/libcore/dbus.h (renamed from src/core/dbus.h)0
-rw-r--r--src/libcore/device.c (renamed from src/core/device.c)0
-rw-r--r--src/libcore/device.h (renamed from src/core/device.h)0
-rw-r--r--src/libcore/execute.c (renamed from src/core/execute.c)0
-rw-r--r--src/libcore/execute.h (renamed from src/core/execute.h)0
-rw-r--r--src/libcore/failure-action.c (renamed from src/core/failure-action.c)0
-rw-r--r--src/libcore/failure-action.h (renamed from src/core/failure-action.h)0
-rw-r--r--src/libcore/hostname-setup.c (renamed from src/core/hostname-setup.c)0
-rw-r--r--src/libcore/hostname-setup.h (renamed from src/core/hostname-setup.h)0
-rw-r--r--src/libcore/ima-setup.c (renamed from src/core/ima-setup.c)0
-rw-r--r--src/libcore/ima-setup.h (renamed from src/core/ima-setup.h)0
-rw-r--r--src/libcore/job.c (renamed from src/core/job.c)0
-rw-r--r--src/libcore/job.h (renamed from src/core/job.h)0
-rw-r--r--src/libcore/kill.c (renamed from src/core/kill.c)0
-rw-r--r--src/libcore/kill.h (renamed from src/core/kill.h)0
-rw-r--r--src/libcore/killall.c (renamed from src/core/killall.c)0
-rw-r--r--src/libcore/killall.h (renamed from src/core/killall.h)0
-rw-r--r--src/libcore/kmod-setup.c (renamed from src/core/kmod-setup.c)0
-rw-r--r--src/libcore/kmod-setup.h (renamed from src/core/kmod-setup.h)0
-rw-r--r--src/libcore/linux/auto_dev-ioctl.h (renamed from src/shared/linux/auto_dev-ioctl.h)0
-rw-r--r--src/libcore/load-dropin.c (renamed from src/core/load-dropin.c)0
-rw-r--r--src/libcore/load-dropin.h (renamed from src/core/load-dropin.h)0
-rw-r--r--src/libcore/load-fragment-gperf.gperf.m4 (renamed from src/core/load-fragment-gperf.gperf.m4)0
-rw-r--r--src/libcore/load-fragment.c (renamed from src/core/load-fragment.c)0
-rw-r--r--src/libcore/load-fragment.h (renamed from src/core/load-fragment.h)0
-rw-r--r--src/libcore/locale-setup.c (renamed from src/core/locale-setup.c)0
-rw-r--r--src/libcore/locale-setup.h (renamed from src/core/locale-setup.h)0
-rw-r--r--src/libcore/loopback-setup.c (renamed from src/core/loopback-setup.c)2
-rw-r--r--src/libcore/loopback-setup.h (renamed from src/core/loopback-setup.h)0
-rw-r--r--src/libcore/machine-id-setup.c (renamed from src/core/machine-id-setup.c)0
-rw-r--r--src/libcore/machine-id-setup.h (renamed from src/core/machine-id-setup.h)0
-rw-r--r--src/libcore/manager.c (renamed from src/core/manager.c)0
-rw-r--r--src/libcore/manager.h (renamed from src/core/manager.h)0
-rw-r--r--src/libcore/mount-setup.c (renamed from src/core/mount-setup.c)0
-rw-r--r--src/libcore/mount-setup.h (renamed from src/core/mount-setup.h)0
-rw-r--r--src/libcore/mount.c (renamed from src/core/mount.c)0
-rw-r--r--src/libcore/mount.h (renamed from src/core/mount.h)0
-rw-r--r--src/libcore/namespace.c (renamed from src/core/namespace.c)0
-rw-r--r--src/libcore/namespace.h (renamed from src/core/namespace.h)0
-rw-r--r--src/libcore/path.c (renamed from src/core/path.c)0
-rw-r--r--src/libcore/path.h (renamed from src/core/path.h)0
-rw-r--r--src/libcore/scope.c (renamed from src/core/scope.c)0
-rw-r--r--src/libcore/scope.h (renamed from src/core/scope.h)0
-rw-r--r--src/libcore/selinux-access.c (renamed from src/core/selinux-access.c)0
-rw-r--r--src/libcore/selinux-access.h (renamed from src/core/selinux-access.h)0
-rw-r--r--src/libcore/selinux-setup.c (renamed from src/core/selinux-setup.c)0
-rw-r--r--src/libcore/selinux-setup.h (renamed from src/core/selinux-setup.h)0
-rw-r--r--src/libcore/service.c (renamed from src/core/service.c)0
-rw-r--r--src/libcore/service.h (renamed from src/core/service.h)0
-rw-r--r--src/libcore/show-status.c (renamed from src/core/show-status.c)0
-rw-r--r--src/libcore/show-status.h (renamed from src/core/show-status.h)0
-rw-r--r--src/libcore/shutdown.c (renamed from src/core/shutdown.c)0
-rw-r--r--src/libcore/slice.c (renamed from src/core/slice.c)0
-rw-r--r--src/libcore/slice.h (renamed from src/core/slice.h)0
-rw-r--r--src/libcore/smack-setup.c (renamed from src/core/smack-setup.c)0
-rw-r--r--src/libcore/smack-setup.h (renamed from src/core/smack-setup.h)0
-rw-r--r--src/libcore/socket.c (renamed from src/core/socket.c)0
-rw-r--r--src/libcore/socket.h (renamed from src/core/socket.h)0
-rw-r--r--src/libcore/swap.c (renamed from src/core/swap.c)0
-rw-r--r--src/libcore/swap.h (renamed from src/core/swap.h)0
-rw-r--r--src/libcore/target.c (renamed from src/core/target.c)0
-rw-r--r--src/libcore/target.h (renamed from src/core/target.h)0
-rw-r--r--src/libcore/timer.c (renamed from src/core/timer.c)0
-rw-r--r--src/libcore/timer.h (renamed from src/core/timer.h)0
-rw-r--r--src/libcore/transaction.c (renamed from src/core/transaction.c)0
-rw-r--r--src/libcore/transaction.h (renamed from src/core/transaction.h)0
-rw-r--r--src/libcore/umount.c (renamed from src/core/umount.c)0
-rw-r--r--src/libcore/umount.h (renamed from src/core/umount.h)0
-rw-r--r--src/libcore/unit-printf.c (renamed from src/core/unit-printf.c)0
-rw-r--r--src/libcore/unit-printf.h (renamed from src/core/unit-printf.h)0
-rw-r--r--src/libcore/unit.c (renamed from src/core/unit.c)0
-rw-r--r--src/libcore/unit.h (renamed from src/core/unit.h)0
-rw-r--r--src/libfirewall/Makefile17
-rw-r--r--src/libshared/Makefile (renamed from src/shared/Makefile)36
-rw-r--r--src/libshared/acl-util.c (renamed from src/shared/acl-util.c)0
-rw-r--r--src/libshared/acl-util.h (renamed from src/shared/acl-util.h)0
-rw-r--r--src/libshared/acpi-fpdt.c (renamed from src/shared/acpi-fpdt.c)0
-rw-r--r--src/libshared/acpi-fpdt.h (renamed from src/shared/acpi-fpdt.h)0
-rw-r--r--src/libshared/apparmor-util.c (renamed from src/shared/apparmor-util.c)0
-rw-r--r--src/libshared/apparmor-util.h (renamed from src/shared/apparmor-util.h)0
-rw-r--r--src/libshared/architecture.c (renamed from src/shared/architecture.c)0
-rw-r--r--src/libshared/architecture.h (renamed from src/shared/architecture.h)0
-rw-r--r--src/libshared/ask-password-api.c (renamed from src/shared/ask-password-api.c)0
-rw-r--r--src/libshared/ask-password-api.h (renamed from src/shared/ask-password-api.h)0
-rw-r--r--src/libshared/base-filesystem.c (renamed from src/shared/base-filesystem.c)0
-rw-r--r--src/libshared/base-filesystem.h (renamed from src/shared/base-filesystem.h)0
-rw-r--r--src/libshared/boot-timestamps.c (renamed from src/shared/boot-timestamps.c)0
-rw-r--r--src/libshared/boot-timestamps.h (renamed from src/shared/boot-timestamps.h)0
-rw-r--r--src/libshared/bus-util.c (renamed from src/shared/bus-util.c)0
-rw-r--r--src/libshared/bus-util.h (renamed from src/shared/bus-util.h)6
-rw-r--r--src/libshared/cgroup-show.c (renamed from src/shared/cgroup-show.c)0
-rw-r--r--src/libshared/cgroup-show.h (renamed from src/shared/cgroup-show.h)0
-rw-r--r--src/libshared/clean-ipc.c (renamed from src/shared/clean-ipc.c)0
-rw-r--r--src/libshared/clean-ipc.h (renamed from src/shared/clean-ipc.h)0
-rw-r--r--src/libshared/condition.c (renamed from src/shared/condition.c)0
-rw-r--r--src/libshared/condition.h (renamed from src/shared/condition.h)0
-rw-r--r--src/libshared/conf-parser.c (renamed from src/shared/conf-parser.c)0
-rw-r--r--src/libshared/conf-parser.h (renamed from src/shared/conf-parser.h)0
-rw-r--r--src/libshared/dev-setup.c (renamed from src/shared/dev-setup.c)0
-rw-r--r--src/libshared/dev-setup.h (renamed from src/shared/dev-setup.h)0
-rw-r--r--src/libshared/dns-domain.c (renamed from src/shared/dns-domain.c)0
-rw-r--r--src/libshared/dns-domain.h (renamed from src/shared/dns-domain.h)0
-rw-r--r--src/libshared/dropin.c (renamed from src/shared/dropin.c)0
-rw-r--r--src/libshared/dropin.h (renamed from src/shared/dropin.h)0
-rw-r--r--src/libshared/efivars.c (renamed from src/shared/efivars.c)2
-rw-r--r--src/libshared/efivars.h (renamed from src/shared/efivars.h)2
-rw-r--r--src/libshared/firewall-util.c (renamed from src/shared/firewall-util.c)0
-rw-r--r--src/libshared/firewall-util.h (renamed from src/shared/firewall-util.h)0
-rw-r--r--src/libshared/fstab-util.c (renamed from src/shared/fstab-util.c)0
-rw-r--r--src/libshared/fstab-util.h (renamed from src/shared/fstab-util.h)0
-rw-r--r--src/libshared/generator.c (renamed from src/shared/generator.c)0
-rw-r--r--src/libshared/generator.h (renamed from src/shared/generator.h)0
-rw-r--r--src/libshared/gpt.h (renamed from src/shared/gpt.h)2
-rw-r--r--src/libshared/ima-util.c (renamed from src/shared/ima-util.c)0
-rw-r--r--src/libshared/ima-util.h (renamed from src/shared/ima-util.h)0
-rw-r--r--src/libshared/import-util.c (renamed from src/shared/import-util.c)0
-rw-r--r--src/libshared/import-util.h (renamed from src/shared/import-util.h)0
-rw-r--r--src/libshared/initreq.h (renamed from src/shared/initreq.h)0
-rw-r--r--src/libshared/install-printf.c (renamed from src/shared/install-printf.c)0
-rw-r--r--src/libshared/install-printf.h (renamed from src/shared/install-printf.h)0
-rw-r--r--src/libshared/install.c (renamed from src/shared/install.c)0
-rw-r--r--src/libshared/install.h (renamed from src/shared/install.h)0
-rw-r--r--src/libshared/logs-show.c (renamed from src/shared/logs-show.c)0
-rw-r--r--src/libshared/logs-show.h (renamed from src/shared/logs-show.h)0
-rw-r--r--src/libshared/machine-image.c (renamed from src/shared/machine-image.c)0
-rw-r--r--src/libshared/machine-image.h (renamed from src/shared/machine-image.h)0
-rw-r--r--src/libshared/machine-pool.c (renamed from src/shared/machine-pool.c)0
-rw-r--r--src/libshared/machine-pool.h (renamed from src/shared/machine-pool.h)0
-rw-r--r--src/libshared/output-mode.h (renamed from src/shared/output-mode.h)0
-rw-r--r--src/libshared/pager.c (renamed from src/shared/pager.c)0
-rw-r--r--src/libshared/pager.h (renamed from src/shared/pager.h)0
-rw-r--r--src/libshared/path-lookup.c (renamed from src/shared/path-lookup.c)0
-rw-r--r--src/libshared/path-lookup.h (renamed from src/shared/path-lookup.h)0
-rw-r--r--src/libshared/ptyfwd.c (renamed from src/shared/ptyfwd.c)0
-rw-r--r--src/libshared/ptyfwd.h (renamed from src/shared/ptyfwd.h)2
-rw-r--r--src/libshared/resolve-util.c (renamed from src/shared/resolve-util.c)0
-rw-r--r--src/libshared/resolve-util.h (renamed from src/shared/resolve-util.h)0
-rw-r--r--src/libshared/seccomp-util.c (renamed from src/shared/seccomp-util.c)0
-rw-r--r--src/libshared/seccomp-util.h (renamed from src/shared/seccomp-util.h)0
-rw-r--r--src/libshared/sleep-config.c (renamed from src/shared/sleep-config.c)0
-rw-r--r--src/libshared/sleep-config.h (renamed from src/shared/sleep-config.h)0
-rw-r--r--src/libshared/spawn-ask-password-agent.c (renamed from src/shared/spawn-ask-password-agent.c)0
-rw-r--r--src/libshared/spawn-ask-password-agent.h (renamed from src/shared/spawn-ask-password-agent.h)0
-rw-r--r--src/libshared/spawn-polkit-agent.c (renamed from src/shared/spawn-polkit-agent.c)0
-rw-r--r--src/libshared/spawn-polkit-agent.h (renamed from src/shared/spawn-polkit-agent.h)0
-rw-r--r--src/libshared/specifier.c (renamed from src/shared/specifier.c)0
-rw-r--r--src/libshared/specifier.h (renamed from src/shared/specifier.h)0
-rw-r--r--src/libshared/switch-root.c (renamed from src/shared/switch-root.c)0
-rw-r--r--src/libshared/switch-root.h (renamed from src/shared/switch-root.h)0
-rw-r--r--src/libshared/sysctl-util.c (renamed from src/shared/sysctl-util.c)0
-rw-r--r--src/libshared/sysctl-util.h (renamed from src/shared/sysctl-util.h)0
-rw-r--r--src/libshared/test-tables.h (renamed from src/shared/test-tables.h)0
-rw-r--r--src/libshared/udev-util.h (renamed from src/shared/udev-util.h)0
-rw-r--r--src/libshared/uid-range.c (renamed from src/shared/uid-range.c)0
-rw-r--r--src/libshared/uid-range.h (renamed from src/shared/uid-range.h)0
-rw-r--r--src/libshared/utmp-wtmp.c (renamed from src/shared/utmp-wtmp.c)0
-rw-r--r--src/libshared/utmp-wtmp.h (renamed from src/shared/utmp-wtmp.h)0
-rw-r--r--src/libshared/watchdog.c (renamed from src/shared/watchdog.c)0
-rw-r--r--src/libshared/watchdog.h (renamed from src/shared/watchdog.h)0
-rw-r--r--src/libsystemd/compat-libs/.gitignore (renamed from src/compat-libs/.gitignore)0
-rw-r--r--src/libsystemd/compat-libs/Makefile (renamed from src/compat-libs/Makefile)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-daemon.pc.in (renamed from src/compat-libs/libsystemd-daemon.pc.in)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-daemon.sym (renamed from src/compat-libs/libsystemd-daemon.sym)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-id128.pc.in (renamed from src/compat-libs/libsystemd-id128.pc.in)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-id128.sym (renamed from src/compat-libs/libsystemd-id128.sym)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-journal.pc.in (renamed from src/compat-libs/libsystemd-journal.pc.in)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-journal.sym (renamed from src/compat-libs/libsystemd-journal.sym)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-login.pc.in (renamed from src/compat-libs/libsystemd-login.pc.in)0
-rw-r--r--src/libsystemd/compat-libs/libsystemd-login.sym (renamed from src/compat-libs/libsystemd-login.sym)0
-rw-r--r--src/libsystemd/compat-libs/linkwarning.h (renamed from src/compat-libs/linkwarning.h)0
-rw-r--r--src/libsystemd/include/systemd/_sd-common.h (renamed from src/systemd/_sd-common.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-bus-protocol.h (renamed from src/systemd/sd-bus-protocol.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-bus-vtable.h (renamed from src/systemd/sd-bus-vtable.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-bus.h (renamed from src/systemd/sd-bus.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-daemon.h (renamed from src/systemd/sd-daemon.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-device.h (renamed from src/systemd/sd-device.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-dhcp-client.h (renamed from src/systemd/sd-dhcp-client.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-dhcp-lease.h (renamed from src/systemd/sd-dhcp-lease.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-dhcp-server.h (renamed from src/systemd/sd-dhcp-server.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-dhcp6-client.h (renamed from src/systemd/sd-dhcp6-client.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-dhcp6-lease.h (renamed from src/systemd/sd-dhcp6-lease.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-event.h (renamed from src/systemd/sd-event.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-hwdb.h (renamed from src/systemd/sd-hwdb.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-id128.h (renamed from src/systemd/sd-id128.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-ipv4acd.h (renamed from src/systemd/sd-ipv4acd.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-ipv4ll.h (renamed from src/systemd/sd-ipv4ll.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-journal.h (renamed from src/systemd/sd-journal.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-lldp.h (renamed from src/systemd/sd-lldp.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-login.h (renamed from src/systemd/sd-login.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-messages.h (renamed from src/systemd/sd-messages.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-ndisc.h (renamed from src/systemd/sd-ndisc.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-netlink.h (renamed from src/systemd/sd-netlink.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-network.h (renamed from src/systemd/sd-network.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-path.h (renamed from src/systemd/sd-path.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-resolve.h (renamed from src/systemd/sd-resolve.h)0
-rw-r--r--src/libsystemd/include/systemd/sd-utf8.h (renamed from src/systemd/sd-utf8.h)0
-rw-r--r--src/libsystemd/src/.gitignore (renamed from src/libsystemd/.gitignore)0
-rw-r--r--src/libsystemd/src/Makefile (renamed from src/libsystemd/Makefile)0
-rw-r--r--src/libsystemd/src/libsystemd.pc.in (renamed from src/libsystemd/libsystemd.pc.in)0
-rw-r--r--src/libsystemd/src/libsystemd.sym (renamed from src/libsystemd/libsystemd.sym)0
-rw-r--r--src/libsystemd/src/sd-bus/DIFFERENCES (renamed from src/libsystemd/sd-bus/DIFFERENCES)0
-rw-r--r--src/libsystemd/src/sd-bus/GVARIANT-SERIALIZATION (renamed from src/libsystemd/sd-bus/GVARIANT-SERIALIZATION)0
-rw-r--r--src/libsystemd/src/sd-bus/PORTING-DBUS1 (renamed from src/libsystemd/sd-bus/PORTING-DBUS1)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-bloom.c (renamed from src/libsystemd/sd-bus/bus-bloom.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-bloom.h (renamed from src/libsystemd/sd-bus/bus-bloom.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-common-errors.c (renamed from src/libsystemd/sd-bus/bus-common-errors.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-common-errors.h (renamed from src/libsystemd/sd-bus/bus-common-errors.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-container.c (renamed from src/libsystemd/sd-bus/bus-container.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-container.h (renamed from src/libsystemd/sd-bus/bus-container.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-control.c (renamed from src/libsystemd/sd-bus/bus-control.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-control.h (renamed from src/libsystemd/sd-bus/bus-control.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-convenience.c (renamed from src/libsystemd/sd-bus/bus-convenience.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-creds.c (renamed from src/libsystemd/sd-bus/bus-creds.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-creds.h (renamed from src/libsystemd/sd-bus/bus-creds.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-dump.c (renamed from src/libsystemd/sd-bus/bus-dump.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-dump.h (renamed from src/libsystemd/sd-bus/bus-dump.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-error.c (renamed from src/libsystemd/sd-bus/bus-error.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-error.h (renamed from src/libsystemd/sd-bus/bus-error.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-gvariant.c (renamed from src/libsystemd/sd-bus/bus-gvariant.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-gvariant.h (renamed from src/libsystemd/sd-bus/bus-gvariant.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-internal.c (renamed from src/libsystemd/sd-bus/bus-internal.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-internal.h (renamed from src/libsystemd/sd-bus/bus-internal.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-introspect.c (renamed from src/libsystemd/sd-bus/bus-introspect.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-introspect.h (renamed from src/libsystemd/sd-bus/bus-introspect.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-kernel.c (renamed from src/libsystemd/sd-bus/bus-kernel.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-kernel.h (renamed from src/libsystemd/sd-bus/bus-kernel.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-match.c (renamed from src/libsystemd/sd-bus/bus-match.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-match.h (renamed from src/libsystemd/sd-bus/bus-match.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-message.c (renamed from src/libsystemd/sd-bus/bus-message.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-message.h (renamed from src/libsystemd/sd-bus/bus-message.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-objects.c (renamed from src/libsystemd/sd-bus/bus-objects.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-objects.h (renamed from src/libsystemd/sd-bus/bus-objects.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-protocol.h (renamed from src/libsystemd/sd-bus/bus-protocol.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-signature.c (renamed from src/libsystemd/sd-bus/bus-signature.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-signature.h (renamed from src/libsystemd/sd-bus/bus-signature.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-slot.c (renamed from src/libsystemd/sd-bus/bus-slot.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-slot.h (renamed from src/libsystemd/sd-bus/bus-slot.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-socket.c (renamed from src/libsystemd/sd-bus/bus-socket.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-socket.h (renamed from src/libsystemd/sd-bus/bus-socket.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-track.c (renamed from src/libsystemd/sd-bus/bus-track.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-track.h (renamed from src/libsystemd/sd-bus/bus-track.h)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-type.c (renamed from src/libsystemd/sd-bus/bus-type.c)0
-rw-r--r--src/libsystemd/src/sd-bus/bus-type.h (renamed from src/libsystemd/sd-bus/bus-type.h)0
-rw-r--r--src/libsystemd/src/sd-bus/busctl-introspect.c (renamed from src/libsystemd/sd-bus/busctl-introspect.c)0
-rw-r--r--src/libsystemd/src/sd-bus/busctl-introspect.h (renamed from src/libsystemd/sd-bus/busctl-introspect.h)0
-rw-r--r--src/libsystemd/src/sd-bus/busctl.c (renamed from src/libsystemd/sd-bus/busctl.c)0
-rw-r--r--src/libsystemd/src/sd-bus/kdbus.h (renamed from src/libsystemd/sd-bus/kdbus.h)0
-rw-r--r--src/libsystemd/src/sd-bus/sd-bus.c (renamed from src/libsystemd/sd-bus/sd-bus.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-benchmark.c (renamed from src/libsystemd/sd-bus/test-bus-benchmark.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-chat.c (renamed from src/libsystemd/sd-bus/test-bus-chat.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-cleanup.c (renamed from src/libsystemd/sd-bus/test-bus-cleanup.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-creds.c (renamed from src/libsystemd/sd-bus/test-bus-creds.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-error.c (renamed from src/libsystemd/sd-bus/test-bus-error.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-gvariant.c (renamed from src/libsystemd/sd-bus/test-bus-gvariant.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-introspect.c (renamed from src/libsystemd/sd-bus/test-bus-introspect.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-kernel-bloom.c (renamed from src/libsystemd/sd-bus/test-bus-kernel-bloom.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-kernel.c (renamed from src/libsystemd/sd-bus/test-bus-kernel.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-marshal.c (renamed from src/libsystemd/sd-bus/test-bus-marshal.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-match.c (renamed from src/libsystemd/sd-bus/test-bus-match.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-objects.c (renamed from src/libsystemd/sd-bus/test-bus-objects.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-proxy.c (renamed from src/libsystemd/sd-bus/test-bus-proxy.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-server.c (renamed from src/libsystemd/sd-bus/test-bus-server.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-signature.c (renamed from src/libsystemd/sd-bus/test-bus-signature.c)0
-rw-r--r--src/libsystemd/src/sd-bus/test-bus-zero-copy.c (renamed from src/libsystemd/sd-bus/test-bus-zero-copy.c)0
-rw-r--r--src/libsystemd/src/sd-daemon/sd-daemon.c (renamed from src/libsystemd/sd-daemon/sd-daemon.c)0
-rw-r--r--src/libsystemd/src/sd-device/device-enumerator-private.h (renamed from src/libsystemd/sd-device/device-enumerator-private.h)0
-rw-r--r--src/libsystemd/src/sd-device/device-enumerator.c (renamed from src/libsystemd/sd-device/device-enumerator.c)0
-rw-r--r--src/libsystemd/src/sd-device/device-internal.h (renamed from src/libsystemd/sd-device/device-internal.h)0
-rw-r--r--src/libsystemd/src/sd-device/device-private.c (renamed from src/libsystemd/sd-device/device-private.c)0
-rw-r--r--src/libsystemd/src/sd-device/device-private.h (renamed from src/libsystemd/sd-device/device-private.h)0
-rw-r--r--src/libsystemd/src/sd-device/device-util.h (renamed from src/libsystemd/sd-device/device-util.h)0
-rw-r--r--src/libsystemd/src/sd-device/sd-device.c (renamed from src/libsystemd/sd-device/sd-device.c)0
-rw-r--r--src/libsystemd/src/sd-event/sd-event.c (renamed from src/libsystemd/sd-event/sd-event.c)0
-rw-r--r--src/libsystemd/src/sd-event/test-event.c (renamed from src/libsystemd/sd-event/test-event.c)0
-rw-r--r--src/libsystemd/src/sd-hwdb/hwdb-internal.h (renamed from src/libsystemd/sd-hwdb/hwdb-internal.h)0
-rw-r--r--src/libsystemd/src/sd-hwdb/hwdb-util.h (renamed from src/libsystemd/sd-hwdb/hwdb-util.h)0
-rw-r--r--src/libsystemd/src/sd-hwdb/sd-hwdb.c (renamed from src/libsystemd/sd-hwdb/sd-hwdb.c)0
-rw-r--r--src/libsystemd/src/sd-id128/sd-id128.c (renamed from src/libsystemd/sd-id128/sd-id128.c)0
-rw-r--r--src/libsystemd/src/sd-login/sd-login.c (renamed from src/libsystemd/sd-login/sd-login.c)0
-rw-r--r--src/libsystemd/src/sd-login/test-login.c (renamed from src/libsystemd/sd-login/test-login.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/local-addresses.c (renamed from src/libsystemd/sd-netlink/local-addresses.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/local-addresses.h (renamed from src/libsystemd/sd-netlink/local-addresses.h)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-internal.h (renamed from src/libsystemd/sd-netlink/netlink-internal.h)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-message.c (renamed from src/libsystemd/sd-netlink/netlink-message.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-socket.c (renamed from src/libsystemd/sd-netlink/netlink-socket.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-types.c (renamed from src/libsystemd/sd-netlink/netlink-types.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-types.h (renamed from src/libsystemd/sd-netlink/netlink-types.h)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-util.c (renamed from src/libsystemd/sd-netlink/netlink-util.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/netlink-util.h (renamed from src/libsystemd/sd-netlink/netlink-util.h)0
-rw-r--r--src/libsystemd/src/sd-netlink/rtnl-message.c (renamed from src/libsystemd/sd-netlink/rtnl-message.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/sd-netlink.c (renamed from src/libsystemd/sd-netlink/sd-netlink.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/test-local-addresses.c (renamed from src/libsystemd/sd-netlink/test-local-addresses.c)0
-rw-r--r--src/libsystemd/src/sd-netlink/test-netlink.c (renamed from src/libsystemd/sd-netlink/test-netlink.c)0
-rw-r--r--src/libsystemd/src/sd-network/network-util.c (renamed from src/libsystemd/sd-network/network-util.c)0
-rw-r--r--src/libsystemd/src/sd-network/network-util.h (renamed from src/libsystemd/sd-network/network-util.h)0
-rw-r--r--src/libsystemd/src/sd-network/sd-network.c (renamed from src/libsystemd/sd-network/sd-network.c)0
-rw-r--r--src/libsystemd/src/sd-path/sd-path.c (renamed from src/libsystemd/sd-path/sd-path.c)0
-rw-r--r--src/libsystemd/src/sd-resolve/sd-resolve.c (renamed from src/libsystemd/sd-resolve/sd-resolve.c)0
-rw-r--r--src/libsystemd/src/sd-resolve/test-resolve.c (renamed from src/libsystemd/sd-resolve/test-resolve.c)0
-rw-r--r--src/libsystemd/src/sd-utf8/sd-utf8.c (renamed from src/libsystemd/sd-utf8/sd-utf8.c)0
-rw-r--r--src/libudev/include/libudev.h (renamed from src/libudev/libudev.h)0
-rw-r--r--src/libudev/src/.gitignore (renamed from src/libudev/.gitignore)0
-rw-r--r--src/libudev/src/Makefile (renamed from src/libudev/Makefile)0
-rw-r--r--src/libudev/src/libudev-device-internal.h (renamed from src/libudev/libudev-device-internal.h)0
-rw-r--r--src/libudev/src/libudev-device-private.c (renamed from src/libudev/libudev-device-private.c)0
-rw-r--r--src/libudev/src/libudev-device.c (renamed from src/libudev/libudev-device.c)0
-rw-r--r--src/libudev/src/libudev-enumerate.c (renamed from src/libudev/libudev-enumerate.c)0
-rw-r--r--src/libudev/src/libudev-hwdb.c (renamed from src/libudev/libudev-hwdb.c)0
-rw-r--r--src/libudev/src/libudev-list.c (renamed from src/libudev/libudev-list.c)0
-rw-r--r--src/libudev/src/libudev-monitor.c (renamed from src/libudev/libudev-monitor.c)0
-rw-r--r--src/libudev/src/libudev-private.h (renamed from src/libudev/libudev-private.h)0
-rw-r--r--src/libudev/src/libudev-queue.c (renamed from src/libudev/libudev-queue.c)0
-rw-r--r--src/libudev/src/libudev-util.c (renamed from src/libudev/libudev-util.c)0
-rw-r--r--src/libudev/src/libudev.c (renamed from src/libudev/libudev.c)0
-rw-r--r--src/libudev/src/libudev.pc.in (renamed from src/libudev/libudev.pc.in)0
-rw-r--r--src/libudev/src/libudev.sym (renamed from src/libudev/libudev.sym)0
-rw-r--r--src/machine/nss-mymachines/nss-mymachines.c (renamed from src/nss-mymachines/nss-mymachines.c)0
-rw-r--r--src/machine/nss-mymachines/nss-mymachines.sym (renamed from src/nss-mymachines/nss-mymachines.sym)0
-rw-r--r--src/resolve/nss-resolve/nss-resolve.c (renamed from src/nss-resolve/nss-resolve.c)0
-rw-r--r--src/resolve/nss-resolve/nss-resolve.sym (renamed from src/nss-resolve/nss-resolve.sym)0
-rw-r--r--src/system/systemctl/Makefile (renamed from src/systemctl/Makefile)0
-rw-r--r--src/system/systemctl/systemctl.c (renamed from src/systemctl/systemctl.c)0
-rwxr-xr-xsrc/system/systemctl/systemd-sysv-install.SKELETON (renamed from src/systemctl/systemd-sysv-install.SKELETON)0
-rw-r--r--src/systemd-activate/Makefile (renamed from src/activate/Makefile)0
-rw-r--r--src/systemd-activate/activate.c (renamed from src/activate/activate.c)0
-rw-r--r--src/systemd-activate/systemd-activate.xml (renamed from man/systemd-activate.xml)0
-rw-r--r--src/systemd-ask-password/Makefile (renamed from src/ask-password/Makefile)0
-rw-r--r--src/systemd-ask-password/ask-password.c (renamed from src/ask-password/ask-password.c)0
-rw-r--r--src/systemd-backlight/Makefile (renamed from src/backlight/Makefile)0
-rw-r--r--src/systemd-backlight/backlight.c (renamed from src/backlight/backlight.c)0
-rw-r--r--src/systemd-binfmt/Makefile (renamed from src/binfmt/Makefile)0
-rw-r--r--src/systemd-binfmt/binfmt.c (renamed from src/binfmt/binfmt.c)0
-rw-r--r--src/systemd-cgls/Makefile (renamed from src/cgls/Makefile)0
-rw-r--r--src/systemd-cgls/cgls.c (renamed from src/cgls/cgls.c)0
-rw-r--r--src/systemd-cgroups-agent/Makefile (renamed from src/cgroups-agent/Makefile)0
-rw-r--r--src/systemd-cgroups-agent/cgroups-agent.c (renamed from src/cgroups-agent/cgroups-agent.c)0
-rw-r--r--src/systemd-cgtop/Makefile (renamed from src/cgtop/Makefile)0
-rw-r--r--src/systemd-cgtop/cgtop.c (renamed from src/cgtop/cgtop.c)0
-rw-r--r--src/systemd-cryptsetup/Makefile (renamed from src/cryptsetup/Makefile)0
-rw-r--r--src/systemd-cryptsetup/cryptsetup-generator.c (renamed from src/cryptsetup/cryptsetup-generator.c)0
-rw-r--r--src/systemd-cryptsetup/cryptsetup.c (renamed from src/cryptsetup/cryptsetup.c)0
-rw-r--r--src/systemd-delta/Makefile (renamed from src/delta/Makefile)0
-rw-r--r--src/systemd-delta/delta.c (renamed from src/delta/delta.c)0
-rw-r--r--src/systemd-escape/Makefile (renamed from src/escape/Makefile)0
-rw-r--r--src/systemd-escape/escape.c (renamed from src/escape/escape.c)0
-rw-r--r--src/systemd-notify/Makefile (renamed from src/notify/Makefile)0
-rw-r--r--src/systemd-notify/notify.c (renamed from src/notify/notify.c)0
-rw-r--r--src/systemd-nspawn/.gitignore (renamed from src/nspawn/.gitignore)0
-rw-r--r--src/systemd-nspawn/Makefile (renamed from src/nspawn/Makefile)36
-rw-r--r--src/systemd-nspawn/loopback-setup.c90
-rw-r--r--src/systemd-nspawn/loopback-setup.h22
-rw-r--r--src/systemd-nspawn/mount-setup.c412
-rw-r--r--src/systemd-nspawn/nspawn-cgroup.c (renamed from src/nspawn/nspawn-cgroup.c)0
-rw-r--r--src/systemd-nspawn/nspawn-cgroup.h (renamed from src/nspawn/nspawn-cgroup.h)0
-rw-r--r--src/systemd-nspawn/nspawn-expose-ports.c (renamed from src/nspawn/nspawn-expose-ports.c)2
-rw-r--r--src/systemd-nspawn/nspawn-expose-ports.h (renamed from src/nspawn/nspawn-expose-ports.h)4
-rw-r--r--src/systemd-nspawn/nspawn-gperf.gperf (renamed from src/nspawn/nspawn-gperf.gperf)0
-rw-r--r--src/systemd-nspawn/nspawn-mount.c (renamed from src/nspawn/nspawn-mount.c)0
-rw-r--r--src/systemd-nspawn/nspawn-mount.h (renamed from src/nspawn/nspawn-mount.h)0
-rw-r--r--src/systemd-nspawn/nspawn-network.c (renamed from src/nspawn/nspawn-network.c)7
-rw-r--r--src/systemd-nspawn/nspawn-network.h (renamed from src/nspawn/nspawn-network.h)0
-rw-r--r--src/systemd-nspawn/nspawn-register.c (renamed from src/nspawn/nspawn-register.c)2
-rw-r--r--src/systemd-nspawn/nspawn-register.h (renamed from src/nspawn/nspawn-register.h)2
-rw-r--r--src/systemd-nspawn/nspawn-settings.c (renamed from src/nspawn/nspawn-settings.c)0
-rw-r--r--src/systemd-nspawn/nspawn-settings.h (renamed from src/nspawn/nspawn-settings.h)0
-rw-r--r--src/systemd-nspawn/nspawn-setuid.c (renamed from src/nspawn/nspawn-setuid.c)0
-rw-r--r--src/systemd-nspawn/nspawn-setuid.h (renamed from src/nspawn/nspawn-setuid.h)0
-rw-r--r--src/systemd-nspawn/nspawn-stub-pid1.c (renamed from src/nspawn/nspawn-stub-pid1.c)0
-rw-r--r--src/systemd-nspawn/nspawn-stub-pid1.h (renamed from src/nspawn/nspawn-stub-pid1.h)0
-rw-r--r--src/systemd-nspawn/nspawn.c (renamed from src/nspawn/nspawn.c)5
-rw-r--r--src/systemd-path/Makefile (renamed from src/path/Makefile)0
-rw-r--r--src/systemd-path/path.c (renamed from src/path/path.c)0
-rw-r--r--src/systemd-quotacheck/Makefile (renamed from src/quotacheck/Makefile)0
-rw-r--r--src/systemd-quotacheck/quotacheck.c (renamed from src/quotacheck/quotacheck.c)0
-rw-r--r--src/systemd-random-seed/Makefile (renamed from src/random-seed/Makefile)0
-rw-r--r--src/systemd-random-seed/random-seed.c (renamed from src/random-seed/random-seed.c)0
-rw-r--r--src/systemd-remount-fs/Makefile (renamed from src/remount-fs/Makefile)0
-rw-r--r--src/systemd-remount-fs/remount-fs.c (renamed from src/remount-fs/remount-fs.c)0
-rw-r--r--src/systemd-reply-password/Makefile (renamed from src/reply-password/Makefile)0
-rw-r--r--src/systemd-reply-password/reply-password.c (renamed from src/reply-password/reply-password.c)0
-rw-r--r--src/systemd-rfkill/Makefile (renamed from src/rfkill/Makefile)0
-rw-r--r--src/systemd-rfkill/rfkill.c (renamed from src/rfkill/rfkill.c)0
-rw-r--r--src/systemd-run/Makefile (renamed from src/run/Makefile)0
-rw-r--r--src/systemd-run/run.c (renamed from src/run/run.c)0
-rw-r--r--src/systemd-shutdown/Makefile (renamed from src/core/Makefile.mk)14
-rw-r--r--src/systemd-timedate/.gitignore (renamed from src/timedate/.gitignore)0
-rw-r--r--src/systemd-timedate/Makefile (renamed from src/timedate/Makefile)0
-rw-r--r--src/systemd-timedate/org.freedesktop.timedate1.conf (renamed from src/timedate/org.freedesktop.timedate1.conf)0
-rw-r--r--src/systemd-timedate/org.freedesktop.timedate1.policy.in (renamed from src/timedate/org.freedesktop.timedate1.policy.in)0
-rw-r--r--src/systemd-timedate/org.freedesktop.timedate1.service (renamed from src/timedate/org.freedesktop.timedate1.service)0
-rw-r--r--src/systemd-timedate/timedatectl.c (renamed from src/timedate/timedatectl.c)0
-rw-r--r--src/systemd-timedate/timedated.c (renamed from src/timedate/timedated.c)0
-rw-r--r--src/systemd-timesync/.gitignore (renamed from src/timesync/.gitignore)0
-rw-r--r--src/systemd-timesync/Makefile (renamed from src/timesync/Makefile)0
-rw-r--r--src/systemd-timesync/timesyncd-conf.c (renamed from src/timesync/timesyncd-conf.c)0
-rw-r--r--src/systemd-timesync/timesyncd-conf.h (renamed from src/timesync/timesyncd-conf.h)0
-rw-r--r--src/systemd-timesync/timesyncd-gperf.gperf (renamed from src/timesync/timesyncd-gperf.gperf)0
-rw-r--r--src/systemd-timesync/timesyncd-manager.c (renamed from src/timesync/timesyncd-manager.c)0
-rw-r--r--src/systemd-timesync/timesyncd-manager.h (renamed from src/timesync/timesyncd-manager.h)0
-rw-r--r--src/systemd-timesync/timesyncd-server.c (renamed from src/timesync/timesyncd-server.c)0
-rw-r--r--src/systemd-timesync/timesyncd-server.h (renamed from src/timesync/timesyncd-server.h)0
-rw-r--r--src/systemd-timesync/timesyncd.c (renamed from src/timesync/timesyncd.c)0
-rw-r--r--src/systemd-timesync/timesyncd.conf.in (renamed from src/timesync/timesyncd.conf.in)0
-rw-r--r--src/systemd-tmpfiles/Makefile (renamed from src/tmpfiles/Makefile)0
-rw-r--r--src/systemd-tmpfiles/tmpfiles.c (renamed from src/tmpfiles/tmpfiles.c)0
-rw-r--r--src/systemd-tty-ask-password-agent/Makefile (renamed from src/tty-ask-password-agent/Makefile)0
-rw-r--r--src/systemd-tty-ask-password-agent/tty-ask-password-agent.c (renamed from src/tty-ask-password-agent/tty-ask-password-agent.c)0
-rw-r--r--src/systemd-update-done/Makefile (renamed from src/update-done/Makefile)0
-rw-r--r--src/systemd-update-done/update-done.c (renamed from src/update-done/update-done.c)0
-rw-r--r--src/systemd-update-utmp/Makefile (renamed from src/update-utmp/Makefile)0
-rw-r--r--src/systemd-update-utmp/update-utmp.c (renamed from src/update-utmp/update-utmp.c)0
-rw-r--r--src/systemd-user-sessions/user-sessions.c (renamed from src/user-sessions/user-sessions.c)0
-rw-r--r--src/systemd-vconsole/.gitignore (renamed from src/vconsole/.gitignore)0
-rw-r--r--src/systemd-vconsole/90-vconsole.rules.in (renamed from src/vconsole/90-vconsole.rules.in)0
-rw-r--r--src/systemd-vconsole/Makefile (renamed from src/vconsole/Makefile)0
-rw-r--r--src/systemd-vconsole/vconsole-setup.c (renamed from src/vconsole/vconsole-setup.c)0
-rw-r--r--src/systemd/Makefile63
-rw-r--r--src/systemd/macros.systemd.in (renamed from src/core/macros.systemd.in)0
-rw-r--r--src/systemd/main.c (renamed from src/core/main.c)0
-rw-r--r--src/systemd/org.freedesktop.systemd1.conf (renamed from src/core/org.freedesktop.systemd1.conf)0
-rw-r--r--src/systemd/org.freedesktop.systemd1.policy.in.in (renamed from src/core/org.freedesktop.systemd1.policy.in.in)0
-rw-r--r--src/systemd/org.freedesktop.systemd1.service (renamed from src/core/org.freedesktop.systemd1.service)0
-rw-r--r--src/systemd/system.conf (renamed from src/core/system.conf)0
-rw-r--r--src/systemd/systemd.pc.in (renamed from src/core/systemd.pc.in)0
-rw-r--r--src/systemd/triggers.systemd.in (renamed from src/core/triggers.systemd.in)0
-rw-r--r--src/systemd/user.conf (renamed from src/core/user.conf)0
701 files changed, 1182 insertions, 139 deletions
diff --git a/Makefile.am b/Makefile.am
index 3846a21ef9..1871a87aec 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -68,7 +68,7 @@ LIBSYSTEMD_JOURNAL_CURRENT=11
LIBSYSTEMD_JOURNAL_REVISION=5
LIBSYSTEMD_JOURNAL_AGE=11
-#@config.mk
+#@config.mk.in
# Dirs of external packages
dbuspolicydir=@dbuspolicydir@
dbussessionservicedir=@dbussessionservicedir@
@@ -358,28 +358,63 @@ INSTALL_EXEC_HOOKS += \
INSTALL_EXEC_HOOKS += \
install-busnames-target-wants-hook
-# ------------------------------------------------------------------------------
+#@am-pretty.mk -----------------------------------------------------------------
AM_V_M4 = $(AM_V_M4_$(V))
AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
AM_V_M4_0 = @echo " M4 " $@;
+AM_V_M4_1 =
AM_V_XSLT = $(AM_V_XSLT_$(V))
AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
AM_V_XSLT_0 = @echo " XSLT " $@;
+AM_V_XSLT_1 =
AM_V_GPERF = $(AM_V_GPERF_$(V))
AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
AM_V_GPERF_0 = @echo " GPERF " $@;
+AM_V_GPERF_1 =
AM_V_LN = $(AM_V_LN_$(V))
AM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
AM_V_LN_0 = @echo " LN " $@;
+AM_V_LN_1 =
AM_V_RM = $(AM_V_RM_$(V))
AM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
AM_V_RM_0 = @echo " RM " $@;
-
-# ------------------------------------------------------------------------------
+AM_V_RM_1 =
+
+AM_V_CC = $(AM_V_CC_$(V))
+AM_V_CC_ = $(AM_V_CC_$(AM_DEFAULT_VERBOSITY))
+AM_V_CC_0 = @echo " CC " $@;
+AM_V_CC_1 =
+
+AM_V_CCLD = $(AM_V_CCLD_$(V))
+AM_V_CCLD_ = $(AM_V_CCLD_$(AM_DEFAULT_VERBOSITY))
+AM_V_CCLD_0 = @echo " CCLD " $@;
+AM_V_CCLD_1 =
+
+AM_V_P = $(AM_V_P_$(V))
+AM_V_P_ = $(AM_V_P_$(AM_DEFAULT_VERBOSITY))
+AM_V_P_0 = false
+AM_V_P_1 = :
+
+AM_V_GEN = $(AM_V_GEN_$(V))
+AM_V_GEN_ = $(AM_V_GEN_$(AM_DEFAULT_VERBOSITY))
+AM_V_GEN_0 = @echo " GEN " $@;
+AM_V_GEN_1 =
+
+AM_V_at = $(AM_V_at_$(V))
+AM_V_at_ = $(AM_V_at_$(AM_DEFAULT_VERBOSITY))
+AM_V_at_0 = @
+AM_V_at_1 =
+
+AM_V_lt = $(AM_V_lt_$(V))
+AM_V_lt_ = $(AM_V_lt_$(AM_DEFAULT_VERBOSITY))
+AM_V_lt_0 = --silent
+AM_V_lt_1 =
+
+#@discard.mk--------------------------------------------------------------------
rootbin_PROGRAMS = \
systemctl \
systemd-notify \
@@ -1095,7 +1130,7 @@ libshared_la_LIBADD = \
$(LIBIDN_LIBS) \
$(SECCOMP_LIBS)
-# -----------------------------------------------------------------------------
+#@src/libfirewall/Makefile ----------------------------------------------------
if HAVE_LIBIPTC
noinst_LTLIBRARIES += \
libfirewall.la
@@ -1297,6 +1332,7 @@ EXTRA_DIST += \
CLEANFILES += \
$(gperf_txt_sources)
+#@common.once.head.mk
%-from-name.gperf: %-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct $(notdir $*)_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
@@ -1380,7 +1416,7 @@ src/resolve/dns_type-from-name.gperf: src/resolve/dns_type-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct dns_type_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { s=$$1; sub(/_/, "-", s); printf "%s, ", $$s; printf "DNS_TYPE_%s\n", $$1 }' <$< >$@
-#@src/core/Makefile ------------------------------------------------------------
+#@src/systemd/Makefile ---------------------------------------------------------
systemd_SOURCES = \
src/core/main.c
@@ -4729,7 +4765,7 @@ polkitpolicy_in_files += \
EXTRA_DIST += \
units/systemd-hostnamed.service.in
-#@src/core/Makefile.mk ---------------------------------------------------------
+#@src/core/Makefile ------------------------------------------------------------
dist_systemunit_DATA_busnames += \
units/org.freedesktop.systemd1.busname
diff --git a/am-pat-rules.mk b/am-pat-rules.mk
new file mode 100644
index 0000000000..fe44940103
--- /dev/null
+++ b/am-pat-rules.mk
@@ -0,0 +1,15 @@
+$(outdir)/%.o: $(srcdir)/%.c | $(outdir)/.deps
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
+ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Po
+
+$(outdir)/%.lo: $(srcdir)/%.c | $(outdir)/.deps
+ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
+ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
+ $(am__mv) $$depbase.Tpo $$depbase.Plo
+
+$(outdir)/.deps:
+ $(AM_V_at)$(MKDIR_P) $@
+
+$(outdir)/%.la:
+ $(AM_V_CCLD)$(LINK) $^
diff --git a/am-pretty.mk b/am-pretty.mk
new file mode 100644
index 0000000000..b04dd3ceb8
--- /dev/null
+++ b/am-pretty.mk
@@ -0,0 +1,54 @@
+AM_V_M4 = $(AM_V_M4_$(V))
+AM_V_M4_ = $(AM_V_M4_$(AM_DEFAULT_VERBOSITY))
+AM_V_M4_0 = @echo " M4 " $@;
+AM_V_M4_1 =
+
+AM_V_XSLT = $(AM_V_XSLT_$(V))
+AM_V_XSLT_ = $(AM_V_XSLT_$(AM_DEFAULT_VERBOSITY))
+AM_V_XSLT_0 = @echo " XSLT " $@;
+AM_V_XSLT_1 =
+
+AM_V_GPERF = $(AM_V_GPERF_$(V))
+AM_V_GPERF_ = $(AM_V_GPERF_$(AM_DEFAULT_VERBOSITY))
+AM_V_GPERF_0 = @echo " GPERF " $@;
+AM_V_GPERF_1 =
+
+AM_V_LN = $(AM_V_LN_$(V))
+AM_V_LN_ = $(AM_V_LN_$(AM_DEFAULT_VERBOSITY))
+AM_V_LN_0 = @echo " LN " $@;
+AM_V_LN_1 =
+
+AM_V_RM = $(AM_V_RM_$(V))
+AM_V_RM_ = $(AM_V_RM_$(AM_DEFAULT_VERBOSITY))
+AM_V_RM_0 = @echo " RM " $@;
+AM_V_RM_1 =
+
+AM_V_CC = $(AM_V_CC_$(V))
+AM_V_CC_ = $(AM_V_CC_$(AM_DEFAULT_VERBOSITY))
+AM_V_CC_0 = @echo " CC " $@;
+AM_V_CC_1 =
+
+AM_V_CCLD = $(AM_V_CCLD_$(V))
+AM_V_CCLD_ = $(AM_V_CCLD_$(AM_DEFAULT_VERBOSITY))
+AM_V_CCLD_0 = @echo " CCLD " $@;
+AM_V_CCLD_1 =
+
+AM_V_P = $(AM_V_P_$(V))
+AM_V_P_ = $(AM_V_P_$(AM_DEFAULT_VERBOSITY))
+AM_V_P_0 = false
+AM_V_P_1 = :
+
+AM_V_GEN = $(AM_V_GEN_$(V))
+AM_V_GEN_ = $(AM_V_GEN_$(AM_DEFAULT_VERBOSITY))
+AM_V_GEN_0 = @echo " GEN " $@;
+AM_V_GEN_1 =
+
+AM_V_at = $(AM_V_at_$(V))
+AM_V_at_ = $(AM_V_at_$(AM_DEFAULT_VERBOSITY))
+AM_V_at_0 = @
+AM_V_at_1 =
+
+AM_V_lt = $(AM_V_lt_$(V))
+AM_V_lt_ = $(AM_V_lt_$(AM_DEFAULT_VERBOSITY))
+AM_V_lt_0 = --silent
+AM_V_lt_1 =
diff --git a/am-tools.mk b/am-tools.mk
new file mode 100644
index 0000000000..d012b69cae
--- /dev/null
+++ b/am-tools.mk
@@ -0,0 +1,11 @@
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+
+CCLD = $(CC)
+LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
diff --git a/autogen.sh b/autogen.sh
index 607a9682dd..bf08658f1a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -28,7 +28,7 @@ if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then
echo "Activated pre-commit hook." || :
fi
-intltoolize --force --automake
+intltoolize --force
autoreconf --force --install --symlink
libdir() {
diff --git a/automake.head.mk b/automake.head.mk
index 37d3b07997..431f14da2b 100644
--- a/automake.head.mk
+++ b/automake.head.mk
@@ -24,7 +24,7 @@ _am_relto = $(call _am_noslash,$(call _am_relto_helper,$(call _am_noslash,$(absp
# Note that _am_is_subdir says that a directory is a subdirectory of
# itself.
_am_path = $(call _am_relto,.,$1)
-am_path = $(foreach p,$1,$(call _am_relto,$p))
+am_path = $(foreach p,$1,$(call _am_relto,.,$p))
## Declare the default target
all: build
diff --git a/common.each.head.mk b/common.each.head.mk
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/common.each.head.mk
diff --git a/common.each.tail.mk b/common.each.tail.mk
new file mode 100644
index 0000000000..d9f9e4f35c
--- /dev/null
+++ b/common.each.tail.mk
@@ -0,0 +1 @@
+include $(topsrcdir)/am-pat-rules.mk
diff --git a/common.once.head.mk b/common.once.head.mk
index 3a084ff51f..85c2898e88 100644
--- a/common.once.head.mk
+++ b/common.once.head.mk
@@ -20,15 +20,17 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+MAKEFLAGS += --no-builtin-rules
+
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-AM_MAKEFLAGS = --no-print-directory
-AUTOMAKE_OPTIONS = color-tests parallel-tests
GCC_COLORS ?= 'ooh, shiny!'
export GCC_COLORS
SUBDIRS = . po
+CPPFLAGS += -include $(topoutdir)/config.h
+
# remove targets if the command fails
.DELETE_ON_ERROR:
@@ -50,3 +52,22 @@ define generate-sym-test
$(AM_V_at)printf 'return 0; }\n' >> $@
endef
+%-from-name.gperf: %-list.txt
+ $(AM_V_at)$(MKDIR_P) $(dir $@)
+ $(AM_V_GEN)$(AWK) 'BEGIN{ print "struct $(notdir $*)_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
+
+%-from-name.h: %-from-name.gperf
+ $(AM_V_at)$(MKDIR_P) $(dir $@)
+ $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@
+
+# from GNU automake
+
+DEFAULT_INCLUDES = -I.
+depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
+am__depfiles_maybe = depfiles
+DEPDIR = .deps
+
+am__mv = mv -f
+
+include $(topsrcdir)/am-pretty.mk
+include $(topsrcdir)/am-tools.mk
diff --git a/config.mk b/config.mk
index 92d5ac420d..d4d543c677 100644
--- a/config.mk
+++ b/config.mk
@@ -20,17 +20,235 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
+ifeq ($(topsrcdir),)
+topoutdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
+abs_topsrcdir := /home/luke/src/parabola/systemd
+topsrcdir = $(if $(am_path),$(call am_path,$(abs_topsrcdir)),$(abs_topsrcdir))
+
+GZIP_ENV = --best
+DIST_ARCHIVES = $(distdir).tar.xz
+DIST_TARGETS = dist-xz
+distuninstallcheck_listfiles = find . -type f -print
+am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+distcleancheck_listfiles = find . -type f -print
+pkgincludedir = $(includedir)/systemd
+ACLOCAL = ${SHELL} /home/luke/src/3rd-party/systemd/build-aux/missing aclocal-1.15
+ACL_LIBS = -lacl
+ALL_LINGUAS =
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 0
+APPARMOR_CFLAGS =
+APPARMOR_LIBS =
+AR = gcc-ar
+AUDIT_LIBS =
+AUTOCONF = ${SHELL} /home/luke/src/3rd-party/systemd/build-aux/missing autoconf
+AUTOHEADER = ${SHELL} /home/luke/src/3rd-party/systemd/build-aux/missing autoheader
+AUTOMAKE = ${SHELL} /home/luke/src/3rd-party/systemd/build-aux/missing automake-1.15
+AWK = gawk
+BLKID_CFLAGS = -I/usr/include/blkid -I/usr/include/uuid
+BLKID_LIBS = -lblkid
+CAP_LIBS = -lcap
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CERTIFICATEROOT = /etc/ssl
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CYGPATH_W = echo
+DBUS_CFLAGS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
+DBUS_LIBS = -ldbus-1
+DEBUGTTY = /dev/tty9
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DLLTOOL = false
+DNS_SERVERS = 8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EFI_ARCH = x86_64
+EFI_CC = gcc
+EFI_INC_DIR = /usr/include
+EFI_LDS_DIR = /usr/lib
+EFI_LIB_DIR = /usr/lib
+EFI_MACHINE_TYPE_NAME = x64
+EGREP = /usr/bin/grep -E
+ELFUTILS_LIBS = -lelf -ldw
+EXEEXT =
+FGREP = /usr/bin/grep -F
+GCRYPT_CFLAGS =
+GCRYPT_LIBS = -lgcrypt -lgpg-error -lgpg-error
+GETTEXT_PACKAGE = systemd
+GMSGFMT = /usr/bin/msgfmt
+GNUTLS_CFLAGS = -I/usr/include/p11-kit-1
+GNUTLS_LIBS = -lgnutls
+GPERF = gperf
+GPG_ERROR_CFLAGS =
+GPG_ERROR_CONFIG = /usr/bin/gpg-error-config
+GPG_ERROR_LIBS = -lgpg-error
+GPG_ERROR_MT_CFLAGS =
+GPG_ERROR_MT_LIBS = -lgpg-error -lpthread
+GREP = /usr/bin/grep
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INTLTOOL_EXTRACT = /usr/bin/intltool-extract
+INTLTOOL_MERGE = /usr/bin/intltool-merge
+INTLTOOL_PERL = /usr/bin/perl
+INTLTOOL_UPDATE = /usr/bin/intltool-update
+INTLTOOL_V_MERGE = $(INTLTOOL__v_MERGE_$(V))
+INTLTOOL_V_MERGE_OPTIONS = $(intltool__v_merge_options_$(V))
+INTLTOOL__v_MERGE_ = $(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))
+INTLTOOL__v_MERGE_0 = @echo " ITMRG " $@;
+KBD_LOADKEYS = /usr/bin/loadkeys
+KBD_SETFONT = /usr/bin/setfont
+KEXEC = /usr/sbin/kexec
+KILL = /usr/bin/kill
+KMOD = /usr/bin/kmod
+KMOD_CFLAGS =
+KMOD_LIBS = -lkmod
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS =
+LIBCRYPTSETUP_CFLAGS =
+LIBCRYPTSETUP_LIBS = -lcryptsetup
+LIBCURL_CFLAGS =
+LIBCURL_LIBS = -lcurl
+LIBGCRYPT_CFLAGS =
+LIBGCRYPT_CONFIG = /usr/bin/libgcrypt-config
+LIBGCRYPT_LIBS = -lgcrypt -lgpg-error
+LIBIDN_CFLAGS =
+LIBIDN_LIBS = -lidn
+LIBIPTC_CFLAGS =
+LIBIPTC_LIBS = -lip4tc -lip6tc
+LIBOBJS =
+LIBS =
+LIBTOOL = $(SHELL) $(topoutdir)/libtool
+LIPO =
+LN_S = ln -s
+LTLIBOBJS =
+LT_SYS_LIBRARY_PATH =
+LZ4_CFLAGS =
+LZ4_LIBS = -llz4
+M4 = /usr/bin/m4
+M4_DEFINES = -DHAVE_SECCOMP -DHAVE_PAM -DHAVE_ACL -DHAVE_SMACK -DHAVE_MICROHTTPD -DHAVE_LIBCURL -DHAVE_LIBIDN -DHAVE_LIBIPTC -DENABLE_TIMESYNCD -DENABLE_COREDUMP -DENABLE_RESOLVED -DENABLE_NETWORKD -DENABLE_KDBUS
+MAINT =
+MAKEINFO = ${SHELL} /home/luke/src/3rd-party/systemd/build-aux/missing makeinfo
+MANIFEST_TOOL = :
+MICROHTTPD_CFLAGS = -I/usr/include/libmicrohttpd -I/usr/include/p11-kit-1
+MICROHTTPD_LIBS = -lmicrohttpd
+MKDIR_P = /usr/bin/mkdir -p
+MOUNT_CFLAGS = -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid
+MOUNT_LIBS = -lmount
+MOUNT_PATH = /usr/bin/mount
+MSGFMT = /usr/bin/msgfmt
+MSGMERGE = /usr/bin/msgmerge
+NM = gcc-nm
+NMEDIT =
+NTP_SERVERS = 0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
+OBJCOPY = objcopy
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL =
+OTOOL64 =
+OUR_CFLAGS = -pipe -Wall -Wextra -Wundef -Wformat=2 -Wformat-security -Wformat-nonliteral -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong -fPIE --param=ssp-buffer-size=4 -Werror=shadow -flto -ffunction-sections -fdata-sections
+OUR_CPPFLAGS = -Wp,-D_FORTIFY_SOURCE=2
+OUR_LDFLAGS = -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -pie -Wl,-fuse-ld=gold
+PACKAGE = systemd
+PACKAGE_BUGREPORT = http://github.com/systemd/systemd/issues
+PACKAGE_NAME = systemd
+PACKAGE_STRING = systemd 229
+PACKAGE_TARNAME = systemd
+PACKAGE_URL = http://www.freedesktop.org/wiki/Software/systemd
+PACKAGE_VERSION = 229
+PAM_LIBS = -lpam -lpam_misc
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR =
+PKG_CONFIG_PATH = /home/luke/.prefix/lib/pkgconfig
+PYTHON = /usr/bin/python
+PYTHON_EXEC_PREFIX = ${exec_prefix}
+PYTHON_PLATFORM = linux
+PYTHON_PREFIX = ${prefix}
+PYTHON_VERSION = 3.5
+QEMU = /usr/bin/qemu-system-x86_64
+QEMU_BIOS =
+QRENCODE_CFLAGS =
+QRENCODE_LIBS =
+QUOTACHECK = /usr/bin/quotacheck
+QUOTAON = /usr/bin/quotaon
+RANLIB = gcc-ranlib
+RC_LOCAL_SCRIPT_PATH_START = /etc/rc.local
+RC_LOCAL_SCRIPT_PATH_STOP = /usr/sbin/halt.local
+SECCOMP_CFLAGS =
+SECCOMP_LIBS = -lseccomp
+SED = /usr/bin/sed
+SELINUX_CFLAGS =
+SELINUX_LIBS =
+SETCAP = /usr/bin/setcap
+SET_MAKE =
+SHELL = /bin/sh
+STRINGS = strings
+STRIP = strip
+SULOGIN = /usr/bin/sulogin
+SUSHELL = /bin/sh
+SYSTEM_GID_MAX = 999
+SYSTEM_SYSVINIT_PATH =
+SYSTEM_SYSVRCND_PATH =
+SYSTEM_UID_MAX = 999
+TELINIT = /lib/sysvinit/telinit
+TTY_GID = 5
+UMOUNT_PATH = /usr/bin/umount
+USE_NLS = yes
+VERSION = 229
+XGETTEXT = /usr/bin/xgettext
+XKBCOMMON_CFLAGS =
+XKBCOMMON_LIBS = -lxkbcommon
+XSLTPROC = /usr/bin/xsltproc
+XZ_CFLAGS =
+XZ_LIBS = -llzma
+ZLIB_CFLAGS =
+ZLIB_LIBS = -lz
+abs_builddir = /home/luke/src/3rd-party/systemd
+abs_srcdir = /home/luke/src/3rd-party/systemd
+abs_top_builddir = /home/luke/src/3rd-party/systemd
+abs_top_srcdir = /home/luke/src/3rd-party/systemd
+ac_ct_AR = gcc-ar
+ac_ct_CC = gcc
+ac_ct_DUMPBIN =
+ac_ct_NM = gcc-nm
+ac_ct_RANLIB = gcc-ranlib
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = tar --format=posix -chf - "$$tardir"
+am__untar = tar -xf -
+bashcompletiondir = /usr/share/bash-completion/completions
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+
# Dirs of external packages
-dbuspolicydir=@dbuspolicydir@
-dbussessionservicedir=@dbussessionservicedir@
-dbussystemservicedir=@dbussystemservicedir@
-pamlibdir=@pamlibdir@
-pamconfdir=@pamconfdir@
+dbuspolicydir=${prefix}/etc/dbus-1/system.d
+dbussessionservicedir=${datarootdir}/dbus-1/services
+dbussystemservicedir=${datarootdir}/dbus-1/system-services
+pamlibdir=${exec_prefix}/lib/security
+pamconfdir=${prefix}/etc/pam.d
pkgconfigdatadir=$(datadir)/pkgconfig
pkgconfiglibdir=$(libdir)/pkgconfig
polkitpolicydir=$(datadir)/polkit-1/actions
-bashcompletiondir=@bashcompletiondir@
-zshcompletiondir=@zshcompletiondir@
+bashcompletiondir=/usr/share/bash-completion/completions
+zshcompletiondir=${datarootdir}/zsh/site-functions
rpmmacrosdir=$(prefix)/lib/rpm/macros.d
sysvinitdir=$(SYSTEM_SYSVINIT_PATH)
sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
@@ -67,7 +285,10 @@ factory_pamdir = $(datadir)/factory/etc/pam.d
bootlibdir = $(prefix)/lib/systemd/boot/efi
# And these are the special ones for /
-rootprefix=@rootprefix@
+rootprefix=/usr
rootbindir=$(rootprefix)/bin
rootlibexecdir=$(rootprefix)/lib/systemd
+AM_DEFAULT_VERBOSITY = 0
+
+endif
diff --git a/config.mk.in b/config.mk.in
new file mode 100644
index 0000000000..0c7ba33c72
--- /dev/null
+++ b/config.mk.in
@@ -0,0 +1,82 @@
+# -*- Mode: makefile; indent-tabs-mode: t -*-
+#
+# This file is part of systemd.
+#
+# Copyright 2010-2012 Lennart Poettering
+# Copyright 2010-2012 Kay Sievers
+# Copyright 2013 Zbigniew Jędrzejewski-Szmek
+# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
+ifeq ($(topsrcdir),)
+topoutdir := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
+abs_topsrcdir := @abs_top_srcdir@
+topsrcdir = $(if $(am_path),$(call am_path,$(abs_topsrcdir)),$(abs_topsrcdir))
+
+# Dirs of external packages
+dbuspolicydir=@dbuspolicydir@
+dbussessionservicedir=@dbussessionservicedir@
+dbussystemservicedir=@dbussystemservicedir@
+pamlibdir=@pamlibdir@
+pamconfdir=@pamconfdir@
+pkgconfigdatadir=$(datadir)/pkgconfig
+pkgconfiglibdir=$(libdir)/pkgconfig
+polkitpolicydir=$(datadir)/polkit-1/actions
+bashcompletiondir=@bashcompletiondir@
+zshcompletiondir=@zshcompletiondir@
+rpmmacrosdir=$(prefix)/lib/rpm/macros.d
+sysvinitdir=$(SYSTEM_SYSVINIT_PATH)
+sysvrcnddir=$(SYSTEM_SYSVRCND_PATH)
+varlogdir=$(localstatedir)/log
+systemdstatedir=$(localstatedir)/lib/systemd
+catalogstatedir=$(systemdstatedir)/catalog
+xinitrcdir=$(sysconfdir)/X11/xinit/xinitrc.d
+
+# Our own, non-special dirs
+pkgsysconfdir=$(sysconfdir)/systemd
+userunitdir=$(prefix)/lib/systemd/user
+userpresetdir=$(prefix)/lib/systemd/user-preset
+tmpfilesdir=$(prefix)/lib/tmpfiles.d
+sysusersdir=$(prefix)/lib/sysusers.d
+sysctldir=$(prefix)/lib/sysctl.d
+binfmtdir=$(prefix)/lib/binfmt.d
+modulesloaddir=$(prefix)/lib/modules-load.d
+networkdir=$(rootprefix)/lib/systemd/network
+pkgincludedir=$(includedir)/systemd
+systemgeneratordir=$(rootlibexecdir)/system-generators
+usergeneratordir=$(prefix)/lib/systemd/user-generators
+systemshutdowndir=$(rootlibexecdir)/system-shutdown
+systemsleepdir=$(rootlibexecdir)/system-sleep
+systemunitdir=$(rootprefix)/lib/systemd/system
+systempresetdir=$(rootprefix)/lib/systemd/system-preset
+udevlibexecdir=$(rootprefix)/lib/udev
+udevhomedir=$(udevlibexecdir)
+udevrulesdir=$(udevlibexecdir)/rules.d
+udevhwdbdir=$(udevlibexecdir)/hwdb.d
+catalogdir=$(prefix)/lib/systemd/catalog
+kernelinstalldir = $(prefix)/lib/kernel/install.d
+factory_etcdir = $(datadir)/factory/etc
+factory_pamdir = $(datadir)/factory/etc/pam.d
+bootlibdir = $(prefix)/lib/systemd/boot/efi
+
+# And these are the special ones for /
+rootprefix=@rootprefix@
+rootbindir=$(rootprefix)/bin
+rootlibexecdir=$(rootprefix)/lib/systemd
+
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+
+endif
diff --git a/configure.ac b/configure.ac
index 5fd73c59f1..2139966a43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,7 +25,7 @@ AC_INIT([systemd],
[systemd],
[http://www.freedesktop.org/wiki/Software/systemd])
-AC_CONFIG_SRCDIR([src/core/main.c])
+AC_CONFIG_SRCDIR([src/systemd/main.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
@@ -34,7 +34,6 @@ AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_PREFIX_DEFAULT([/usr])
AM_MAINTAINER_MODE([enable])
-AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects parallel-tests])
AM_SILENT_RULES([yes])
AC_CANONICAL_HOST
AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
@@ -1503,7 +1502,7 @@ AC_SUBST([rootprefix], [$with_rootprefix])
AC_SUBST([rootlibdir], [$with_rootlibdir])
AC_CONFIG_FILES([
- Makefile
+ config.mk
po/Makefile.in
])
diff --git a/catalog/systemd.be.catalog b/src/journal/catalog/systemd.be.catalog
index be081d6efc..be081d6efc 100644
--- a/catalog/systemd.be.catalog
+++ b/src/journal/catalog/systemd.be.catalog
diff --git a/catalog/systemd.be@latin.catalog b/src/journal/catalog/systemd.be@latin.catalog
index 382fdb8b04..382fdb8b04 100644
--- a/catalog/systemd.be@latin.catalog
+++ b/src/journal/catalog/systemd.be@latin.catalog
diff --git a/catalog/systemd.catalog b/src/journal/catalog/systemd.catalog
index 077f182a5a..077f182a5a 100644
--- a/catalog/systemd.catalog
+++ b/src/journal/catalog/systemd.catalog
diff --git a/catalog/systemd.da.catalog b/src/journal/catalog/systemd.da.catalog
index bd4d742d8a..bd4d742d8a 100644
--- a/catalog/systemd.da.catalog
+++ b/src/journal/catalog/systemd.da.catalog
diff --git a/catalog/systemd.fr.catalog b/src/journal/catalog/systemd.fr.catalog
index 03a457786f..03a457786f 100644
--- a/catalog/systemd.fr.catalog
+++ b/src/journal/catalog/systemd.fr.catalog
diff --git a/catalog/systemd.hu.catalog b/src/journal/catalog/systemd.hu.catalog
index 30d76916cc..30d76916cc 100644
--- a/catalog/systemd.hu.catalog
+++ b/src/journal/catalog/systemd.hu.catalog
diff --git a/catalog/systemd.it.catalog b/src/journal/catalog/systemd.it.catalog
index 861b92b74a..861b92b74a 100644
--- a/catalog/systemd.it.catalog
+++ b/src/journal/catalog/systemd.it.catalog
diff --git a/catalog/systemd.ko.catalog b/src/journal/catalog/systemd.ko.catalog
index 3c3535a94c..3c3535a94c 100644
--- a/catalog/systemd.ko.catalog
+++ b/src/journal/catalog/systemd.ko.catalog
diff --git a/catalog/systemd.pl.catalog b/src/journal/catalog/systemd.pl.catalog
index 6b8a31d8c4..6b8a31d8c4 100644
--- a/catalog/systemd.pl.catalog
+++ b/src/journal/catalog/systemd.pl.catalog
diff --git a/catalog/systemd.pt_BR.catalog b/src/journal/catalog/systemd.pt_BR.catalog
index d9716e30f7..d9716e30f7 100644
--- a/catalog/systemd.pt_BR.catalog
+++ b/src/journal/catalog/systemd.pt_BR.catalog
diff --git a/catalog/systemd.ru.catalog b/src/journal/catalog/systemd.ru.catalog
index eedbb8aa9c..eedbb8aa9c 100644
--- a/catalog/systemd.ru.catalog
+++ b/src/journal/catalog/systemd.ru.catalog
diff --git a/catalog/systemd.sr.catalog b/src/journal/catalog/systemd.sr.catalog
index cf700c477b..cf700c477b 100644
--- a/catalog/systemd.sr.catalog
+++ b/src/journal/catalog/systemd.sr.catalog
diff --git a/catalog/systemd.zh_CN.catalog b/src/journal/catalog/systemd.zh_CN.catalog
index 38639109e4..38639109e4 100644
--- a/catalog/systemd.zh_CN.catalog
+++ b/src/journal/catalog/systemd.zh_CN.catalog
diff --git a/catalog/systemd.zh_TW.catalog b/src/journal/catalog/systemd.zh_TW.catalog
index 027ffe44e5..027ffe44e5 100644
--- a/catalog/systemd.zh_TW.catalog
+++ b/src/journal/catalog/systemd.zh_TW.catalog
diff --git a/src/kernel-install/Makefile b/src/kernel-install/Makefile
index 9e6def1a29..9518ba1283 100644
--- a/src/kernel-install/Makefile
+++ b/src/kernel-install/Makefile
@@ -20,6 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/automake.head.mk
+
dist_bin_SCRIPTS = \
src/kernel-install/kernel-install
@@ -27,3 +30,4 @@ dist_kernelinstall_SCRIPTS = \
src/kernel-install/50-depmod.install \
src/kernel-install/90-loaderentry.install
+include $(topsrcdir)/automake.tail.mk
diff --git a/shell-completion/bash/kernel-install b/src/kernel-install/bash-completion_kernel-install
index 7cd2494cf7..7cd2494cf7 100644
--- a/shell-completion/bash/kernel-install
+++ b/src/kernel-install/bash-completion_kernel-install
diff --git a/man/kernel-install.xml b/src/kernel-install/kernel-install.xml
index eb519188a6..eb519188a6 100644
--- a/man/kernel-install.xml
+++ b/src/kernel-install/kernel-install.xml
diff --git a/shell-completion/zsh/_kernel-install b/src/kernel-install/zsh-completion_kernel-install
index 4fdd3a4ae7..4fdd3a4ae7 100644
--- a/shell-completion/zsh/_kernel-install
+++ b/src/kernel-install/zsh-completion_kernel-install
diff --git a/src/basic/.gitignore b/src/libbasic/.gitignore
index e22411e484..e22411e484 100644
--- a/src/basic/.gitignore
+++ b/src/libbasic/.gitignore
diff --git a/src/basic/Makefile b/src/libbasic/Makefile
index 64971e0423..c115b2fe8e 100644
--- a/src/basic/Makefile
+++ b/src/libbasic/Makefile
@@ -20,6 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/automake.head.mk
+
noinst_LTLIBRARIES += \
libbasic.la
@@ -238,50 +241,53 @@ libbasic_la_LIBADD = \
-lrt \
-lm
-src/basic/errno-list.txt:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+am_out_files = libbasic.la
+CFLAGS += $(libbasic_la_CFLAGS)
+CPPFLAGS += -I$(topsrcdir)/src/libsystemd/include
+CPPFLAGS += -I$(topoutdir)/src/libsystemd/include
+CPPFLAGS += -include $(topoutdir)/config.h
+$(outdir)/libbasic.la: $(patsubst src/basic/%.c,$(outdir)/%.lo,$(filter %.c,$(libbasic_la_SOURCES))) $(libbasic_la_LIBADD)
+
+$(outdir)/af-list.lo: $(outdir)/af-from-name.h $(outdir)/af-to-name.h
+$(outdir)/arphrd-list.lo: $(outdir)/arphrd-from-name.h $(outdir)/arphrd-to-name.h
+$(outdir)/cap-list.lo: $(outdir)/cap-from-name.h $(outdir)/cap-to-name.h
+$(outdir)/errno-list.lo: $(outdir)/errno-from-name.h $(outdir)/errno-to-name.h
+
+$(outdir)/errno-list.txt:
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@
-src/basic/errno-to-name.h: src/basic/errno-list.txt
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/errno-to-name.h: $(outdir)/errno-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const errno_names[] = { "} !/EDEADLOCK/ && !/EWOULDBLOCK/ && !/ENOTSUP/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
-src/basic/af-list.txt:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/af-list.txt:
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/socket.h - </dev/null | grep -v AF_UNSPEC | grep -v AF_MAX | $(AWK) '/^#define[ \t]+AF_[^ \t]+[ \t]+PF_[^ \t]/ { print $$2; }' >$@
-src/basic/af-to-name.h: src/basic/af-list.txt
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/af-to-name.h: $(outdir)/af-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const af_names[] = { "} !/AF_FILE/ && !/AF_ROUTE/ && !/AF_LOCAL/ { printf "[%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
-src/basic/arphrd-list.txt:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/arphrd-list.txt:
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include net/if_arp.h - </dev/null | $(AWK) '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $$2; }' | sed -e 's/ARPHRD_//' >$@
-src/basic/arphrd-to-name.h: src/basic/arphrd-list.txt
+$(outdir)/arphrd-to-name.h: $(outdir)/arphrd-list.txt
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const arphrd_names[] = { "} !/CISCO/ { printf "[ARPHRD_%s] = \"%s\",\n", $$1, $$1 } END{print "};"}' <$< >$@
-src/basic/arphrd-from-name.gperf: src/basic/arphrd-list.txt
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/arphrd-from-name.gperf: $(outdir)/arphrd-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct arphrd_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, ARPHRD_%s\n", $$1, $$1 }' <$< >$@
-src/basic/cap-list.txt:
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/cap-list.txt:
$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/capability.h -include missing.h - </dev/null | $(AWK) '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $$2; }' | grep -v CAP_LAST_CAP >$@
-src/basic/cap-to-name.h: src/basic/cap-list.txt
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/cap-to-name.h: $(outdir)/cap-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "static const char* const capability_names[] = { "} { printf "[%s] = \"%s\",\n", $$1, tolower($$1) } END{print "};"}' <$< >$@
-src/basic/cap-from-name.gperf: src/basic/cap-list.txt
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/cap-from-name.gperf: $(outdir)/cap-list.txt
$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct capability_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, %s\n", $$1, $$1 }' <$< >$@
-src/basic/cap-from-name.h: src/basic/cap-from-name.gperf
- $(AM_V_at)$(MKDIR_P) $(dir $@)
+$(outdir)/cap-from-name.h: $(outdir)/cap-from-name.gperf
$(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@
+include $(topsrcdir)/automake.tail.mk
diff --git a/src/basic/MurmurHash2.c b/src/libbasic/MurmurHash2.c
index 2f4149dbe9..2f4149dbe9 100644
--- a/src/basic/MurmurHash2.c
+++ b/src/libbasic/MurmurHash2.c
diff --git a/src/basic/MurmurHash2.h b/src/libbasic/MurmurHash2.h
index 93362dd485..93362dd485 100644
--- a/src/basic/MurmurHash2.h
+++ b/src/libbasic/MurmurHash2.h
diff --git a/src/basic/af-list.c b/src/libbasic/af-list.c
index 3fac9c508b..3fac9c508b 100644
--- a/src/basic/af-list.c
+++ b/src/libbasic/af-list.c
diff --git a/src/basic/af-list.h b/src/libbasic/af-list.h
index 135248dc64..135248dc64 100644
--- a/src/basic/af-list.h
+++ b/src/libbasic/af-list.h
diff --git a/src/basic/alloc-util.c b/src/libbasic/alloc-util.c
index b540dcddf5..b540dcddf5 100644
--- a/src/basic/alloc-util.c
+++ b/src/libbasic/alloc-util.c
diff --git a/src/basic/alloc-util.h b/src/libbasic/alloc-util.h
index 679ba7f398..679ba7f398 100644
--- a/src/basic/alloc-util.h
+++ b/src/libbasic/alloc-util.h
diff --git a/src/basic/arphrd-list.c b/src/libbasic/arphrd-list.c
index 6792d1ee3f..6792d1ee3f 100644
--- a/src/basic/arphrd-list.c
+++ b/src/libbasic/arphrd-list.c
diff --git a/src/basic/arphrd-list.h b/src/libbasic/arphrd-list.h
index c0f8758dbe..c0f8758dbe 100644
--- a/src/basic/arphrd-list.h
+++ b/src/libbasic/arphrd-list.h
diff --git a/src/basic/async.c b/src/libbasic/async.c
index a1f163f27b..a1f163f27b 100644
--- a/src/basic/async.c
+++ b/src/libbasic/async.c
diff --git a/src/basic/async.h b/src/libbasic/async.h
index 9bd13ff6e0..9bd13ff6e0 100644
--- a/src/basic/async.h
+++ b/src/libbasic/async.h
diff --git a/src/basic/audit-util.c b/src/libbasic/audit-util.c
index 5741fecdd6..5741fecdd6 100644
--- a/src/basic/audit-util.c
+++ b/src/libbasic/audit-util.c
diff --git a/src/basic/audit-util.h b/src/libbasic/audit-util.h
index e048503991..e048503991 100644
--- a/src/basic/audit-util.h
+++ b/src/libbasic/audit-util.h
diff --git a/src/basic/barrier.c b/src/libbasic/barrier.c
index 2da633b311..2da633b311 100644
--- a/src/basic/barrier.c
+++ b/src/libbasic/barrier.c
diff --git a/src/basic/barrier.h b/src/libbasic/barrier.h
index 6347fddc4d..6347fddc4d 100644
--- a/src/basic/barrier.h
+++ b/src/libbasic/barrier.h
diff --git a/src/basic/bitmap.c b/src/libbasic/bitmap.c
index ad1fda0198..ad1fda0198 100644
--- a/src/basic/bitmap.c
+++ b/src/libbasic/bitmap.c
diff --git a/src/basic/bitmap.h b/src/libbasic/bitmap.h
index f5f8f2f018..f5f8f2f018 100644
--- a/src/basic/bitmap.h
+++ b/src/libbasic/bitmap.h
diff --git a/src/basic/blkid-util.h b/src/libbasic/blkid-util.h
index 7aa75eb091..7aa75eb091 100644
--- a/src/basic/blkid-util.h
+++ b/src/libbasic/blkid-util.h
diff --git a/src/basic/btrfs-ctree.h b/src/libbasic/btrfs-ctree.h
index 66bdf9736e..66bdf9736e 100644
--- a/src/basic/btrfs-ctree.h
+++ b/src/libbasic/btrfs-ctree.h
diff --git a/src/basic/btrfs-util.c b/src/libbasic/btrfs-util.c
index 359d85f2e8..359d85f2e8 100644
--- a/src/basic/btrfs-util.c
+++ b/src/libbasic/btrfs-util.c
diff --git a/src/basic/btrfs-util.h b/src/libbasic/btrfs-util.h
index 37802c2565..29f8ba63d3 100644
--- a/src/basic/btrfs-util.h
+++ b/src/libbasic/btrfs-util.h
@@ -23,7 +23,7 @@
#include <stdint.h>
#include <sys/types.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
#include "time-util.h"
diff --git a/src/basic/build.h b/src/libbasic/build.h
index 633c2aaccb..633c2aaccb 100644
--- a/src/basic/build.h
+++ b/src/libbasic/build.h
diff --git a/src/basic/bus-label.c b/src/libbasic/bus-label.c
index d4531c7947..d4531c7947 100644
--- a/src/basic/bus-label.c
+++ b/src/libbasic/bus-label.c
diff --git a/src/basic/bus-label.h b/src/libbasic/bus-label.h
index 62fb2c450c..62fb2c450c 100644
--- a/src/basic/bus-label.h
+++ b/src/libbasic/bus-label.h
diff --git a/src/basic/c-rbtree.c b/src/libbasic/c-rbtree.c
index 914d7e5229..914d7e5229 100644
--- a/src/basic/c-rbtree.c
+++ b/src/libbasic/c-rbtree.c
diff --git a/src/basic/c-rbtree.h b/src/libbasic/c-rbtree.h
index 20c5515ca1..20c5515ca1 100644
--- a/src/basic/c-rbtree.h
+++ b/src/libbasic/c-rbtree.h
diff --git a/src/basic/calendarspec.c b/src/libbasic/calendarspec.c
index 775879076d..775879076d 100644
--- a/src/basic/calendarspec.c
+++ b/src/libbasic/calendarspec.c
diff --git a/src/basic/calendarspec.h b/src/libbasic/calendarspec.h
index f6472c1244..f6472c1244 100644
--- a/src/basic/calendarspec.h
+++ b/src/libbasic/calendarspec.h
diff --git a/src/basic/cap-list.c b/src/libbasic/cap-list.c
index 3e773a06f5..3e773a06f5 100644
--- a/src/basic/cap-list.c
+++ b/src/libbasic/cap-list.c
diff --git a/src/basic/cap-list.h b/src/libbasic/cap-list.h
index c1f6b94ad3..c1f6b94ad3 100644
--- a/src/basic/cap-list.h
+++ b/src/libbasic/cap-list.h
diff --git a/src/basic/capability-util.c b/src/libbasic/capability-util.c
index d4c5bd6937..d4c5bd6937 100644
--- a/src/basic/capability-util.c
+++ b/src/libbasic/capability-util.c
diff --git a/src/basic/capability-util.h b/src/libbasic/capability-util.h
index 35a896e229..35a896e229 100644
--- a/src/basic/capability-util.h
+++ b/src/libbasic/capability-util.h
diff --git a/src/basic/cgroup-util.c b/src/libbasic/cgroup-util.c
index 6ef00d51df..6ef00d51df 100644
--- a/src/basic/cgroup-util.c
+++ b/src/libbasic/cgroup-util.c
diff --git a/src/basic/cgroup-util.h b/src/libbasic/cgroup-util.h
index ad1edd9cdb..ad1edd9cdb 100644
--- a/src/basic/cgroup-util.h
+++ b/src/libbasic/cgroup-util.h
diff --git a/src/basic/chattr-util.c b/src/libbasic/chattr-util.c
index 2896a729af..2896a729af 100644
--- a/src/basic/chattr-util.c
+++ b/src/libbasic/chattr-util.c
diff --git a/src/basic/chattr-util.h b/src/libbasic/chattr-util.h
index 960cf6d5b3..960cf6d5b3 100644
--- a/src/basic/chattr-util.h
+++ b/src/libbasic/chattr-util.h
diff --git a/src/basic/clock-util.c b/src/libbasic/clock-util.c
index 507e757ff0..507e757ff0 100644
--- a/src/basic/clock-util.c
+++ b/src/libbasic/clock-util.c
diff --git a/src/basic/clock-util.h b/src/libbasic/clock-util.h
index f471f2abcf..f471f2abcf 100644
--- a/src/basic/clock-util.h
+++ b/src/libbasic/clock-util.h
diff --git a/src/basic/conf-files.c b/src/libbasic/conf-files.c
index c781610e14..c781610e14 100644
--- a/src/basic/conf-files.c
+++ b/src/libbasic/conf-files.c
diff --git a/src/basic/conf-files.h b/src/libbasic/conf-files.h
index e00e0e81fb..e00e0e81fb 100644
--- a/src/basic/conf-files.h
+++ b/src/libbasic/conf-files.h
diff --git a/src/basic/copy.c b/src/libbasic/copy.c
index 519b412941..519b412941 100644
--- a/src/basic/copy.c
+++ b/src/libbasic/copy.c
diff --git a/src/basic/copy.h b/src/libbasic/copy.h
index 3e5eb52506..3e5eb52506 100644
--- a/src/basic/copy.h
+++ b/src/libbasic/copy.h
diff --git a/src/basic/cpu-set-util.c b/src/libbasic/cpu-set-util.c
index 95ed6928ff..95ed6928ff 100644
--- a/src/basic/cpu-set-util.c
+++ b/src/libbasic/cpu-set-util.c
diff --git a/src/basic/cpu-set-util.h b/src/libbasic/cpu-set-util.h
index 6f49d9afb0..6f49d9afb0 100644
--- a/src/basic/cpu-set-util.h
+++ b/src/libbasic/cpu-set-util.h
diff --git a/src/basic/def.h b/src/libbasic/def.h
index 963343eb7d..963343eb7d 100644
--- a/src/basic/def.h
+++ b/src/libbasic/def.h
diff --git a/src/basic/device-nodes.c b/src/libbasic/device-nodes.c
index 38c0628a90..38c0628a90 100644
--- a/src/basic/device-nodes.c
+++ b/src/libbasic/device-nodes.c
diff --git a/src/basic/device-nodes.h b/src/libbasic/device-nodes.h
index 94f385abcb..94f385abcb 100644
--- a/src/basic/device-nodes.h
+++ b/src/libbasic/device-nodes.h
diff --git a/src/basic/dirent-util.c b/src/libbasic/dirent-util.c
index 5fb535cb13..5fb535cb13 100644
--- a/src/basic/dirent-util.c
+++ b/src/libbasic/dirent-util.c
diff --git a/src/basic/dirent-util.h b/src/libbasic/dirent-util.h
index 6bf099b46c..6bf099b46c 100644
--- a/src/basic/dirent-util.h
+++ b/src/libbasic/dirent-util.h
diff --git a/src/basic/env-util.c b/src/libbasic/env-util.c
index 7f5fddb700..7f5fddb700 100644
--- a/src/basic/env-util.c
+++ b/src/libbasic/env-util.c
diff --git a/src/basic/env-util.h b/src/libbasic/env-util.h
index b1fef704c2..b1fef704c2 100644
--- a/src/basic/env-util.h
+++ b/src/libbasic/env-util.h
diff --git a/src/basic/errno-list.c b/src/libbasic/errno-list.c
index 31b66bad5e..31b66bad5e 100644
--- a/src/basic/errno-list.c
+++ b/src/libbasic/errno-list.c
diff --git a/src/basic/errno-list.h b/src/libbasic/errno-list.h
index 4eec0cc786..4eec0cc786 100644
--- a/src/basic/errno-list.h
+++ b/src/libbasic/errno-list.h
diff --git a/src/basic/escape.c b/src/libbasic/escape.c
index 2e483880c8..2e483880c8 100644
--- a/src/basic/escape.c
+++ b/src/libbasic/escape.c
diff --git a/src/basic/escape.h b/src/libbasic/escape.h
index 1b28bd10af..1b28bd10af 100644
--- a/src/basic/escape.h
+++ b/src/libbasic/escape.h
diff --git a/src/basic/ether-addr-util.c b/src/libbasic/ether-addr-util.c
index ded6d31f4b..ded6d31f4b 100644
--- a/src/basic/ether-addr-util.c
+++ b/src/libbasic/ether-addr-util.c
diff --git a/src/basic/ether-addr-util.h b/src/libbasic/ether-addr-util.h
index 4487149efd..4487149efd 100644
--- a/src/basic/ether-addr-util.h
+++ b/src/libbasic/ether-addr-util.h
diff --git a/src/basic/exit-status.c b/src/libbasic/exit-status.c
index 5e0bc415c8..5e0bc415c8 100644
--- a/src/basic/exit-status.c
+++ b/src/libbasic/exit-status.c
diff --git a/src/basic/exit-status.h b/src/libbasic/exit-status.h
index 79525d30ee..79525d30ee 100644
--- a/src/basic/exit-status.h
+++ b/src/libbasic/exit-status.h
diff --git a/src/basic/extract-word.c b/src/libbasic/extract-word.c
index ee35d2a0ec..ee35d2a0ec 100644
--- a/src/basic/extract-word.c
+++ b/src/libbasic/extract-word.c
diff --git a/src/basic/extract-word.h b/src/libbasic/extract-word.h
index 21db5ef33f..21db5ef33f 100644
--- a/src/basic/extract-word.h
+++ b/src/libbasic/extract-word.h
diff --git a/src/basic/fd-util.c b/src/libbasic/fd-util.c
index ec9560cd07..ec9560cd07 100644
--- a/src/basic/fd-util.c
+++ b/src/libbasic/fd-util.c
diff --git a/src/basic/fd-util.h b/src/libbasic/fd-util.h
index 44528c6e35..44528c6e35 100644
--- a/src/basic/fd-util.h
+++ b/src/libbasic/fd-util.h
diff --git a/src/basic/fdset.c b/src/libbasic/fdset.c
index 3674d3ed9d..da1162991f 100644
--- a/src/basic/fdset.c
+++ b/src/libbasic/fdset.c
@@ -23,7 +23,7 @@
#include <fcntl.h>
#include <stddef.h>
-#include "sd-daemon.h"
+#include <systemd/sd-daemon.h>
#include "fd-util.h"
#include "fdset.h"
diff --git a/src/basic/fdset.h b/src/libbasic/fdset.h
index 12d0cef761..12d0cef761 100644
--- a/src/basic/fdset.h
+++ b/src/libbasic/fdset.h
diff --git a/src/basic/fileio-label.c b/src/libbasic/fileio-label.c
index 66dbc0fe1e..66dbc0fe1e 100644
--- a/src/basic/fileio-label.c
+++ b/src/libbasic/fileio-label.c
diff --git a/src/basic/fileio-label.h b/src/libbasic/fileio-label.h
index fe7543013d..fe7543013d 100644
--- a/src/basic/fileio-label.h
+++ b/src/libbasic/fileio-label.h
diff --git a/src/basic/fileio.c b/src/libbasic/fileio.c
index e43ca6d29e..e43ca6d29e 100644
--- a/src/basic/fileio.c
+++ b/src/libbasic/fileio.c
diff --git a/src/basic/fileio.h b/src/libbasic/fileio.h
index 8084895ff3..8084895ff3 100644
--- a/src/basic/fileio.h
+++ b/src/libbasic/fileio.h
diff --git a/src/basic/formats-util.h b/src/libbasic/formats-util.h
index ce516b117d..ce516b117d 100644
--- a/src/basic/formats-util.h
+++ b/src/libbasic/formats-util.h
diff --git a/src/basic/fs-util.c b/src/libbasic/fs-util.c
index 3ef1b90edd..3ef1b90edd 100644
--- a/src/basic/fs-util.c
+++ b/src/libbasic/fs-util.c
diff --git a/src/basic/fs-util.h b/src/libbasic/fs-util.h
index 0e2fcb21b9..0e2fcb21b9 100644
--- a/src/basic/fs-util.h
+++ b/src/libbasic/fs-util.h
diff --git a/src/basic/glob-util.c b/src/libbasic/glob-util.c
index 007198c269..007198c269 100644
--- a/src/basic/glob-util.c
+++ b/src/libbasic/glob-util.c
diff --git a/src/basic/glob-util.h b/src/libbasic/glob-util.h
index 5d8fb47a26..5d8fb47a26 100644
--- a/src/basic/glob-util.h
+++ b/src/libbasic/glob-util.h
diff --git a/src/basic/gunicode.c b/src/libbasic/gunicode.c
index 542110503f..542110503f 100644
--- a/src/basic/gunicode.c
+++ b/src/libbasic/gunicode.c
diff --git a/src/basic/gunicode.h b/src/libbasic/gunicode.h
index b03aa43160..b03aa43160 100644
--- a/src/basic/gunicode.h
+++ b/src/libbasic/gunicode.h
diff --git a/src/basic/hash-funcs.c b/src/libbasic/hash-funcs.c
index c3a4a011b5..c3a4a011b5 100644
--- a/src/basic/hash-funcs.c
+++ b/src/libbasic/hash-funcs.c
diff --git a/src/basic/hash-funcs.h b/src/libbasic/hash-funcs.h
index 299189d143..299189d143 100644
--- a/src/basic/hash-funcs.h
+++ b/src/libbasic/hash-funcs.h
diff --git a/src/basic/hashmap.c b/src/libbasic/hashmap.c
index 6f1a049d47..6f1a049d47 100644
--- a/src/basic/hashmap.c
+++ b/src/libbasic/hashmap.c
diff --git a/src/basic/hashmap.h b/src/libbasic/hashmap.h
index 6d1ae48b21..6d1ae48b21 100644
--- a/src/basic/hashmap.h
+++ b/src/libbasic/hashmap.h
diff --git a/src/basic/hexdecoct.c b/src/libbasic/hexdecoct.c
index 592df53cb5..592df53cb5 100644
--- a/src/basic/hexdecoct.c
+++ b/src/libbasic/hexdecoct.c
diff --git a/src/basic/hexdecoct.h b/src/libbasic/hexdecoct.h
index 1ba2f69ebd..1ba2f69ebd 100644
--- a/src/basic/hexdecoct.h
+++ b/src/libbasic/hexdecoct.h
diff --git a/src/basic/hostname-util.c b/src/libbasic/hostname-util.c
index 7bb23448ed..7bb23448ed 100644
--- a/src/basic/hostname-util.c
+++ b/src/libbasic/hostname-util.c
diff --git a/src/basic/hostname-util.h b/src/libbasic/hostname-util.h
index d062eddea1..d062eddea1 100644
--- a/src/basic/hostname-util.h
+++ b/src/libbasic/hostname-util.h
diff --git a/src/basic/in-addr-util.c b/src/libbasic/in-addr-util.c
index 245107ebb8..245107ebb8 100644
--- a/src/basic/in-addr-util.c
+++ b/src/libbasic/in-addr-util.c
diff --git a/src/basic/in-addr-util.h b/src/libbasic/in-addr-util.h
index 17798ce816..17798ce816 100644
--- a/src/basic/in-addr-util.h
+++ b/src/libbasic/in-addr-util.h
diff --git a/src/basic/io-util.c b/src/libbasic/io-util.c
index 3ec8d61236..3ec8d61236 100644
--- a/src/basic/io-util.c
+++ b/src/libbasic/io-util.c
diff --git a/src/basic/io-util.h b/src/libbasic/io-util.h
index 142c940d92..142c940d92 100644
--- a/src/basic/io-util.h
+++ b/src/libbasic/io-util.h
diff --git a/src/basic/ioprio.h b/src/libbasic/ioprio.h
index d8bb6eb497..d8bb6eb497 100644
--- a/src/basic/ioprio.h
+++ b/src/libbasic/ioprio.h
diff --git a/src/basic/json.c b/src/libbasic/json.c
index daa98fc815..daa98fc815 100644
--- a/src/basic/json.c
+++ b/src/libbasic/json.c
diff --git a/src/basic/json.h b/src/libbasic/json.h
index a4509f680f..a4509f680f 100644
--- a/src/basic/json.h
+++ b/src/libbasic/json.h
diff --git a/src/basic/label.c b/src/libbasic/label.c
index f5ab855d32..f5ab855d32 100644
--- a/src/basic/label.c
+++ b/src/libbasic/label.c
diff --git a/src/basic/label.h b/src/libbasic/label.h
index 3e9251aa71..3e9251aa71 100644
--- a/src/basic/label.h
+++ b/src/libbasic/label.h
diff --git a/src/basic/list.h b/src/libbasic/list.h
index c68185f587..c68185f587 100644
--- a/src/basic/list.h
+++ b/src/libbasic/list.h
diff --git a/src/basic/locale-util.c b/src/libbasic/locale-util.c
index cda6b2895d..cda6b2895d 100644
--- a/src/basic/locale-util.c
+++ b/src/libbasic/locale-util.c
diff --git a/src/basic/locale-util.h b/src/libbasic/locale-util.h
index b0f9679286..b0f9679286 100644
--- a/src/basic/locale-util.h
+++ b/src/libbasic/locale-util.h
diff --git a/src/basic/lockfile-util.c b/src/libbasic/lockfile-util.c
index 3ee4191e4d..3ee4191e4d 100644
--- a/src/basic/lockfile-util.c
+++ b/src/libbasic/lockfile-util.c
diff --git a/src/basic/lockfile-util.h b/src/libbasic/lockfile-util.h
index 22491ee8e1..22491ee8e1 100644
--- a/src/basic/lockfile-util.h
+++ b/src/libbasic/lockfile-util.h
diff --git a/src/basic/log.c b/src/libbasic/log.c
index d89e6f7274..f625e3bd95 100644
--- a/src/basic/log.c
+++ b/src/libbasic/log.c
@@ -33,7 +33,7 @@
#include <time.h>
#include <unistd.h>
-#include "sd-messages.h"
+#include <systemd/sd-messages.h>
#include "alloc-util.h"
#include "fd-util.h"
diff --git a/src/basic/log.h b/src/libbasic/log.h
index 60ddead74c..8ccbf8ed70 100644
--- a/src/basic/log.h
+++ b/src/libbasic/log.h
@@ -27,7 +27,7 @@
#include <sys/socket.h>
#include <syslog.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
#include "macro.h"
diff --git a/src/basic/login-util.c b/src/libbasic/login-util.c
index 339e94f12d..339e94f12d 100644
--- a/src/basic/login-util.c
+++ b/src/libbasic/login-util.c
diff --git a/src/basic/login-util.h b/src/libbasic/login-util.h
index 89a337d7c1..89a337d7c1 100644
--- a/src/basic/login-util.h
+++ b/src/libbasic/login-util.h
diff --git a/src/basic/macro.h b/src/libbasic/macro.h
index 2695d0edb7..2695d0edb7 100644
--- a/src/basic/macro.h
+++ b/src/libbasic/macro.h
diff --git a/src/basic/memfd-util.c b/src/libbasic/memfd-util.c
index 8c8cc78ebf..8c8cc78ebf 100644
--- a/src/basic/memfd-util.c
+++ b/src/libbasic/memfd-util.c
diff --git a/src/basic/memfd-util.h b/src/libbasic/memfd-util.h
index 46d4989e4c..46d4989e4c 100644
--- a/src/basic/memfd-util.h
+++ b/src/libbasic/memfd-util.h
diff --git a/src/basic/mempool.c b/src/libbasic/mempool.c
index f95e2beb0f..f95e2beb0f 100644
--- a/src/basic/mempool.c
+++ b/src/libbasic/mempool.c
diff --git a/src/basic/mempool.h b/src/libbasic/mempool.h
index fea7841bcf..fea7841bcf 100644
--- a/src/basic/mempool.h
+++ b/src/libbasic/mempool.h
diff --git a/src/basic/missing.h b/src/libbasic/missing.h
index 36b060496a..36b060496a 100644
--- a/src/basic/missing.h
+++ b/src/libbasic/missing.h
diff --git a/src/basic/mkdir-label.c b/src/libbasic/mkdir-label.c
index aa6878cdf0..aa6878cdf0 100644
--- a/src/basic/mkdir-label.c
+++ b/src/libbasic/mkdir-label.c
diff --git a/src/basic/mkdir.c b/src/libbasic/mkdir.c
index 6b1a98402c..6b1a98402c 100644
--- a/src/basic/mkdir.c
+++ b/src/libbasic/mkdir.c
diff --git a/src/basic/mkdir.h b/src/libbasic/mkdir.h
index d564a3547f..d564a3547f 100644
--- a/src/basic/mkdir.h
+++ b/src/libbasic/mkdir.h
diff --git a/src/basic/mount-util.c b/src/libbasic/mount-util.c
index 33f2ee96d8..33f2ee96d8 100644
--- a/src/basic/mount-util.c
+++ b/src/libbasic/mount-util.c
diff --git a/src/basic/mount-util.h b/src/libbasic/mount-util.h
index bdb525d6b0..bdb525d6b0 100644
--- a/src/basic/mount-util.h
+++ b/src/libbasic/mount-util.h
diff --git a/src/basic/nss-util.h b/src/libbasic/nss-util.h
index df565a3593..df565a3593 100644
--- a/src/basic/nss-util.h
+++ b/src/libbasic/nss-util.h
diff --git a/src/basic/ordered-set.c b/src/libbasic/ordered-set.c
index 2e0bdf6488..2e0bdf6488 100644
--- a/src/basic/ordered-set.c
+++ b/src/libbasic/ordered-set.c
diff --git a/src/basic/ordered-set.h b/src/libbasic/ordered-set.h
index e1dfc86380..e1dfc86380 100644
--- a/src/basic/ordered-set.h
+++ b/src/libbasic/ordered-set.h
diff --git a/src/basic/parse-util.c b/src/libbasic/parse-util.c
index a3cb81b040..a3cb81b040 100644
--- a/src/basic/parse-util.c
+++ b/src/libbasic/parse-util.c
diff --git a/src/basic/parse-util.h b/src/libbasic/parse-util.h
index d8dc26a36e..d8dc26a36e 100644
--- a/src/basic/parse-util.h
+++ b/src/libbasic/parse-util.h
diff --git a/src/basic/path-util.c b/src/libbasic/path-util.c
index 822c09bfba..822c09bfba 100644
--- a/src/basic/path-util.c
+++ b/src/libbasic/path-util.c
diff --git a/src/basic/path-util.h b/src/libbasic/path-util.h
index 2c2f87a9f2..2c2f87a9f2 100644
--- a/src/basic/path-util.h
+++ b/src/libbasic/path-util.h
diff --git a/src/basic/prioq.c b/src/libbasic/prioq.c
index d2ec516d29..d2ec516d29 100644
--- a/src/basic/prioq.c
+++ b/src/libbasic/prioq.c
diff --git a/src/basic/prioq.h b/src/libbasic/prioq.h
index 113c73d040..113c73d040 100644
--- a/src/basic/prioq.h
+++ b/src/libbasic/prioq.h
diff --git a/src/basic/proc-cmdline.c b/src/libbasic/proc-cmdline.c
index 3505fa9c9a..3505fa9c9a 100644
--- a/src/basic/proc-cmdline.c
+++ b/src/libbasic/proc-cmdline.c
diff --git a/src/basic/proc-cmdline.h b/src/libbasic/proc-cmdline.h
index 452642a2f5..452642a2f5 100644
--- a/src/basic/proc-cmdline.h
+++ b/src/libbasic/proc-cmdline.h
diff --git a/src/basic/process-util.c b/src/libbasic/process-util.c
index 189ef9ab60..189ef9ab60 100644
--- a/src/basic/process-util.c
+++ b/src/libbasic/process-util.c
diff --git a/src/basic/process-util.h b/src/libbasic/process-util.h
index f5d193e762..f5d193e762 100644
--- a/src/basic/process-util.h
+++ b/src/libbasic/process-util.h
diff --git a/src/basic/random-util.c b/src/libbasic/random-util.c
index 2f468db770..2f468db770 100644
--- a/src/basic/random-util.c
+++ b/src/libbasic/random-util.c
diff --git a/src/basic/random-util.h b/src/libbasic/random-util.h
index 3cee4c5014..3cee4c5014 100644
--- a/src/basic/random-util.h
+++ b/src/libbasic/random-util.h
diff --git a/src/basic/ratelimit.c b/src/libbasic/ratelimit.c
index 3ca5625e4d..3ca5625e4d 100644
--- a/src/basic/ratelimit.c
+++ b/src/libbasic/ratelimit.c
diff --git a/src/basic/ratelimit.h b/src/libbasic/ratelimit.h
index 9c8dddf5ad..9c8dddf5ad 100644
--- a/src/basic/ratelimit.h
+++ b/src/libbasic/ratelimit.h
diff --git a/src/basic/refcnt.h b/src/libbasic/refcnt.h
index 1d77a6445a..1d77a6445a 100644
--- a/src/basic/refcnt.h
+++ b/src/libbasic/refcnt.h
diff --git a/src/basic/replace-var.c b/src/libbasic/replace-var.c
index 6a204b9ec3..6a204b9ec3 100644
--- a/src/basic/replace-var.c
+++ b/src/libbasic/replace-var.c
diff --git a/src/basic/replace-var.h b/src/libbasic/replace-var.h
index 78412910b2..78412910b2 100644
--- a/src/basic/replace-var.h
+++ b/src/libbasic/replace-var.h
diff --git a/src/basic/rlimit-util.c b/src/libbasic/rlimit-util.c
index 7540b43215..7540b43215 100644
--- a/src/basic/rlimit-util.c
+++ b/src/libbasic/rlimit-util.c
diff --git a/src/basic/rlimit-util.h b/src/libbasic/rlimit-util.h
index d4594eccd6..d4594eccd6 100644
--- a/src/basic/rlimit-util.h
+++ b/src/libbasic/rlimit-util.h
diff --git a/src/basic/rm-rf.c b/src/libbasic/rm-rf.c
index 43816fd1bb..43816fd1bb 100644
--- a/src/basic/rm-rf.c
+++ b/src/libbasic/rm-rf.c
diff --git a/src/basic/rm-rf.h b/src/libbasic/rm-rf.h
index 6d03268919..6d03268919 100644
--- a/src/basic/rm-rf.h
+++ b/src/libbasic/rm-rf.h
diff --git a/src/basic/securebits.h b/src/libbasic/securebits.h
index 98fbe0d433..98fbe0d433 100644
--- a/src/basic/securebits.h
+++ b/src/libbasic/securebits.h
diff --git a/src/basic/selinux-util.c b/src/libbasic/selinux-util.c
index 6c63b9d652..6c63b9d652 100644
--- a/src/basic/selinux-util.c
+++ b/src/libbasic/selinux-util.c
diff --git a/src/basic/selinux-util.h b/src/libbasic/selinux-util.h
index 27e8edb41b..27e8edb41b 100644
--- a/src/basic/selinux-util.h
+++ b/src/libbasic/selinux-util.h
diff --git a/src/basic/set.h b/src/libbasic/set.h
index 2bff5062da..2bff5062da 100644
--- a/src/basic/set.h
+++ b/src/libbasic/set.h
diff --git a/src/basic/sigbus.c b/src/libbasic/sigbus.c
index 0ce4f75684..0ce4f75684 100644
--- a/src/basic/sigbus.c
+++ b/src/libbasic/sigbus.c
diff --git a/src/basic/sigbus.h b/src/libbasic/sigbus.h
index cce9eb201b..cce9eb201b 100644
--- a/src/basic/sigbus.h
+++ b/src/libbasic/sigbus.h
diff --git a/src/basic/signal-util.c b/src/libbasic/signal-util.c
index e3047b209b..e3047b209b 100644
--- a/src/basic/signal-util.c
+++ b/src/libbasic/signal-util.c
diff --git a/src/basic/signal-util.h b/src/libbasic/signal-util.h
index 72b10e8712..72b10e8712 100644
--- a/src/basic/signal-util.h
+++ b/src/libbasic/signal-util.h
diff --git a/src/basic/siphash24.c b/src/libbasic/siphash24.c
index 060e8ba387..060e8ba387 100644
--- a/src/basic/siphash24.c
+++ b/src/libbasic/siphash24.c
diff --git a/src/basic/siphash24.h b/src/libbasic/siphash24.h
index 54e2420cc6..54e2420cc6 100644
--- a/src/basic/siphash24.h
+++ b/src/libbasic/siphash24.h
diff --git a/src/basic/smack-util.c b/src/libbasic/smack-util.c
index 3a3df987df..3a3df987df 100644
--- a/src/basic/smack-util.c
+++ b/src/libbasic/smack-util.c
diff --git a/src/basic/smack-util.h b/src/libbasic/smack-util.h
index f90ba0a027..f90ba0a027 100644
--- a/src/basic/smack-util.h
+++ b/src/libbasic/smack-util.h
diff --git a/src/basic/socket-label.c b/src/libbasic/socket-label.c
index 35e9573aa4..35e9573aa4 100644
--- a/src/basic/socket-label.c
+++ b/src/libbasic/socket-label.c
diff --git a/src/basic/socket-util.c b/src/libbasic/socket-util.c
index 58512686e3..58512686e3 100644
--- a/src/basic/socket-util.c
+++ b/src/libbasic/socket-util.c
diff --git a/src/basic/socket-util.h b/src/libbasic/socket-util.h
index d17a2f35f8..d17a2f35f8 100644
--- a/src/basic/socket-util.h
+++ b/src/libbasic/socket-util.h
diff --git a/src/basic/sparse-endian.h b/src/libbasic/sparse-endian.h
index c913fda8c5..c913fda8c5 100644
--- a/src/basic/sparse-endian.h
+++ b/src/libbasic/sparse-endian.h
diff --git a/src/basic/special.h b/src/libbasic/special.h
index 2fd03d9f75..2fd03d9f75 100644
--- a/src/basic/special.h
+++ b/src/libbasic/special.h
diff --git a/src/basic/stat-util.c b/src/libbasic/stat-util.c
index 309e84b93d..309e84b93d 100644
--- a/src/basic/stat-util.c
+++ b/src/libbasic/stat-util.c
diff --git a/src/basic/stat-util.h b/src/libbasic/stat-util.h
index 56d28f791e..56d28f791e 100644
--- a/src/basic/stat-util.h
+++ b/src/libbasic/stat-util.h
diff --git a/src/basic/stdio-util.h b/src/libbasic/stdio-util.h
index 0a675571ff..0a675571ff 100644
--- a/src/basic/stdio-util.h
+++ b/src/libbasic/stdio-util.h
diff --git a/src/basic/strbuf.c b/src/libbasic/strbuf.c
index 77220c0251..77220c0251 100644
--- a/src/basic/strbuf.c
+++ b/src/libbasic/strbuf.c
diff --git a/src/basic/strbuf.h b/src/libbasic/strbuf.h
index a1632da0e8..a1632da0e8 100644
--- a/src/basic/strbuf.h
+++ b/src/libbasic/strbuf.h
diff --git a/src/basic/string-table.c b/src/libbasic/string-table.c
index a1499ab126..a1499ab126 100644
--- a/src/basic/string-table.c
+++ b/src/libbasic/string-table.c
diff --git a/src/basic/string-table.h b/src/libbasic/string-table.h
index b180488fe8..b180488fe8 100644
--- a/src/basic/string-table.h
+++ b/src/libbasic/string-table.h
diff --git a/src/basic/string-util.c b/src/libbasic/string-util.c
index 0bde55f9d5..0bde55f9d5 100644
--- a/src/basic/string-util.c
+++ b/src/libbasic/string-util.c
diff --git a/src/basic/string-util.h b/src/libbasic/string-util.h
index ad0c813761..ad0c813761 100644
--- a/src/basic/string-util.h
+++ b/src/libbasic/string-util.h
diff --git a/src/basic/strv.c b/src/libbasic/strv.c
index b5d4d8191b..b5d4d8191b 100644
--- a/src/basic/strv.c
+++ b/src/libbasic/strv.c
diff --git a/src/basic/strv.h b/src/libbasic/strv.h
index 7bfa54408d..7bfa54408d 100644
--- a/src/basic/strv.h
+++ b/src/libbasic/strv.h
diff --git a/src/basic/strxcpyx.c b/src/libbasic/strxcpyx.c
index aaf11d21f6..aaf11d21f6 100644
--- a/src/basic/strxcpyx.c
+++ b/src/libbasic/strxcpyx.c
diff --git a/src/basic/strxcpyx.h b/src/libbasic/strxcpyx.h
index 80ff58726b..80ff58726b 100644
--- a/src/basic/strxcpyx.h
+++ b/src/libbasic/strxcpyx.h
diff --git a/src/basic/syslog-util.c b/src/libbasic/syslog-util.c
index db3405154e..db3405154e 100644
--- a/src/basic/syslog-util.c
+++ b/src/libbasic/syslog-util.c
diff --git a/src/basic/syslog-util.h b/src/libbasic/syslog-util.h
index 5cb606a1bf..5cb606a1bf 100644
--- a/src/basic/syslog-util.h
+++ b/src/libbasic/syslog-util.h
diff --git a/src/basic/terminal-util.c b/src/libbasic/terminal-util.c
index 0a9d2bbdef..0a9d2bbdef 100644
--- a/src/basic/terminal-util.c
+++ b/src/libbasic/terminal-util.c
diff --git a/src/basic/terminal-util.h b/src/libbasic/terminal-util.h
index a7c96a77cb..a7c96a77cb 100644
--- a/src/basic/terminal-util.h
+++ b/src/libbasic/terminal-util.h
diff --git a/src/basic/time-util.c b/src/libbasic/time-util.c
index 3973850b44..3973850b44 100644
--- a/src/basic/time-util.c
+++ b/src/libbasic/time-util.c
diff --git a/src/basic/time-util.h b/src/libbasic/time-util.h
index 9894e626c5..9894e626c5 100644
--- a/src/basic/time-util.h
+++ b/src/libbasic/time-util.h
diff --git a/src/basic/umask-util.h b/src/libbasic/umask-util.h
index 359d87d27c..359d87d27c 100644
--- a/src/basic/umask-util.h
+++ b/src/libbasic/umask-util.h
diff --git a/src/basic/unaligned.h b/src/libbasic/unaligned.h
index 79be645bed..79be645bed 100644
--- a/src/basic/unaligned.h
+++ b/src/libbasic/unaligned.h
diff --git a/src/basic/unit-name.c b/src/libbasic/unit-name.c
index fe883b95c7..fe883b95c7 100644
--- a/src/basic/unit-name.c
+++ b/src/libbasic/unit-name.c
diff --git a/src/basic/unit-name.h b/src/libbasic/unit-name.h
index f209a84634..f209a84634 100644
--- a/src/basic/unit-name.h
+++ b/src/libbasic/unit-name.h
diff --git a/src/basic/user-util.c b/src/libbasic/user-util.c
index 19155bce53..19155bce53 100644
--- a/src/basic/user-util.c
+++ b/src/libbasic/user-util.c
diff --git a/src/basic/user-util.h b/src/libbasic/user-util.h
index c23f1d485d..c23f1d485d 100644
--- a/src/basic/user-util.h
+++ b/src/libbasic/user-util.h
diff --git a/src/basic/utf8.c b/src/libbasic/utf8.c
index 629db123cd..629db123cd 100644
--- a/src/basic/utf8.c
+++ b/src/libbasic/utf8.c
diff --git a/src/basic/utf8.h b/src/libbasic/utf8.h
index 12c272d66e..12c272d66e 100644
--- a/src/basic/utf8.h
+++ b/src/libbasic/utf8.h
diff --git a/src/basic/util.c b/src/libbasic/util.c
index ea1bed7ceb..ea1bed7ceb 100644
--- a/src/basic/util.c
+++ b/src/libbasic/util.c
diff --git a/src/basic/util.h b/src/libbasic/util.h
index 6f42c85a33..6f42c85a33 100644
--- a/src/basic/util.h
+++ b/src/libbasic/util.h
diff --git a/src/basic/verbs.c b/src/libbasic/verbs.c
index d9cdb38d65..d9cdb38d65 100644
--- a/src/basic/verbs.c
+++ b/src/libbasic/verbs.c
diff --git a/src/basic/verbs.h b/src/libbasic/verbs.h
index 7b5e18510f..7b5e18510f 100644
--- a/src/basic/verbs.h
+++ b/src/libbasic/verbs.h
diff --git a/src/basic/virt.c b/src/libbasic/virt.c
index 19b6318e3d..19b6318e3d 100644
--- a/src/basic/virt.c
+++ b/src/libbasic/virt.c
diff --git a/src/basic/virt.h b/src/libbasic/virt.h
index a538f07f6b..a538f07f6b 100644
--- a/src/basic/virt.h
+++ b/src/libbasic/virt.h
diff --git a/src/basic/web-util.c b/src/libbasic/web-util.c
index 595688ed93..595688ed93 100644
--- a/src/basic/web-util.c
+++ b/src/libbasic/web-util.c
diff --git a/src/basic/web-util.h b/src/libbasic/web-util.h
index e6bb6b53f5..e6bb6b53f5 100644
--- a/src/basic/web-util.h
+++ b/src/libbasic/web-util.h
diff --git a/src/basic/xattr-util.c b/src/libbasic/xattr-util.c
index 8d7f14f382..8d7f14f382 100644
--- a/src/basic/xattr-util.c
+++ b/src/libbasic/xattr-util.c
diff --git a/src/basic/xattr-util.h b/src/libbasic/xattr-util.h
index 6fa097bf7e..6fa097bf7e 100644
--- a/src/basic/xattr-util.h
+++ b/src/libbasic/xattr-util.h
diff --git a/src/basic/xml.c b/src/libbasic/xml.c
index 1dbeac7324..1dbeac7324 100644
--- a/src/basic/xml.c
+++ b/src/libbasic/xml.c
diff --git a/src/basic/xml.h b/src/libbasic/xml.h
index 41cb69f0dc..41cb69f0dc 100644
--- a/src/basic/xml.h
+++ b/src/libbasic/xml.h
diff --git a/src/core/.gitignore b/src/libcore/.gitignore
index 465b4fcc20..465b4fcc20 100644
--- a/src/core/.gitignore
+++ b/src/libcore/.gitignore
diff --git a/src/core/Makefile b/src/libcore/Makefile
index bd8836a0ef..746287ce61 100644
--- a/src/core/Makefile
+++ b/src/libcore/Makefile
@@ -20,6 +20,7 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
noinst_LTLIBRARIES += \
libcore.la
@@ -165,51 +166,3 @@ libcore_la_LIBADD = \
src/core/load-fragment-gperf-nulstr.c: src/core/load-fragment-gperf.gperf
$(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(AWK) 'BEGIN{ keywords=0 ; FS="," ; print "extern const char load_fragment_gperf_nulstr[];" ; print "const char load_fragment_gperf_nulstr[] ="} ; keyword==1 { print "\"" $$1 "\\0\"" } ; /%%/ { keyword=1} ; END { print ";" }' < $< > $@
-
-systemd_SOURCES = \
- src/core/main.c
-
-systemd_CFLAGS = \
- $(AM_CFLAGS) \
- $(SECCOMP_CFLAGS) \
- $(MOUNT_CFLAGS)
-
-systemd_LDADD = \
- libcore.la
-
-dist_pkgsysconf_DATA += \
- src/core/system.conf \
- src/core/user.conf
-
-dist_dbuspolicy_DATA += \
- src/core/org.freedesktop.systemd1.conf
-
-dist_dbussystemservice_DATA += \
- src/core/org.freedesktop.systemd1.service
-
-polkitpolicy_in_in_files += \
- src/core/org.freedesktop.systemd1.policy.in.in
-
-pkgconfigdata_DATA += \
- src/core/systemd.pc
-
-nodist_rpmmacros_DATA = \
- src/core/macros.systemd
-
-EXTRA_DIST += \
- src/core/systemd.pc.in \
- src/core/macros.systemd.in \
- src/core/triggers.systemd.in
-
-systemd_shutdown_SOURCES = \
- src/core/umount.c \
- src/core/umount.h \
- src/core/shutdown.c \
- src/core/mount-setup.c \
- src/core/mount-setup.h \
- src/core/killall.h \
- src/core/killall.c
-
-systemd_shutdown_LDADD = \
- libshared.la
-
diff --git a/src/core/audit-fd.c b/src/libcore/audit-fd.c
index 76afe3fe15..76afe3fe15 100644
--- a/src/core/audit-fd.c
+++ b/src/libcore/audit-fd.c
diff --git a/src/core/audit-fd.h b/src/libcore/audit-fd.h
index 0eccb59210..0eccb59210 100644
--- a/src/core/audit-fd.h
+++ b/src/libcore/audit-fd.h
diff --git a/src/core/automount.c b/src/libcore/automount.c
index 5dc6fd98e7..5dc6fd98e7 100644
--- a/src/core/automount.c
+++ b/src/libcore/automount.c
diff --git a/src/core/automount.h b/src/libcore/automount.h
index cf5b1cf994..cf5b1cf994 100644
--- a/src/core/automount.h
+++ b/src/libcore/automount.h
diff --git a/src/core/bus-endpoint.c b/src/libcore/bus-endpoint.c
index d22a80c91f..d22a80c91f 100644
--- a/src/core/bus-endpoint.c
+++ b/src/libcore/bus-endpoint.c
diff --git a/src/core/bus-endpoint.h b/src/libcore/bus-endpoint.h
index f2fbc4701c..f2fbc4701c 100644
--- a/src/core/bus-endpoint.h
+++ b/src/libcore/bus-endpoint.h
diff --git a/src/core/bus-policy.c b/src/libcore/bus-policy.c
index 4907c268e8..4907c268e8 100644
--- a/src/core/bus-policy.c
+++ b/src/libcore/bus-policy.c
diff --git a/src/core/bus-policy.h b/src/libcore/bus-policy.h
index 5b2c4d5953..5b2c4d5953 100644
--- a/src/core/bus-policy.h
+++ b/src/libcore/bus-policy.h
diff --git a/src/core/busname.c b/src/libcore/busname.c
index de2a21ccde..de2a21ccde 100644
--- a/src/core/busname.c
+++ b/src/libcore/busname.c
diff --git a/src/core/busname.h b/src/libcore/busname.h
index 6b6f6c62d4..6b6f6c62d4 100644
--- a/src/core/busname.h
+++ b/src/libcore/busname.h
diff --git a/src/core/cgroup.c b/src/libcore/cgroup.c
index 39235a95f6..39235a95f6 100644
--- a/src/core/cgroup.c
+++ b/src/libcore/cgroup.c
diff --git a/src/core/cgroup.h b/src/libcore/cgroup.h
index 360bbca30f..360bbca30f 100644
--- a/src/core/cgroup.h
+++ b/src/libcore/cgroup.h
diff --git a/src/core/dbus-automount.c b/src/libcore/dbus-automount.c
index b2806ad86f..b2806ad86f 100644
--- a/src/core/dbus-automount.c
+++ b/src/libcore/dbus-automount.c
diff --git a/src/core/dbus-automount.h b/src/libcore/dbus-automount.h
index 7b51eb973a..7b51eb973a 100644
--- a/src/core/dbus-automount.h
+++ b/src/libcore/dbus-automount.h
diff --git a/src/core/dbus-busname.c b/src/libcore/dbus-busname.c
index cf816ba15b..cf816ba15b 100644
--- a/src/core/dbus-busname.c
+++ b/src/libcore/dbus-busname.c
diff --git a/src/core/dbus-busname.h b/src/libcore/dbus-busname.h
index 8643d1a404..8643d1a404 100644
--- a/src/core/dbus-busname.h
+++ b/src/libcore/dbus-busname.h
diff --git a/src/core/dbus-cgroup.c b/src/libcore/dbus-cgroup.c
index 859d155ec1..859d155ec1 100644
--- a/src/core/dbus-cgroup.c
+++ b/src/libcore/dbus-cgroup.c
diff --git a/src/core/dbus-cgroup.h b/src/libcore/dbus-cgroup.h
index b2212fe44e..b2212fe44e 100644
--- a/src/core/dbus-cgroup.h
+++ b/src/libcore/dbus-cgroup.h
diff --git a/src/core/dbus-device.c b/src/libcore/dbus-device.c
index e1a12224d3..e1a12224d3 100644
--- a/src/core/dbus-device.c
+++ b/src/libcore/dbus-device.c
diff --git a/src/core/dbus-device.h b/src/libcore/dbus-device.h
index eb1d8c3278..eb1d8c3278 100644
--- a/src/core/dbus-device.h
+++ b/src/libcore/dbus-device.h
diff --git a/src/core/dbus-execute.c b/src/libcore/dbus-execute.c
index f2fc301f8e..f2fc301f8e 100644
--- a/src/core/dbus-execute.c
+++ b/src/libcore/dbus-execute.c
diff --git a/src/core/dbus-execute.h b/src/libcore/dbus-execute.h
index d0aa8e1dd5..d0aa8e1dd5 100644
--- a/src/core/dbus-execute.h
+++ b/src/libcore/dbus-execute.h
diff --git a/src/core/dbus-job.c b/src/libcore/dbus-job.c
index 97a93fb2f1..97a93fb2f1 100644
--- a/src/core/dbus-job.c
+++ b/src/libcore/dbus-job.c
diff --git a/src/core/dbus-job.h b/src/libcore/dbus-job.h
index 024d06719e..024d06719e 100644
--- a/src/core/dbus-job.h
+++ b/src/libcore/dbus-job.h
diff --git a/src/core/dbus-kill.c b/src/libcore/dbus-kill.c
index fc50fafaad..fc50fafaad 100644
--- a/src/core/dbus-kill.c
+++ b/src/libcore/dbus-kill.c
diff --git a/src/core/dbus-kill.h b/src/libcore/dbus-kill.h
index b9b18811e3..b9b18811e3 100644
--- a/src/core/dbus-kill.h
+++ b/src/libcore/dbus-kill.h
diff --git a/src/core/dbus-manager.c b/src/libcore/dbus-manager.c
index f939196397..f939196397 100644
--- a/src/core/dbus-manager.c
+++ b/src/libcore/dbus-manager.c
diff --git a/src/core/dbus-manager.h b/src/libcore/dbus-manager.h
index 36a2e9481b..36a2e9481b 100644
--- a/src/core/dbus-manager.h
+++ b/src/libcore/dbus-manager.h
diff --git a/src/core/dbus-mount.c b/src/libcore/dbus-mount.c
index 935db7c48b..935db7c48b 100644
--- a/src/core/dbus-mount.c
+++ b/src/libcore/dbus-mount.c
diff --git a/src/core/dbus-mount.h b/src/libcore/dbus-mount.h
index ec16166d36..ec16166d36 100644
--- a/src/core/dbus-mount.h
+++ b/src/libcore/dbus-mount.h
diff --git a/src/core/dbus-path.c b/src/libcore/dbus-path.c
index 1e153e503f..1e153e503f 100644
--- a/src/core/dbus-path.c
+++ b/src/libcore/dbus-path.c
diff --git a/src/core/dbus-path.h b/src/libcore/dbus-path.h
index d3c19e0c2b..d3c19e0c2b 100644
--- a/src/core/dbus-path.h
+++ b/src/libcore/dbus-path.h
diff --git a/src/core/dbus-scope.c b/src/libcore/dbus-scope.c
index 34ee9a8fa9..34ee9a8fa9 100644
--- a/src/core/dbus-scope.c
+++ b/src/libcore/dbus-scope.c
diff --git a/src/core/dbus-scope.h b/src/libcore/dbus-scope.h
index 270306f508..270306f508 100644
--- a/src/core/dbus-scope.h
+++ b/src/libcore/dbus-scope.h
diff --git a/src/core/dbus-service.c b/src/libcore/dbus-service.c
index 03eecca911..03eecca911 100644
--- a/src/core/dbus-service.c
+++ b/src/libcore/dbus-service.c
diff --git a/src/core/dbus-service.h b/src/libcore/dbus-service.h
index 769a53769e..769a53769e 100644
--- a/src/core/dbus-service.h
+++ b/src/libcore/dbus-service.h
diff --git a/src/core/dbus-slice.c b/src/libcore/dbus-slice.c
index e37f50b283..e37f50b283 100644
--- a/src/core/dbus-slice.c
+++ b/src/libcore/dbus-slice.c
diff --git a/src/core/dbus-slice.h b/src/libcore/dbus-slice.h
index 52ceebb135..52ceebb135 100644
--- a/src/core/dbus-slice.h
+++ b/src/libcore/dbus-slice.h
diff --git a/src/core/dbus-socket.c b/src/libcore/dbus-socket.c
index d33e494f6b..d33e494f6b 100644
--- a/src/core/dbus-socket.c
+++ b/src/libcore/dbus-socket.c
diff --git a/src/core/dbus-socket.h b/src/libcore/dbus-socket.h
index 7a792c7a89..7a792c7a89 100644
--- a/src/core/dbus-socket.h
+++ b/src/libcore/dbus-socket.h
diff --git a/src/core/dbus-swap.c b/src/libcore/dbus-swap.c
index 292f8738c6..292f8738c6 100644
--- a/src/core/dbus-swap.c
+++ b/src/libcore/dbus-swap.c
diff --git a/src/core/dbus-swap.h b/src/libcore/dbus-swap.h
index 5238471f98..5238471f98 100644
--- a/src/core/dbus-swap.h
+++ b/src/libcore/dbus-swap.h
diff --git a/src/core/dbus-target.c b/src/libcore/dbus-target.c
index 6858b1ce72..6858b1ce72 100644
--- a/src/core/dbus-target.c
+++ b/src/libcore/dbus-target.c
diff --git a/src/core/dbus-target.h b/src/libcore/dbus-target.h
index 9be5ce06b7..9be5ce06b7 100644
--- a/src/core/dbus-target.h
+++ b/src/libcore/dbus-target.h
diff --git a/src/core/dbus-timer.c b/src/libcore/dbus-timer.c
index bc121b83a2..bc121b83a2 100644
--- a/src/core/dbus-timer.c
+++ b/src/libcore/dbus-timer.c
diff --git a/src/core/dbus-timer.h b/src/libcore/dbus-timer.h
index 39053dc4a2..39053dc4a2 100644
--- a/src/core/dbus-timer.h
+++ b/src/libcore/dbus-timer.h
diff --git a/src/core/dbus-unit.c b/src/libcore/dbus-unit.c
index b351f6a2c2..b351f6a2c2 100644
--- a/src/core/dbus-unit.c
+++ b/src/libcore/dbus-unit.c
diff --git a/src/core/dbus-unit.h b/src/libcore/dbus-unit.h
index 07948b9cd0..07948b9cd0 100644
--- a/src/core/dbus-unit.h
+++ b/src/libcore/dbus-unit.h
diff --git a/src/core/dbus.c b/src/libcore/dbus.c
index 413489373f..413489373f 100644
--- a/src/core/dbus.c
+++ b/src/libcore/dbus.c
diff --git a/src/core/dbus.h b/src/libcore/dbus.h
index e16a84fbb8..e16a84fbb8 100644
--- a/src/core/dbus.h
+++ b/src/libcore/dbus.h
diff --git a/src/core/device.c b/src/libcore/device.c
index d201dc5e4b..d201dc5e4b 100644
--- a/src/core/device.c
+++ b/src/libcore/device.c
diff --git a/src/core/device.h b/src/libcore/device.h
index 184a1a349b..184a1a349b 100644
--- a/src/core/device.h
+++ b/src/libcore/device.h
diff --git a/src/core/execute.c b/src/libcore/execute.c
index 1e4630182d..1e4630182d 100644
--- a/src/core/execute.c
+++ b/src/libcore/execute.c
diff --git a/src/core/execute.h b/src/libcore/execute.h
index 578f85b6bc..578f85b6bc 100644
--- a/src/core/execute.h
+++ b/src/libcore/execute.h
diff --git a/src/core/failure-action.c b/src/libcore/failure-action.c
index 39f5519ca1..39f5519ca1 100644
--- a/src/core/failure-action.c
+++ b/src/libcore/failure-action.c
diff --git a/src/core/failure-action.h b/src/libcore/failure-action.h
index 1adac4ad5c..1adac4ad5c 100644
--- a/src/core/failure-action.h
+++ b/src/libcore/failure-action.h
diff --git a/src/core/hostname-setup.c b/src/libcore/hostname-setup.c
index 68be52856b..68be52856b 100644
--- a/src/core/hostname-setup.c
+++ b/src/libcore/hostname-setup.c
diff --git a/src/core/hostname-setup.h b/src/libcore/hostname-setup.h
index 73e8c75c71..73e8c75c71 100644
--- a/src/core/hostname-setup.h
+++ b/src/libcore/hostname-setup.h
diff --git a/src/core/ima-setup.c b/src/libcore/ima-setup.c
index ff7558d500..ff7558d500 100644
--- a/src/core/ima-setup.c
+++ b/src/libcore/ima-setup.c
diff --git a/src/core/ima-setup.h b/src/libcore/ima-setup.h
index 3bad74b246..3bad74b246 100644
--- a/src/core/ima-setup.h
+++ b/src/libcore/ima-setup.h
diff --git a/src/core/job.c b/src/libcore/job.c
index 97304c4d05..97304c4d05 100644
--- a/src/core/job.c
+++ b/src/libcore/job.c
diff --git a/src/core/job.h b/src/libcore/job.h
index 856b0ce829..856b0ce829 100644
--- a/src/core/job.h
+++ b/src/libcore/job.h
diff --git a/src/core/kill.c b/src/libcore/kill.c
index 6854587d54..6854587d54 100644
--- a/src/core/kill.c
+++ b/src/libcore/kill.c
diff --git a/src/core/kill.h b/src/libcore/kill.h
index b3d2056cb0..b3d2056cb0 100644
--- a/src/core/kill.h
+++ b/src/libcore/kill.h
diff --git a/src/core/killall.c b/src/libcore/killall.c
index 09378f7085..09378f7085 100644
--- a/src/core/killall.c
+++ b/src/libcore/killall.c
diff --git a/src/core/killall.h b/src/libcore/killall.h
index acc2439f00..acc2439f00 100644
--- a/src/core/killall.h
+++ b/src/libcore/killall.h
diff --git a/src/core/kmod-setup.c b/src/libcore/kmod-setup.c
index 3503db52ed..3503db52ed 100644
--- a/src/core/kmod-setup.c
+++ b/src/libcore/kmod-setup.c
diff --git a/src/core/kmod-setup.h b/src/libcore/kmod-setup.h
index 685f4df301..685f4df301 100644
--- a/src/core/kmod-setup.h
+++ b/src/libcore/kmod-setup.h
diff --git a/src/shared/linux/auto_dev-ioctl.h b/src/libcore/linux/auto_dev-ioctl.h
index aeaeb3ea7a..aeaeb3ea7a 100644
--- a/src/shared/linux/auto_dev-ioctl.h
+++ b/src/libcore/linux/auto_dev-ioctl.h
diff --git a/src/core/load-dropin.c b/src/libcore/load-dropin.c
index 22b71b6f5e..22b71b6f5e 100644
--- a/src/core/load-dropin.c
+++ b/src/libcore/load-dropin.c
diff --git a/src/core/load-dropin.h b/src/libcore/load-dropin.h
index d8a4aefbb3..d8a4aefbb3 100644
--- a/src/core/load-dropin.h
+++ b/src/libcore/load-dropin.h
diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/libcore/load-fragment-gperf.gperf.m4
index 5024fd19a5..5024fd19a5 100644
--- a/src/core/load-fragment-gperf.gperf.m4
+++ b/src/libcore/load-fragment-gperf.gperf.m4
diff --git a/src/core/load-fragment.c b/src/libcore/load-fragment.c
index 8804b3ac41..8804b3ac41 100644
--- a/src/core/load-fragment.c
+++ b/src/libcore/load-fragment.c
diff --git a/src/core/load-fragment.h b/src/libcore/load-fragment.h
index 5fb5910919..5fb5910919 100644
--- a/src/core/load-fragment.h
+++ b/src/libcore/load-fragment.h
diff --git a/src/core/locale-setup.c b/src/libcore/locale-setup.c
index ccf61d29fb..ccf61d29fb 100644
--- a/src/core/locale-setup.c
+++ b/src/libcore/locale-setup.c
diff --git a/src/core/locale-setup.h b/src/libcore/locale-setup.h
index 3b97497afe..3b97497afe 100644
--- a/src/core/locale-setup.h
+++ b/src/libcore/locale-setup.h
diff --git a/src/core/loopback-setup.c b/src/libcore/loopback-setup.c
index 04062a7910..d56bbfa6fc 100644
--- a/src/core/loopback-setup.c
+++ b/src/libcore/loopback-setup.c
@@ -20,7 +20,7 @@
#include <net/if.h>
#include <stdlib.h>
-#include "sd-netlink.h"
+#include <systemd/sd-netlink.h>
#include "loopback-setup.h"
#include "missing.h"
diff --git a/src/core/loopback-setup.h b/src/libcore/loopback-setup.h
index e7547b8a26..e7547b8a26 100644
--- a/src/core/loopback-setup.h
+++ b/src/libcore/loopback-setup.h
diff --git a/src/core/machine-id-setup.c b/src/libcore/machine-id-setup.c
index 9e6b3d3292..9e6b3d3292 100644
--- a/src/core/machine-id-setup.c
+++ b/src/libcore/machine-id-setup.c
diff --git a/src/core/machine-id-setup.h b/src/libcore/machine-id-setup.h
index a7e7678ed9..a7e7678ed9 100644
--- a/src/core/machine-id-setup.h
+++ b/src/libcore/machine-id-setup.h
diff --git a/src/core/manager.c b/src/libcore/manager.c
index f36cf5e320..f36cf5e320 100644
--- a/src/core/manager.c
+++ b/src/libcore/manager.c
diff --git a/src/core/manager.h b/src/libcore/manager.h
index 9803f73129..9803f73129 100644
--- a/src/core/manager.h
+++ b/src/libcore/manager.h
diff --git a/src/core/mount-setup.c b/src/libcore/mount-setup.c
index de1a361cc4..de1a361cc4 100644
--- a/src/core/mount-setup.c
+++ b/src/libcore/mount-setup.c
diff --git a/src/core/mount-setup.h b/src/libcore/mount-setup.h
index 647bd770ae..647bd770ae 100644
--- a/src/core/mount-setup.h
+++ b/src/libcore/mount-setup.h
diff --git a/src/core/mount.c b/src/libcore/mount.c
index de1075d3a0..de1075d3a0 100644
--- a/src/core/mount.c
+++ b/src/libcore/mount.c
diff --git a/src/core/mount.h b/src/libcore/mount.h
index 3b343c6b1f..3b343c6b1f 100644
--- a/src/core/mount.h
+++ b/src/libcore/mount.h
diff --git a/src/core/namespace.c b/src/libcore/namespace.c
index 4fa381db5b..4fa381db5b 100644
--- a/src/core/namespace.c
+++ b/src/libcore/namespace.c
diff --git a/src/core/namespace.h b/src/libcore/namespace.h
index 40bee74e2c..40bee74e2c 100644
--- a/src/core/namespace.h
+++ b/src/libcore/namespace.h
diff --git a/src/core/path.c b/src/libcore/path.c
index 460c1d3bf2..460c1d3bf2 100644
--- a/src/core/path.c
+++ b/src/libcore/path.c
diff --git a/src/core/path.h b/src/libcore/path.h
index bbbcebd78e..bbbcebd78e 100644
--- a/src/core/path.h
+++ b/src/libcore/path.h
diff --git a/src/core/scope.c b/src/libcore/scope.c
index c5d0ecef04..c5d0ecef04 100644
--- a/src/core/scope.c
+++ b/src/libcore/scope.c
diff --git a/src/core/scope.h b/src/libcore/scope.h
index 2dc86325c5..2dc86325c5 100644
--- a/src/core/scope.h
+++ b/src/libcore/scope.h
diff --git a/src/core/selinux-access.c b/src/libcore/selinux-access.c
index 2cdfcf7b5d..2cdfcf7b5d 100644
--- a/src/core/selinux-access.c
+++ b/src/libcore/selinux-access.c
diff --git a/src/core/selinux-access.h b/src/libcore/selinux-access.h
index 8f1f058a32..8f1f058a32 100644
--- a/src/core/selinux-access.h
+++ b/src/libcore/selinux-access.h
diff --git a/src/core/selinux-setup.c b/src/libcore/selinux-setup.c
index 9a115a4387..9a115a4387 100644
--- a/src/core/selinux-setup.c
+++ b/src/libcore/selinux-setup.c
diff --git a/src/core/selinux-setup.h b/src/libcore/selinux-setup.h
index 7b613249b0..7b613249b0 100644
--- a/src/core/selinux-setup.h
+++ b/src/libcore/selinux-setup.h
diff --git a/src/core/service.c b/src/libcore/service.c
index ac7e41d777..ac7e41d777 100644
--- a/src/core/service.c
+++ b/src/libcore/service.c
diff --git a/src/core/service.h b/src/libcore/service.h
index d342e000bb..d342e000bb 100644
--- a/src/core/service.h
+++ b/src/libcore/service.h
diff --git a/src/core/show-status.c b/src/libcore/show-status.c
index 59ebdc7219..59ebdc7219 100644
--- a/src/core/show-status.c
+++ b/src/libcore/show-status.c
diff --git a/src/core/show-status.h b/src/libcore/show-status.h
index 9a29e72645..9a29e72645 100644
--- a/src/core/show-status.h
+++ b/src/libcore/show-status.h
diff --git a/src/core/shutdown.c b/src/libcore/shutdown.c
index 6296b4c94a..6296b4c94a 100644
--- a/src/core/shutdown.c
+++ b/src/libcore/shutdown.c
diff --git a/src/core/slice.c b/src/libcore/slice.c
index d65364c6f4..d65364c6f4 100644
--- a/src/core/slice.c
+++ b/src/libcore/slice.c
diff --git a/src/core/slice.h b/src/libcore/slice.h
index c9f3f61067..c9f3f61067 100644
--- a/src/core/slice.h
+++ b/src/libcore/slice.h
diff --git a/src/core/smack-setup.c b/src/libcore/smack-setup.c
index 0c26e85460..0c26e85460 100644
--- a/src/core/smack-setup.c
+++ b/src/libcore/smack-setup.c
diff --git a/src/core/smack-setup.h b/src/libcore/smack-setup.h
index 78164c85e6..78164c85e6 100644
--- a/src/core/smack-setup.h
+++ b/src/libcore/smack-setup.h
diff --git a/src/core/socket.c b/src/libcore/socket.c
index 976687af41..976687af41 100644
--- a/src/core/socket.c
+++ b/src/libcore/socket.c
diff --git a/src/core/socket.h b/src/libcore/socket.h
index b537b026a7..b537b026a7 100644
--- a/src/core/socket.h
+++ b/src/libcore/socket.h
diff --git a/src/core/swap.c b/src/libcore/swap.c
index 1bf0c0a808..1bf0c0a808 100644
--- a/src/core/swap.c
+++ b/src/libcore/swap.c
diff --git a/src/core/swap.h b/src/libcore/swap.h
index ac7a63d81b..ac7a63d81b 100644
--- a/src/core/swap.h
+++ b/src/libcore/swap.h
diff --git a/src/core/target.c b/src/libcore/target.c
index 61a91aad07..61a91aad07 100644
--- a/src/core/target.c
+++ b/src/libcore/target.c
diff --git a/src/core/target.h b/src/libcore/target.h
index 339aea154e..339aea154e 100644
--- a/src/core/target.h
+++ b/src/libcore/target.h
diff --git a/src/core/timer.c b/src/libcore/timer.c
index 3d0bae16e5..3d0bae16e5 100644
--- a/src/core/timer.c
+++ b/src/libcore/timer.c
diff --git a/src/core/timer.h b/src/libcore/timer.h
index 698e6da2f5..698e6da2f5 100644
--- a/src/core/timer.h
+++ b/src/libcore/timer.h
diff --git a/src/core/transaction.c b/src/libcore/transaction.c
index b28fc76785..b28fc76785 100644
--- a/src/core/transaction.c
+++ b/src/libcore/transaction.c
diff --git a/src/core/transaction.h b/src/libcore/transaction.h
index 6a3f927b0f..6a3f927b0f 100644
--- a/src/core/transaction.h
+++ b/src/libcore/transaction.h
diff --git a/src/core/umount.c b/src/libcore/umount.c
index a458768e7d..a458768e7d 100644
--- a/src/core/umount.c
+++ b/src/libcore/umount.c
diff --git a/src/core/umount.h b/src/libcore/umount.h
index 4e2215a47d..4e2215a47d 100644
--- a/src/core/umount.h
+++ b/src/libcore/umount.h
diff --git a/src/core/unit-printf.c b/src/libcore/unit-printf.c
index fc057d965c..fc057d965c 100644
--- a/src/core/unit-printf.c
+++ b/src/libcore/unit-printf.c
diff --git a/src/core/unit-printf.h b/src/libcore/unit-printf.h
index 4fc8531228..4fc8531228 100644
--- a/src/core/unit-printf.h
+++ b/src/libcore/unit-printf.h
diff --git a/src/core/unit.c b/src/libcore/unit.c
index d39e3dcaeb..d39e3dcaeb 100644
--- a/src/core/unit.c
+++ b/src/libcore/unit.c
diff --git a/src/core/unit.h b/src/libcore/unit.h
index 601e763ce2..601e763ce2 100644
--- a/src/core/unit.h
+++ b/src/libcore/unit.h
diff --git a/src/libfirewall/Makefile b/src/libfirewall/Makefile
new file mode 100644
index 0000000000..b12fe3c33a
--- /dev/null
+++ b/src/libfirewall/Makefile
@@ -0,0 +1,17 @@
+ifneq ($(HAVE_LIBIPTC),)
+noinst_LTLIBRARIES += \
+ libfirewall.la
+
+libfirewall_la_SOURCES = \
+ src/shared/firewall-util.h \
+ src/shared/firewall-util.c
+
+libfirewall_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(LIBIPTC_CFLAGS)
+
+libfirewall_la_LIBADD = \
+ $(LIBIPTC_LIBS)
+endif
+
+include $(topsrcdir)/automake.tail.mk
diff --git a/src/shared/Makefile b/src/libshared/Makefile
index f1d1fb42e4..0a583544a6 100644
--- a/src/shared/Makefile
+++ b/src/libshared/Makefile
@@ -20,6 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/automake.head.mk
+
noinst_LTLIBRARIES += \
libshared.la
@@ -103,18 +106,19 @@ libshared_la_SOURCES = \
src/shared/resolve-util.c \
src/shared/resolve-util.h
-if HAVE_UTMP
+
+ifneq ($(HAVE_UTMP),)
libshared_la_SOURCES += \
src/shared/utmp-wtmp.c
endif
-if HAVE_SECCOMP
+ifneq ($(HAVE_SECCOMP),)
libshared_la_SOURCES += \
src/shared/seccomp-util.h \
src/shared/seccomp-util.c
endif
-if HAVE_ACL
+ifneq ($(HAVE_ACL),)
libshared_la_SOURCES += \
src/shared/acl-util.c \
src/shared/acl-util.h
@@ -134,20 +138,14 @@ libshared_la_LIBADD = \
$(LIBIDN_LIBS) \
$(SECCOMP_LIBS)
-# -----------------------------------------------------------------------------
-if HAVE_LIBIPTC
-noinst_LTLIBRARIES += \
- libfirewall.la
-
-libfirewall_la_SOURCES = \
- src/shared/firewall-util.h \
- src/shared/firewall-util.c
-
-libfirewall_la_CFLAGS = \
- $(AM_CFLAGS) \
- $(LIBIPTC_CFLAGS)
-
-libfirewall_la_LIBADD = \
- $(LIBIPTC_LIBS)
-endif
+am_out_files += libshared.la
+CPPFLAGS += -I$(topsrcdir)/src/libsystemd/include
+CPPFLAGS += -I$(topoutdir)/src/libsystemd/include
+CPPFLAGS += -I$(topsrcdir)/src/libbasic
+CPPFLAGS += -I$(topoutdir)/src/libbasic
+CPPFLAGS += -DPKGSYSCONFDIR=\"$(pkgsysconfdir)\"
+CPPFLAGS += -DPOLKIT_AGENT_BINARY_PATH=\"$(bindir)/pkttyagent\" \
+$(outdir)/libshared.la: \
+ $(patsubst src/shared/%.c,$(outdir)/%.lo,$(filter %.c,$(libshared_la_SOURCES)))
+include $(topsrcdir)/automake.tail.mk
diff --git a/src/shared/acl-util.c b/src/libshared/acl-util.c
index 2aa951fce9..2aa951fce9 100644
--- a/src/shared/acl-util.c
+++ b/src/libshared/acl-util.c
diff --git a/src/shared/acl-util.h b/src/libshared/acl-util.h
index 396e9e067e..396e9e067e 100644
--- a/src/shared/acl-util.h
+++ b/src/libshared/acl-util.h
diff --git a/src/shared/acpi-fpdt.c b/src/libshared/acpi-fpdt.c
index 3cb9e781fd..3cb9e781fd 100644
--- a/src/shared/acpi-fpdt.c
+++ b/src/libshared/acpi-fpdt.c
diff --git a/src/shared/acpi-fpdt.h b/src/libshared/acpi-fpdt.h
index fc28175d0a..fc28175d0a 100644
--- a/src/shared/acpi-fpdt.h
+++ b/src/libshared/acpi-fpdt.h
diff --git a/src/shared/apparmor-util.c b/src/libshared/apparmor-util.c
index edd695fd23..edd695fd23 100644
--- a/src/shared/apparmor-util.c
+++ b/src/libshared/apparmor-util.c
diff --git a/src/shared/apparmor-util.h b/src/libshared/apparmor-util.h
index 524f740152..524f740152 100644
--- a/src/shared/apparmor-util.h
+++ b/src/libshared/apparmor-util.h
diff --git a/src/shared/architecture.c b/src/libshared/architecture.c
index a9ecfc1cd6..a9ecfc1cd6 100644
--- a/src/shared/architecture.c
+++ b/src/libshared/architecture.c
diff --git a/src/shared/architecture.h b/src/libshared/architecture.h
index 26679e28c6..26679e28c6 100644
--- a/src/shared/architecture.h
+++ b/src/libshared/architecture.h
diff --git a/src/shared/ask-password-api.c b/src/libshared/ask-password-api.c
index 6805873f9e..6805873f9e 100644
--- a/src/shared/ask-password-api.c
+++ b/src/libshared/ask-password-api.c
diff --git a/src/shared/ask-password-api.h b/src/libshared/ask-password-api.h
index 9d7f65130c..9d7f65130c 100644
--- a/src/shared/ask-password-api.h
+++ b/src/libshared/ask-password-api.h
diff --git a/src/shared/base-filesystem.c b/src/libshared/base-filesystem.c
index 59a34a9d11..59a34a9d11 100644
--- a/src/shared/base-filesystem.c
+++ b/src/libshared/base-filesystem.c
diff --git a/src/shared/base-filesystem.h b/src/libshared/base-filesystem.h
index 49599f0a60..49599f0a60 100644
--- a/src/shared/base-filesystem.h
+++ b/src/libshared/base-filesystem.h
diff --git a/src/shared/boot-timestamps.c b/src/libshared/boot-timestamps.c
index 7e0152761c..7e0152761c 100644
--- a/src/shared/boot-timestamps.c
+++ b/src/libshared/boot-timestamps.c
diff --git a/src/shared/boot-timestamps.h b/src/libshared/boot-timestamps.h
index 6f691026be..6f691026be 100644
--- a/src/shared/boot-timestamps.h
+++ b/src/libshared/boot-timestamps.h
diff --git a/src/shared/bus-util.c b/src/libshared/bus-util.c
index 38557f0b8d..38557f0b8d 100644
--- a/src/shared/bus-util.c
+++ b/src/libshared/bus-util.c
diff --git a/src/shared/bus-util.h b/src/libshared/bus-util.h
index 204da55682..77474522be 100644
--- a/src/shared/bus-util.h
+++ b/src/libshared/bus-util.h
@@ -24,9 +24,9 @@
#include <stdint.h>
#include <sys/types.h>
-#include "sd-bus-vtable.h"
-#include "sd-bus.h"
-#include "sd-event.h"
+#include <systemd/sd-bus-vtable.h>
+#include <systemd/sd-bus.h>
+#include <systemd/sd-event.h>
#include "hashmap.h"
#include "install.h"
diff --git a/src/shared/cgroup-show.c b/src/libshared/cgroup-show.c
index f3039b23f7..f3039b23f7 100644
--- a/src/shared/cgroup-show.c
+++ b/src/libshared/cgroup-show.c
diff --git a/src/shared/cgroup-show.h b/src/libshared/cgroup-show.h
index 3ab7dfb33c..3ab7dfb33c 100644
--- a/src/shared/cgroup-show.h
+++ b/src/libshared/cgroup-show.h
diff --git a/src/shared/clean-ipc.c b/src/libshared/clean-ipc.c
index a3ac7aeb82..a3ac7aeb82 100644
--- a/src/shared/clean-ipc.c
+++ b/src/libshared/clean-ipc.c
diff --git a/src/shared/clean-ipc.h b/src/libshared/clean-ipc.h
index 44a83afcf7..44a83afcf7 100644
--- a/src/shared/clean-ipc.h
+++ b/src/libshared/clean-ipc.h
diff --git a/src/shared/condition.c b/src/libshared/condition.c
index f93785865e..f93785865e 100644
--- a/src/shared/condition.c
+++ b/src/libshared/condition.c
diff --git a/src/shared/condition.h b/src/libshared/condition.h
index bdda04b770..bdda04b770 100644
--- a/src/shared/condition.h
+++ b/src/libshared/condition.h
diff --git a/src/shared/conf-parser.c b/src/libshared/conf-parser.c
index e7fe9ac21e..e7fe9ac21e 100644
--- a/src/shared/conf-parser.c
+++ b/src/libshared/conf-parser.c
diff --git a/src/shared/conf-parser.h b/src/libshared/conf-parser.h
index a91c94c322..a91c94c322 100644
--- a/src/shared/conf-parser.h
+++ b/src/libshared/conf-parser.h
diff --git a/src/shared/dev-setup.c b/src/libshared/dev-setup.c
index b2d464c117..b2d464c117 100644
--- a/src/shared/dev-setup.c
+++ b/src/libshared/dev-setup.c
diff --git a/src/shared/dev-setup.h b/src/libshared/dev-setup.h
index 5766a62060..5766a62060 100644
--- a/src/shared/dev-setup.h
+++ b/src/libshared/dev-setup.h
diff --git a/src/shared/dns-domain.c b/src/libshared/dns-domain.c
index 45d24c0079..45d24c0079 100644
--- a/src/shared/dns-domain.c
+++ b/src/libshared/dns-domain.c
diff --git a/src/shared/dns-domain.h b/src/libshared/dns-domain.h
index 2de3642cb3..2de3642cb3 100644
--- a/src/shared/dns-domain.h
+++ b/src/libshared/dns-domain.h
diff --git a/src/shared/dropin.c b/src/libshared/dropin.c
index cc1acd6f23..cc1acd6f23 100644
--- a/src/shared/dropin.c
+++ b/src/libshared/dropin.c
diff --git a/src/shared/dropin.h b/src/libshared/dropin.h
index c1936f397b..c1936f397b 100644
--- a/src/shared/dropin.h
+++ b/src/libshared/dropin.h
diff --git a/src/shared/efivars.c b/src/libshared/efivars.c
index 8631a5a5d9..5073c61740 100644
--- a/src/shared/efivars.c
+++ b/src/libshared/efivars.c
@@ -27,7 +27,7 @@
#include <sys/stat.h>
#include <unistd.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
#include "alloc-util.h"
#include "dirent-util.h"
diff --git a/src/shared/efivars.h b/src/libshared/efivars.h
index b61d14c4ec..243151f922 100644
--- a/src/shared/efivars.h
+++ b/src/libshared/efivars.h
@@ -23,7 +23,7 @@
#include <stddef.h>
#include <stdint.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
#include "time-util.h"
diff --git a/src/shared/firewall-util.c b/src/libshared/firewall-util.c
index 0d3da2e6d2..0d3da2e6d2 100644
--- a/src/shared/firewall-util.c
+++ b/src/libshared/firewall-util.c
diff --git a/src/shared/firewall-util.h b/src/libshared/firewall-util.h
index c39b34cf8f..c39b34cf8f 100644
--- a/src/shared/firewall-util.h
+++ b/src/libshared/firewall-util.h
diff --git a/src/shared/fstab-util.c b/src/libshared/fstab-util.c
index a4e0cd3267..a4e0cd3267 100644
--- a/src/shared/fstab-util.c
+++ b/src/libshared/fstab-util.c
diff --git a/src/shared/fstab-util.h b/src/libshared/fstab-util.h
index 679f6902f7..679f6902f7 100644
--- a/src/shared/fstab-util.h
+++ b/src/libshared/fstab-util.h
diff --git a/src/shared/generator.c b/src/libshared/generator.c
index cd3c35cd55..cd3c35cd55 100644
--- a/src/shared/generator.c
+++ b/src/libshared/generator.c
diff --git a/src/shared/generator.h b/src/libshared/generator.h
index a734e13970..a734e13970 100644
--- a/src/shared/generator.h
+++ b/src/libshared/generator.h
diff --git a/src/shared/gpt.h b/src/libshared/gpt.h
index 52ab29ed5f..9b8f59abee 100644
--- a/src/shared/gpt.h
+++ b/src/libshared/gpt.h
@@ -21,7 +21,7 @@
#include <endian.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
/* We only support root disk discovery for x86, x86-64, Itanium and ARM for
* now, since EFI for anything else doesn't really exist, and we only
diff --git a/src/shared/ima-util.c b/src/libshared/ima-util.c
index 789064d653..789064d653 100644
--- a/src/shared/ima-util.c
+++ b/src/libshared/ima-util.c
diff --git a/src/shared/ima-util.h b/src/libshared/ima-util.h
index 5be94761fd..5be94761fd 100644
--- a/src/shared/ima-util.h
+++ b/src/libshared/ima-util.h
diff --git a/src/shared/import-util.c b/src/libshared/import-util.c
index ab701ad8b2..ab701ad8b2 100644
--- a/src/shared/import-util.c
+++ b/src/libshared/import-util.c
diff --git a/src/shared/import-util.h b/src/libshared/import-util.h
index 77b17d91f3..77b17d91f3 100644
--- a/src/shared/import-util.h
+++ b/src/libshared/import-util.h
diff --git a/src/shared/initreq.h b/src/libshared/initreq.h
index 710037d84b..710037d84b 100644
--- a/src/shared/initreq.h
+++ b/src/libshared/initreq.h
diff --git a/src/shared/install-printf.c b/src/libshared/install-printf.c
index 88143361da..88143361da 100644
--- a/src/shared/install-printf.c
+++ b/src/libshared/install-printf.c
diff --git a/src/shared/install-printf.h b/src/libshared/install-printf.h
index acf519f4f7..acf519f4f7 100644
--- a/src/shared/install-printf.h
+++ b/src/libshared/install-printf.h
diff --git a/src/shared/install.c b/src/libshared/install.c
index ef8f485cae..ef8f485cae 100644
--- a/src/shared/install.c
+++ b/src/libshared/install.c
diff --git a/src/shared/install.h b/src/libshared/install.h
index c1a43e23e7..c1a43e23e7 100644
--- a/src/shared/install.h
+++ b/src/libshared/install.h
diff --git a/src/shared/logs-show.c b/src/libshared/logs-show.c
index 5eb3bd35c7..5eb3bd35c7 100644
--- a/src/shared/logs-show.c
+++ b/src/libshared/logs-show.c
diff --git a/src/shared/logs-show.h b/src/libshared/logs-show.h
index 9765a24ff2..9765a24ff2 100644
--- a/src/shared/logs-show.h
+++ b/src/libshared/logs-show.h
diff --git a/src/shared/machine-image.c b/src/libshared/machine-image.c
index ed8a29c575..ed8a29c575 100644
--- a/src/shared/machine-image.c
+++ b/src/libshared/machine-image.c
diff --git a/src/shared/machine-image.h b/src/libshared/machine-image.h
index 31b720d50c..31b720d50c 100644
--- a/src/shared/machine-image.h
+++ b/src/libshared/machine-image.h
diff --git a/src/shared/machine-pool.c b/src/libshared/machine-pool.c
index e5674e4137..e5674e4137 100644
--- a/src/shared/machine-pool.c
+++ b/src/libshared/machine-pool.c
diff --git a/src/shared/machine-pool.h b/src/libshared/machine-pool.h
index 40fe5ecb3a..40fe5ecb3a 100644
--- a/src/shared/machine-pool.h
+++ b/src/libshared/machine-pool.h
diff --git a/src/shared/output-mode.h b/src/libshared/output-mode.h
index c5470e7c1b..c5470e7c1b 100644
--- a/src/shared/output-mode.h
+++ b/src/libshared/output-mode.h
diff --git a/src/shared/pager.c b/src/libshared/pager.c
index 05b2b15e40..05b2b15e40 100644
--- a/src/shared/pager.c
+++ b/src/libshared/pager.c
diff --git a/src/shared/pager.h b/src/libshared/pager.h
index 9fb05796bb..9fb05796bb 100644
--- a/src/shared/pager.h
+++ b/src/libshared/pager.h
diff --git a/src/shared/path-lookup.c b/src/libshared/path-lookup.c
index 5410620725..5410620725 100644
--- a/src/shared/path-lookup.c
+++ b/src/libshared/path-lookup.c
diff --git a/src/shared/path-lookup.h b/src/libshared/path-lookup.h
index 26c83d6111..26c83d6111 100644
--- a/src/shared/path-lookup.h
+++ b/src/libshared/path-lookup.h
diff --git a/src/shared/ptyfwd.c b/src/libshared/ptyfwd.c
index 061d31f4de..061d31f4de 100644
--- a/src/shared/ptyfwd.c
+++ b/src/libshared/ptyfwd.c
diff --git a/src/shared/ptyfwd.h b/src/libshared/ptyfwd.h
index a046eb4e5e..83c1f60970 100644
--- a/src/shared/ptyfwd.h
+++ b/src/libshared/ptyfwd.h
@@ -21,7 +21,7 @@
#include <stdbool.h>
-#include "sd-event.h"
+#include <systemd/sd-event.h>
#include "macro.h"
diff --git a/src/shared/resolve-util.c b/src/libshared/resolve-util.c
index e2da81bab7..e2da81bab7 100644
--- a/src/shared/resolve-util.c
+++ b/src/libshared/resolve-util.c
diff --git a/src/shared/resolve-util.h b/src/libshared/resolve-util.h
index 8636a6c134..8636a6c134 100644
--- a/src/shared/resolve-util.h
+++ b/src/libshared/resolve-util.h
diff --git a/src/shared/seccomp-util.c b/src/libshared/seccomp-util.c
index cebe0fce2a..cebe0fce2a 100644
--- a/src/shared/seccomp-util.c
+++ b/src/libshared/seccomp-util.c
diff --git a/src/shared/seccomp-util.h b/src/libshared/seccomp-util.h
index 4ed2afc1b2..4ed2afc1b2 100644
--- a/src/shared/seccomp-util.h
+++ b/src/libshared/seccomp-util.h
diff --git a/src/shared/sleep-config.c b/src/libshared/sleep-config.c
index a0aef66bc8..a0aef66bc8 100644
--- a/src/shared/sleep-config.c
+++ b/src/libshared/sleep-config.c
diff --git a/src/shared/sleep-config.h b/src/libshared/sleep-config.h
index 51f4621844..51f4621844 100644
--- a/src/shared/sleep-config.h
+++ b/src/libshared/sleep-config.h
diff --git a/src/shared/spawn-ask-password-agent.c b/src/libshared/spawn-ask-password-agent.c
index a46b7525f0..a46b7525f0 100644
--- a/src/shared/spawn-ask-password-agent.c
+++ b/src/libshared/spawn-ask-password-agent.c
diff --git a/src/shared/spawn-ask-password-agent.h b/src/libshared/spawn-ask-password-agent.h
index fb0749b13f..fb0749b13f 100644
--- a/src/shared/spawn-ask-password-agent.h
+++ b/src/libshared/spawn-ask-password-agent.h
diff --git a/src/shared/spawn-polkit-agent.c b/src/libshared/spawn-polkit-agent.c
index cf3c8ad5a3..cf3c8ad5a3 100644
--- a/src/shared/spawn-polkit-agent.c
+++ b/src/libshared/spawn-polkit-agent.c
diff --git a/src/shared/spawn-polkit-agent.h b/src/libshared/spawn-polkit-agent.h
index 42b2989ded..42b2989ded 100644
--- a/src/shared/spawn-polkit-agent.h
+++ b/src/libshared/spawn-polkit-agent.h
diff --git a/src/shared/specifier.c b/src/libshared/specifier.c
index 1c17eb5251..1c17eb5251 100644
--- a/src/shared/specifier.c
+++ b/src/libshared/specifier.c
diff --git a/src/shared/specifier.h b/src/libshared/specifier.h
index 6b1623ee61..6b1623ee61 100644
--- a/src/shared/specifier.h
+++ b/src/libshared/specifier.h
diff --git a/src/shared/switch-root.c b/src/libshared/switch-root.c
index 47d3a5a1fa..47d3a5a1fa 100644
--- a/src/shared/switch-root.c
+++ b/src/libshared/switch-root.c
diff --git a/src/shared/switch-root.h b/src/libshared/switch-root.h
index a7a080b3e8..a7a080b3e8 100644
--- a/src/shared/switch-root.h
+++ b/src/libshared/switch-root.h
diff --git a/src/shared/sysctl-util.c b/src/libshared/sysctl-util.c
index e1ccb3294c..e1ccb3294c 100644
--- a/src/shared/sysctl-util.c
+++ b/src/libshared/sysctl-util.c
diff --git a/src/shared/sysctl-util.h b/src/libshared/sysctl-util.h
index 2decb39f58..2decb39f58 100644
--- a/src/shared/sysctl-util.h
+++ b/src/libshared/sysctl-util.h
diff --git a/src/shared/test-tables.h b/src/libshared/test-tables.h
index 228e510104..228e510104 100644
--- a/src/shared/test-tables.h
+++ b/src/libshared/test-tables.h
diff --git a/src/shared/udev-util.h b/src/libshared/udev-util.h
index ca0889f8a6..ca0889f8a6 100644
--- a/src/shared/udev-util.h
+++ b/src/libshared/udev-util.h
diff --git a/src/shared/uid-range.c b/src/libshared/uid-range.c
index eb251492c3..eb251492c3 100644
--- a/src/shared/uid-range.c
+++ b/src/libshared/uid-range.c
diff --git a/src/shared/uid-range.h b/src/libshared/uid-range.h
index 4044eb4c9c..4044eb4c9c 100644
--- a/src/shared/uid-range.h
+++ b/src/libshared/uid-range.h
diff --git a/src/shared/utmp-wtmp.c b/src/libshared/utmp-wtmp.c
index 9750dcd817..9750dcd817 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/libshared/utmp-wtmp.c
diff --git a/src/shared/utmp-wtmp.h b/src/libshared/utmp-wtmp.h
index 438e270a26..438e270a26 100644
--- a/src/shared/utmp-wtmp.h
+++ b/src/libshared/utmp-wtmp.h
diff --git a/src/shared/watchdog.c b/src/libshared/watchdog.c
index 4f3e0125f3..4f3e0125f3 100644
--- a/src/shared/watchdog.c
+++ b/src/libshared/watchdog.c
diff --git a/src/shared/watchdog.h b/src/libshared/watchdog.h
index f6ec178ea1..f6ec178ea1 100644
--- a/src/shared/watchdog.h
+++ b/src/libshared/watchdog.h
diff --git a/src/compat-libs/.gitignore b/src/libsystemd/compat-libs/.gitignore
index 662c154cdd..662c154cdd 100644
--- a/src/compat-libs/.gitignore
+++ b/src/libsystemd/compat-libs/.gitignore
diff --git a/src/compat-libs/Makefile b/src/libsystemd/compat-libs/Makefile
index c221f37be0..c221f37be0 100644
--- a/src/compat-libs/Makefile
+++ b/src/libsystemd/compat-libs/Makefile
diff --git a/src/compat-libs/libsystemd-daemon.pc.in b/src/libsystemd/compat-libs/libsystemd-daemon.pc.in
index 847afc9d60..847afc9d60 100644
--- a/src/compat-libs/libsystemd-daemon.pc.in
+++ b/src/libsystemd/compat-libs/libsystemd-daemon.pc.in
diff --git a/src/compat-libs/libsystemd-daemon.sym b/src/libsystemd/compat-libs/libsystemd-daemon.sym
index f440238931..f440238931 100644
--- a/src/compat-libs/libsystemd-daemon.sym
+++ b/src/libsystemd/compat-libs/libsystemd-daemon.sym
diff --git a/src/compat-libs/libsystemd-id128.pc.in b/src/libsystemd/compat-libs/libsystemd-id128.pc.in
index 80f8fee6c3..80f8fee6c3 100644
--- a/src/compat-libs/libsystemd-id128.pc.in
+++ b/src/libsystemd/compat-libs/libsystemd-id128.pc.in
diff --git a/src/compat-libs/libsystemd-id128.sym b/src/libsystemd/compat-libs/libsystemd-id128.sym
index 604c0026c6..604c0026c6 100644
--- a/src/compat-libs/libsystemd-id128.sym
+++ b/src/libsystemd/compat-libs/libsystemd-id128.sym
diff --git a/src/compat-libs/libsystemd-journal.pc.in b/src/libsystemd/compat-libs/libsystemd-journal.pc.in
index 395f71005b..395f71005b 100644
--- a/src/compat-libs/libsystemd-journal.pc.in
+++ b/src/libsystemd/compat-libs/libsystemd-journal.pc.in
diff --git a/src/compat-libs/libsystemd-journal.sym b/src/libsystemd/compat-libs/libsystemd-journal.sym
index 4eb15910d2..4eb15910d2 100644
--- a/src/compat-libs/libsystemd-journal.sym
+++ b/src/libsystemd/compat-libs/libsystemd-journal.sym
diff --git a/src/compat-libs/libsystemd-login.pc.in b/src/libsystemd/compat-libs/libsystemd-login.pc.in
index db3f79c99a..db3f79c99a 100644
--- a/src/compat-libs/libsystemd-login.pc.in
+++ b/src/libsystemd/compat-libs/libsystemd-login.pc.in
diff --git a/src/compat-libs/libsystemd-login.sym b/src/libsystemd/compat-libs/libsystemd-login.sym
index 54aa91c609..54aa91c609 100644
--- a/src/compat-libs/libsystemd-login.sym
+++ b/src/libsystemd/compat-libs/libsystemd-login.sym
diff --git a/src/compat-libs/linkwarning.h b/src/libsystemd/compat-libs/linkwarning.h
index 79ece9e7d1..79ece9e7d1 100644
--- a/src/compat-libs/linkwarning.h
+++ b/src/libsystemd/compat-libs/linkwarning.h
diff --git a/src/systemd/_sd-common.h b/src/libsystemd/include/systemd/_sd-common.h
index 2d4e1f26e1..2d4e1f26e1 100644
--- a/src/systemd/_sd-common.h
+++ b/src/libsystemd/include/systemd/_sd-common.h
diff --git a/src/systemd/sd-bus-protocol.h b/src/libsystemd/include/systemd/sd-bus-protocol.h
index 47b256d5b9..47b256d5b9 100644
--- a/src/systemd/sd-bus-protocol.h
+++ b/src/libsystemd/include/systemd/sd-bus-protocol.h
diff --git a/src/systemd/sd-bus-vtable.h b/src/libsystemd/include/systemd/sd-bus-vtable.h
index 6ad6d51979..6ad6d51979 100644
--- a/src/systemd/sd-bus-vtable.h
+++ b/src/libsystemd/include/systemd/sd-bus-vtable.h
diff --git a/src/systemd/sd-bus.h b/src/libsystemd/include/systemd/sd-bus.h
index 2a2ef0eb98..2a2ef0eb98 100644
--- a/src/systemd/sd-bus.h
+++ b/src/libsystemd/include/systemd/sd-bus.h
diff --git a/src/systemd/sd-daemon.h b/src/libsystemd/include/systemd/sd-daemon.h
index e6787b0a64..e6787b0a64 100644
--- a/src/systemd/sd-daemon.h
+++ b/src/libsystemd/include/systemd/sd-daemon.h
diff --git a/src/systemd/sd-device.h b/src/libsystemd/include/systemd/sd-device.h
index 5bfca6ecec..5bfca6ecec 100644
--- a/src/systemd/sd-device.h
+++ b/src/libsystemd/include/systemd/sd-device.h
diff --git a/src/systemd/sd-dhcp-client.h b/src/libsystemd/include/systemd/sd-dhcp-client.h
index 2b865a80e1..2b865a80e1 100644
--- a/src/systemd/sd-dhcp-client.h
+++ b/src/libsystemd/include/systemd/sd-dhcp-client.h
diff --git a/src/systemd/sd-dhcp-lease.h b/src/libsystemd/include/systemd/sd-dhcp-lease.h
index 2f565ca825..2f565ca825 100644
--- a/src/systemd/sd-dhcp-lease.h
+++ b/src/libsystemd/include/systemd/sd-dhcp-lease.h
diff --git a/src/systemd/sd-dhcp-server.h b/src/libsystemd/include/systemd/sd-dhcp-server.h
index 8658197e80..8658197e80 100644
--- a/src/systemd/sd-dhcp-server.h
+++ b/src/libsystemd/include/systemd/sd-dhcp-server.h
diff --git a/src/systemd/sd-dhcp6-client.h b/src/libsystemd/include/systemd/sd-dhcp6-client.h
index 9608060830..9608060830 100644
--- a/src/systemd/sd-dhcp6-client.h
+++ b/src/libsystemd/include/systemd/sd-dhcp6-client.h
diff --git a/src/systemd/sd-dhcp6-lease.h b/src/libsystemd/include/systemd/sd-dhcp6-lease.h
index 184fbb8e0d..184fbb8e0d 100644
--- a/src/systemd/sd-dhcp6-lease.h
+++ b/src/libsystemd/include/systemd/sd-dhcp6-lease.h
diff --git a/src/systemd/sd-event.h b/src/libsystemd/include/systemd/sd-event.h
index 1ea97e47f8..1ea97e47f8 100644
--- a/src/systemd/sd-event.h
+++ b/src/libsystemd/include/systemd/sd-event.h
diff --git a/src/systemd/sd-hwdb.h b/src/libsystemd/include/systemd/sd-hwdb.h
index 7105920492..7105920492 100644
--- a/src/systemd/sd-hwdb.h
+++ b/src/libsystemd/include/systemd/sd-hwdb.h
diff --git a/src/systemd/sd-id128.h b/src/libsystemd/include/systemd/sd-id128.h
index a3bf5897b8..a3bf5897b8 100644
--- a/src/systemd/sd-id128.h
+++ b/src/libsystemd/include/systemd/sd-id128.h
diff --git a/src/systemd/sd-ipv4acd.h b/src/libsystemd/include/systemd/sd-ipv4acd.h
index 3a2219c82c..3a2219c82c 100644
--- a/src/systemd/sd-ipv4acd.h
+++ b/src/libsystemd/include/systemd/sd-ipv4acd.h
diff --git a/src/systemd/sd-ipv4ll.h b/src/libsystemd/include/systemd/sd-ipv4ll.h
index 67c566fe0d..67c566fe0d 100644
--- a/src/systemd/sd-ipv4ll.h
+++ b/src/libsystemd/include/systemd/sd-ipv4ll.h
diff --git a/src/systemd/sd-journal.h b/src/libsystemd/include/systemd/sd-journal.h
index abb9eca576..abb9eca576 100644
--- a/src/systemd/sd-journal.h
+++ b/src/libsystemd/include/systemd/sd-journal.h
diff --git a/src/systemd/sd-lldp.h b/src/libsystemd/include/systemd/sd-lldp.h
index ea952ef187..ea952ef187 100644
--- a/src/systemd/sd-lldp.h
+++ b/src/libsystemd/include/systemd/sd-lldp.h
diff --git a/src/systemd/sd-login.h b/src/libsystemd/include/systemd/sd-login.h
index 3c10ff032f..3c10ff032f 100644
--- a/src/systemd/sd-login.h
+++ b/src/libsystemd/include/systemd/sd-login.h
diff --git a/src/systemd/sd-messages.h b/src/libsystemd/include/systemd/sd-messages.h
index 8a72576ec8..8a72576ec8 100644
--- a/src/systemd/sd-messages.h
+++ b/src/libsystemd/include/systemd/sd-messages.h
diff --git a/src/systemd/sd-ndisc.h b/src/libsystemd/include/systemd/sd-ndisc.h
index 762947531d..762947531d 100644
--- a/src/systemd/sd-ndisc.h
+++ b/src/libsystemd/include/systemd/sd-ndisc.h
diff --git a/src/systemd/sd-netlink.h b/src/libsystemd/include/systemd/sd-netlink.h
index b4798d2476..b4798d2476 100644
--- a/src/systemd/sd-netlink.h
+++ b/src/libsystemd/include/systemd/sd-netlink.h
diff --git a/src/systemd/sd-network.h b/src/libsystemd/include/systemd/sd-network.h
index e20d12c44d..e20d12c44d 100644
--- a/src/systemd/sd-network.h
+++ b/src/libsystemd/include/systemd/sd-network.h
diff --git a/src/systemd/sd-path.h b/src/libsystemd/include/systemd/sd-path.h
index be6abdcd03..be6abdcd03 100644
--- a/src/systemd/sd-path.h
+++ b/src/libsystemd/include/systemd/sd-path.h
diff --git a/src/systemd/sd-resolve.h b/src/libsystemd/include/systemd/sd-resolve.h
index 903b917f70..903b917f70 100644
--- a/src/systemd/sd-resolve.h
+++ b/src/libsystemd/include/systemd/sd-resolve.h
diff --git a/src/systemd/sd-utf8.h b/src/libsystemd/include/systemd/sd-utf8.h
index 6781983878..6781983878 100644
--- a/src/systemd/sd-utf8.h
+++ b/src/libsystemd/include/systemd/sd-utf8.h
diff --git a/src/libsystemd/.gitignore b/src/libsystemd/src/.gitignore
index 50a1692374..50a1692374 100644
--- a/src/libsystemd/.gitignore
+++ b/src/libsystemd/src/.gitignore
diff --git a/src/libsystemd/Makefile b/src/libsystemd/src/Makefile
index cf72f9ea95..cf72f9ea95 100644
--- a/src/libsystemd/Makefile
+++ b/src/libsystemd/src/Makefile
diff --git a/src/libsystemd/libsystemd.pc.in b/src/libsystemd/src/libsystemd.pc.in
index e8f79507ea..e8f79507ea 100644
--- a/src/libsystemd/libsystemd.pc.in
+++ b/src/libsystemd/src/libsystemd.pc.in
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/src/libsystemd.sym
index 4ab637b686..4ab637b686 100644
--- a/src/libsystemd/libsystemd.sym
+++ b/src/libsystemd/src/libsystemd.sym
diff --git a/src/libsystemd/sd-bus/DIFFERENCES b/src/libsystemd/src/sd-bus/DIFFERENCES
index db269675a7..db269675a7 100644
--- a/src/libsystemd/sd-bus/DIFFERENCES
+++ b/src/libsystemd/src/sd-bus/DIFFERENCES
diff --git a/src/libsystemd/sd-bus/GVARIANT-SERIALIZATION b/src/libsystemd/src/sd-bus/GVARIANT-SERIALIZATION
index 6aeb11364a..6aeb11364a 100644
--- a/src/libsystemd/sd-bus/GVARIANT-SERIALIZATION
+++ b/src/libsystemd/src/sd-bus/GVARIANT-SERIALIZATION
diff --git a/src/libsystemd/sd-bus/PORTING-DBUS1 b/src/libsystemd/src/sd-bus/PORTING-DBUS1
index 2dedb28bcf..2dedb28bcf 100644
--- a/src/libsystemd/sd-bus/PORTING-DBUS1
+++ b/src/libsystemd/src/sd-bus/PORTING-DBUS1
diff --git a/src/libsystemd/sd-bus/bus-bloom.c b/src/libsystemd/src/sd-bus/bus-bloom.c
index 112769fcb6..112769fcb6 100644
--- a/src/libsystemd/sd-bus/bus-bloom.c
+++ b/src/libsystemd/src/sd-bus/bus-bloom.c
diff --git a/src/libsystemd/sd-bus/bus-bloom.h b/src/libsystemd/src/sd-bus/bus-bloom.h
index c824622b95..c824622b95 100644
--- a/src/libsystemd/sd-bus/bus-bloom.h
+++ b/src/libsystemd/src/sd-bus/bus-bloom.h
diff --git a/src/libsystemd/sd-bus/bus-common-errors.c b/src/libsystemd/src/sd-bus/bus-common-errors.c
index 3c19f2b108..3c19f2b108 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.c
+++ b/src/libsystemd/src/sd-bus/bus-common-errors.c
diff --git a/src/libsystemd/sd-bus/bus-common-errors.h b/src/libsystemd/src/sd-bus/bus-common-errors.h
index fab8748f46..fab8748f46 100644
--- a/src/libsystemd/sd-bus/bus-common-errors.h
+++ b/src/libsystemd/src/sd-bus/bus-common-errors.h
diff --git a/src/libsystemd/sd-bus/bus-container.c b/src/libsystemd/src/sd-bus/bus-container.c
index 3191d27ded..3191d27ded 100644
--- a/src/libsystemd/sd-bus/bus-container.c
+++ b/src/libsystemd/src/sd-bus/bus-container.c
diff --git a/src/libsystemd/sd-bus/bus-container.h b/src/libsystemd/src/sd-bus/bus-container.h
index 509ef45624..509ef45624 100644
--- a/src/libsystemd/sd-bus/bus-container.h
+++ b/src/libsystemd/src/sd-bus/bus-container.h
diff --git a/src/libsystemd/sd-bus/bus-control.c b/src/libsystemd/src/sd-bus/bus-control.c
index 05222b8d30..05222b8d30 100644
--- a/src/libsystemd/sd-bus/bus-control.c
+++ b/src/libsystemd/src/sd-bus/bus-control.c
diff --git a/src/libsystemd/sd-bus/bus-control.h b/src/libsystemd/src/sd-bus/bus-control.h
index c181aa7959..c181aa7959 100644
--- a/src/libsystemd/sd-bus/bus-control.h
+++ b/src/libsystemd/src/sd-bus/bus-control.h
diff --git a/src/libsystemd/sd-bus/bus-convenience.c b/src/libsystemd/src/sd-bus/bus-convenience.c
index 2d06bf541f..2d06bf541f 100644
--- a/src/libsystemd/sd-bus/bus-convenience.c
+++ b/src/libsystemd/src/sd-bus/bus-convenience.c
diff --git a/src/libsystemd/sd-bus/bus-creds.c b/src/libsystemd/src/sd-bus/bus-creds.c
index c4f693dee9..c4f693dee9 100644
--- a/src/libsystemd/sd-bus/bus-creds.c
+++ b/src/libsystemd/src/sd-bus/bus-creds.c
diff --git a/src/libsystemd/sd-bus/bus-creds.h b/src/libsystemd/src/sd-bus/bus-creds.h
index df8a1f1005..df8a1f1005 100644
--- a/src/libsystemd/sd-bus/bus-creds.h
+++ b/src/libsystemd/src/sd-bus/bus-creds.h
diff --git a/src/libsystemd/sd-bus/bus-dump.c b/src/libsystemd/src/sd-bus/bus-dump.c
index 7c81e7a25d..7c81e7a25d 100644
--- a/src/libsystemd/sd-bus/bus-dump.c
+++ b/src/libsystemd/src/sd-bus/bus-dump.c
diff --git a/src/libsystemd/sd-bus/bus-dump.h b/src/libsystemd/src/sd-bus/bus-dump.h
index 874e86d09c..874e86d09c 100644
--- a/src/libsystemd/sd-bus/bus-dump.h
+++ b/src/libsystemd/src/sd-bus/bus-dump.h
diff --git a/src/libsystemd/sd-bus/bus-error.c b/src/libsystemd/src/sd-bus/bus-error.c
index 26219bdeed..26219bdeed 100644
--- a/src/libsystemd/sd-bus/bus-error.c
+++ b/src/libsystemd/src/sd-bus/bus-error.c
diff --git a/src/libsystemd/sd-bus/bus-error.h b/src/libsystemd/src/sd-bus/bus-error.h
index e2c4cf4b3f..e2c4cf4b3f 100644
--- a/src/libsystemd/sd-bus/bus-error.h
+++ b/src/libsystemd/src/sd-bus/bus-error.h
diff --git a/src/libsystemd/sd-bus/bus-gvariant.c b/src/libsystemd/src/sd-bus/bus-gvariant.c
index 58782767fa..58782767fa 100644
--- a/src/libsystemd/sd-bus/bus-gvariant.c
+++ b/src/libsystemd/src/sd-bus/bus-gvariant.c
diff --git a/src/libsystemd/sd-bus/bus-gvariant.h b/src/libsystemd/src/sd-bus/bus-gvariant.h
index 6da637fb05..6da637fb05 100644
--- a/src/libsystemd/sd-bus/bus-gvariant.h
+++ b/src/libsystemd/src/sd-bus/bus-gvariant.h
diff --git a/src/libsystemd/sd-bus/bus-internal.c b/src/libsystemd/src/sd-bus/bus-internal.c
index caca679086..caca679086 100644
--- a/src/libsystemd/sd-bus/bus-internal.c
+++ b/src/libsystemd/src/sd-bus/bus-internal.c
diff --git a/src/libsystemd/sd-bus/bus-internal.h b/src/libsystemd/src/sd-bus/bus-internal.h
index 216d9f62bc..216d9f62bc 100644
--- a/src/libsystemd/sd-bus/bus-internal.h
+++ b/src/libsystemd/src/sd-bus/bus-internal.h
diff --git a/src/libsystemd/sd-bus/bus-introspect.c b/src/libsystemd/src/sd-bus/bus-introspect.c
index 8f93edb8da..8f93edb8da 100644
--- a/src/libsystemd/sd-bus/bus-introspect.c
+++ b/src/libsystemd/src/sd-bus/bus-introspect.c
diff --git a/src/libsystemd/sd-bus/bus-introspect.h b/src/libsystemd/src/sd-bus/bus-introspect.h
index 8e2f3800ca..8e2f3800ca 100644
--- a/src/libsystemd/sd-bus/bus-introspect.h
+++ b/src/libsystemd/src/sd-bus/bus-introspect.h
diff --git a/src/libsystemd/sd-bus/bus-kernel.c b/src/libsystemd/src/sd-bus/bus-kernel.c
index 0896eeb177..0896eeb177 100644
--- a/src/libsystemd/sd-bus/bus-kernel.c
+++ b/src/libsystemd/src/sd-bus/bus-kernel.c
diff --git a/src/libsystemd/sd-bus/bus-kernel.h b/src/libsystemd/src/sd-bus/bus-kernel.h
index 53ba3bdcf3..53ba3bdcf3 100644
--- a/src/libsystemd/sd-bus/bus-kernel.h
+++ b/src/libsystemd/src/sd-bus/bus-kernel.h
diff --git a/src/libsystemd/sd-bus/bus-match.c b/src/libsystemd/src/sd-bus/bus-match.c
index 397baf6f33..397baf6f33 100644
--- a/src/libsystemd/sd-bus/bus-match.c
+++ b/src/libsystemd/src/sd-bus/bus-match.c
diff --git a/src/libsystemd/sd-bus/bus-match.h b/src/libsystemd/src/sd-bus/bus-match.h
index 8cbbb63b11..8cbbb63b11 100644
--- a/src/libsystemd/sd-bus/bus-match.h
+++ b/src/libsystemd/src/sd-bus/bus-match.h
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/src/sd-bus/bus-message.c
index 7be28c509b..7be28c509b 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/src/sd-bus/bus-message.c
diff --git a/src/libsystemd/sd-bus/bus-message.h b/src/libsystemd/src/sd-bus/bus-message.h
index 4710c106b9..4710c106b9 100644
--- a/src/libsystemd/sd-bus/bus-message.h
+++ b/src/libsystemd/src/sd-bus/bus-message.h
diff --git a/src/libsystemd/sd-bus/bus-objects.c b/src/libsystemd/src/sd-bus/bus-objects.c
index 1f285ae8a6..1f285ae8a6 100644
--- a/src/libsystemd/sd-bus/bus-objects.c
+++ b/src/libsystemd/src/sd-bus/bus-objects.c
diff --git a/src/libsystemd/sd-bus/bus-objects.h b/src/libsystemd/src/sd-bus/bus-objects.h
index e0b8c534ed..e0b8c534ed 100644
--- a/src/libsystemd/sd-bus/bus-objects.h
+++ b/src/libsystemd/src/sd-bus/bus-objects.h
diff --git a/src/libsystemd/sd-bus/bus-protocol.h b/src/libsystemd/src/sd-bus/bus-protocol.h
index 9d180cb284..9d180cb284 100644
--- a/src/libsystemd/sd-bus/bus-protocol.h
+++ b/src/libsystemd/src/sd-bus/bus-protocol.h
diff --git a/src/libsystemd/sd-bus/bus-signature.c b/src/libsystemd/src/sd-bus/bus-signature.c
index 7bc243494a..7bc243494a 100644
--- a/src/libsystemd/sd-bus/bus-signature.c
+++ b/src/libsystemd/src/sd-bus/bus-signature.c
diff --git a/src/libsystemd/sd-bus/bus-signature.h b/src/libsystemd/src/sd-bus/bus-signature.h
index 1e0cd7f587..1e0cd7f587 100644
--- a/src/libsystemd/sd-bus/bus-signature.h
+++ b/src/libsystemd/src/sd-bus/bus-signature.h
diff --git a/src/libsystemd/sd-bus/bus-slot.c b/src/libsystemd/src/sd-bus/bus-slot.c
index a8c74011bf..a8c74011bf 100644
--- a/src/libsystemd/sd-bus/bus-slot.c
+++ b/src/libsystemd/src/sd-bus/bus-slot.c
diff --git a/src/libsystemd/sd-bus/bus-slot.h b/src/libsystemd/src/sd-bus/bus-slot.h
index 3b8b94dc6b..3b8b94dc6b 100644
--- a/src/libsystemd/sd-bus/bus-slot.h
+++ b/src/libsystemd/src/sd-bus/bus-slot.h
diff --git a/src/libsystemd/sd-bus/bus-socket.c b/src/libsystemd/src/sd-bus/bus-socket.c
index a2fb391239..a2fb391239 100644
--- a/src/libsystemd/sd-bus/bus-socket.c
+++ b/src/libsystemd/src/sd-bus/bus-socket.c
diff --git a/src/libsystemd/sd-bus/bus-socket.h b/src/libsystemd/src/sd-bus/bus-socket.h
index 684feead74..684feead74 100644
--- a/src/libsystemd/sd-bus/bus-socket.h
+++ b/src/libsystemd/src/sd-bus/bus-socket.h
diff --git a/src/libsystemd/sd-bus/bus-track.c b/src/libsystemd/src/sd-bus/bus-track.c
index bdbf7d4a85..bdbf7d4a85 100644
--- a/src/libsystemd/sd-bus/bus-track.c
+++ b/src/libsystemd/src/sd-bus/bus-track.c
diff --git a/src/libsystemd/sd-bus/bus-track.h b/src/libsystemd/src/sd-bus/bus-track.h
index 7d93a727d6..7d93a727d6 100644
--- a/src/libsystemd/sd-bus/bus-track.h
+++ b/src/libsystemd/src/sd-bus/bus-track.h
diff --git a/src/libsystemd/sd-bus/bus-type.c b/src/libsystemd/src/sd-bus/bus-type.c
index c692afc580..c692afc580 100644
--- a/src/libsystemd/sd-bus/bus-type.c
+++ b/src/libsystemd/src/sd-bus/bus-type.c
diff --git a/src/libsystemd/sd-bus/bus-type.h b/src/libsystemd/src/sd-bus/bus-type.h
index 5c87eb5f08..5c87eb5f08 100644
--- a/src/libsystemd/sd-bus/bus-type.h
+++ b/src/libsystemd/src/sd-bus/bus-type.h
diff --git a/src/libsystemd/sd-bus/busctl-introspect.c b/src/libsystemd/src/sd-bus/busctl-introspect.c
index b09509f8e1..b09509f8e1 100644
--- a/src/libsystemd/sd-bus/busctl-introspect.c
+++ b/src/libsystemd/src/sd-bus/busctl-introspect.c
diff --git a/src/libsystemd/sd-bus/busctl-introspect.h b/src/libsystemd/src/sd-bus/busctl-introspect.h
index d922e352db..d922e352db 100644
--- a/src/libsystemd/sd-bus/busctl-introspect.h
+++ b/src/libsystemd/src/sd-bus/busctl-introspect.h
diff --git a/src/libsystemd/sd-bus/busctl.c b/src/libsystemd/src/sd-bus/busctl.c
index 35fabf038c..35fabf038c 100644
--- a/src/libsystemd/sd-bus/busctl.c
+++ b/src/libsystemd/src/sd-bus/busctl.c
diff --git a/src/libsystemd/sd-bus/kdbus.h b/src/libsystemd/src/sd-bus/kdbus.h
index ecffc6b13c..ecffc6b13c 100644
--- a/src/libsystemd/sd-bus/kdbus.h
+++ b/src/libsystemd/src/sd-bus/kdbus.h
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/src/sd-bus/sd-bus.c
index c6f626d8aa..c6f626d8aa 100644
--- a/src/libsystemd/sd-bus/sd-bus.c
+++ b/src/libsystemd/src/sd-bus/sd-bus.c
diff --git a/src/libsystemd/sd-bus/test-bus-benchmark.c b/src/libsystemd/src/sd-bus/test-bus-benchmark.c
index 56ac2ab3dd..56ac2ab3dd 100644
--- a/src/libsystemd/sd-bus/test-bus-benchmark.c
+++ b/src/libsystemd/src/sd-bus/test-bus-benchmark.c
diff --git a/src/libsystemd/sd-bus/test-bus-chat.c b/src/libsystemd/src/sd-bus/test-bus-chat.c
index 048c0d19e2..048c0d19e2 100644
--- a/src/libsystemd/sd-bus/test-bus-chat.c
+++ b/src/libsystemd/src/sd-bus/test-bus-chat.c
diff --git a/src/libsystemd/sd-bus/test-bus-cleanup.c b/src/libsystemd/src/sd-bus/test-bus-cleanup.c
index 250a5b2908..250a5b2908 100644
--- a/src/libsystemd/sd-bus/test-bus-cleanup.c
+++ b/src/libsystemd/src/sd-bus/test-bus-cleanup.c
diff --git a/src/libsystemd/sd-bus/test-bus-creds.c b/src/libsystemd/src/sd-bus/test-bus-creds.c
index e9ef483bdd..e9ef483bdd 100644
--- a/src/libsystemd/sd-bus/test-bus-creds.c
+++ b/src/libsystemd/src/sd-bus/test-bus-creds.c
diff --git a/src/libsystemd/sd-bus/test-bus-error.c b/src/libsystemd/src/sd-bus/test-bus-error.c
index 46d18abd29..46d18abd29 100644
--- a/src/libsystemd/sd-bus/test-bus-error.c
+++ b/src/libsystemd/src/sd-bus/test-bus-error.c
diff --git a/src/libsystemd/sd-bus/test-bus-gvariant.c b/src/libsystemd/src/sd-bus/test-bus-gvariant.c
index 83f114a0fe..83f114a0fe 100644
--- a/src/libsystemd/sd-bus/test-bus-gvariant.c
+++ b/src/libsystemd/src/sd-bus/test-bus-gvariant.c
diff --git a/src/libsystemd/sd-bus/test-bus-introspect.c b/src/libsystemd/src/sd-bus/test-bus-introspect.c
index 4425cfae26..4425cfae26 100644
--- a/src/libsystemd/sd-bus/test-bus-introspect.c
+++ b/src/libsystemd/src/sd-bus/test-bus-introspect.c
diff --git a/src/libsystemd/sd-bus/test-bus-kernel-bloom.c b/src/libsystemd/src/sd-bus/test-bus-kernel-bloom.c
index eb6179d7d2..eb6179d7d2 100644
--- a/src/libsystemd/sd-bus/test-bus-kernel-bloom.c
+++ b/src/libsystemd/src/sd-bus/test-bus-kernel-bloom.c
diff --git a/src/libsystemd/sd-bus/test-bus-kernel.c b/src/libsystemd/src/sd-bus/test-bus-kernel.c
index 2214817312..2214817312 100644
--- a/src/libsystemd/sd-bus/test-bus-kernel.c
+++ b/src/libsystemd/src/sd-bus/test-bus-kernel.c
diff --git a/src/libsystemd/sd-bus/test-bus-marshal.c b/src/libsystemd/src/sd-bus/test-bus-marshal.c
index a28cc5b79e..a28cc5b79e 100644
--- a/src/libsystemd/sd-bus/test-bus-marshal.c
+++ b/src/libsystemd/src/sd-bus/test-bus-marshal.c
diff --git a/src/libsystemd/sd-bus/test-bus-match.c b/src/libsystemd/src/sd-bus/test-bus-match.c
index 29c4529f95..29c4529f95 100644
--- a/src/libsystemd/sd-bus/test-bus-match.c
+++ b/src/libsystemd/src/sd-bus/test-bus-match.c
diff --git a/src/libsystemd/sd-bus/test-bus-objects.c b/src/libsystemd/src/sd-bus/test-bus-objects.c
index f11cafd888..f11cafd888 100644
--- a/src/libsystemd/sd-bus/test-bus-objects.c
+++ b/src/libsystemd/src/sd-bus/test-bus-objects.c
diff --git a/src/libsystemd/sd-bus/test-bus-proxy.c b/src/libsystemd/src/sd-bus/test-bus-proxy.c
index 45d0a5ffce..45d0a5ffce 100644
--- a/src/libsystemd/sd-bus/test-bus-proxy.c
+++ b/src/libsystemd/src/sd-bus/test-bus-proxy.c
diff --git a/src/libsystemd/sd-bus/test-bus-server.c b/src/libsystemd/src/sd-bus/test-bus-server.c
index b6272efc30..b6272efc30 100644
--- a/src/libsystemd/sd-bus/test-bus-server.c
+++ b/src/libsystemd/src/sd-bus/test-bus-server.c
diff --git a/src/libsystemd/sd-bus/test-bus-signature.c b/src/libsystemd/src/sd-bus/test-bus-signature.c
index 4f4fd093bf..4f4fd093bf 100644
--- a/src/libsystemd/sd-bus/test-bus-signature.c
+++ b/src/libsystemd/src/sd-bus/test-bus-signature.c
diff --git a/src/libsystemd/sd-bus/test-bus-zero-copy.c b/src/libsystemd/src/sd-bus/test-bus-zero-copy.c
index 3380e8500a..3380e8500a 100644
--- a/src/libsystemd/sd-bus/test-bus-zero-copy.c
+++ b/src/libsystemd/src/sd-bus/test-bus-zero-copy.c
diff --git a/src/libsystemd/sd-daemon/sd-daemon.c b/src/libsystemd/src/sd-daemon/sd-daemon.c
index 4e50b61979..4e50b61979 100644
--- a/src/libsystemd/sd-daemon/sd-daemon.c
+++ b/src/libsystemd/src/sd-daemon/sd-daemon.c
diff --git a/src/libsystemd/sd-device/device-enumerator-private.h b/src/libsystemd/src/sd-device/device-enumerator-private.h
index eb06f9542d..eb06f9542d 100644
--- a/src/libsystemd/sd-device/device-enumerator-private.h
+++ b/src/libsystemd/src/sd-device/device-enumerator-private.h
diff --git a/src/libsystemd/sd-device/device-enumerator.c b/src/libsystemd/src/sd-device/device-enumerator.c
index 4a7a8b1f9e..4a7a8b1f9e 100644
--- a/src/libsystemd/sd-device/device-enumerator.c
+++ b/src/libsystemd/src/sd-device/device-enumerator.c
diff --git a/src/libsystemd/sd-device/device-internal.h b/src/libsystemd/src/sd-device/device-internal.h
index b96441de56..b96441de56 100644
--- a/src/libsystemd/sd-device/device-internal.h
+++ b/src/libsystemd/src/sd-device/device-internal.h
diff --git a/src/libsystemd/sd-device/device-private.c b/src/libsystemd/src/sd-device/device-private.c
index f2af3ab3ae..f2af3ab3ae 100644
--- a/src/libsystemd/sd-device/device-private.c
+++ b/src/libsystemd/src/sd-device/device-private.c
diff --git a/src/libsystemd/sd-device/device-private.h b/src/libsystemd/src/sd-device/device-private.h
index 29b3e155fb..29b3e155fb 100644
--- a/src/libsystemd/sd-device/device-private.h
+++ b/src/libsystemd/src/sd-device/device-private.h
diff --git a/src/libsystemd/sd-device/device-util.h b/src/libsystemd/src/sd-device/device-util.h
index 5b42e11de6..5b42e11de6 100644
--- a/src/libsystemd/sd-device/device-util.h
+++ b/src/libsystemd/src/sd-device/device-util.h
diff --git a/src/libsystemd/sd-device/sd-device.c b/src/libsystemd/src/sd-device/sd-device.c
index 9633e46ce0..9633e46ce0 100644
--- a/src/libsystemd/sd-device/sd-device.c
+++ b/src/libsystemd/src/sd-device/sd-device.c
diff --git a/src/libsystemd/sd-event/sd-event.c b/src/libsystemd/src/sd-event/sd-event.c
index deef6ba9d3..deef6ba9d3 100644
--- a/src/libsystemd/sd-event/sd-event.c
+++ b/src/libsystemd/src/sd-event/sd-event.c
diff --git a/src/libsystemd/sd-event/test-event.c b/src/libsystemd/src/sd-event/test-event.c
index daea4126f8..daea4126f8 100644
--- a/src/libsystemd/sd-event/test-event.c
+++ b/src/libsystemd/src/sd-event/test-event.c
diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/src/sd-hwdb/hwdb-internal.h
index 13fddfc8ad..13fddfc8ad 100644
--- a/src/libsystemd/sd-hwdb/hwdb-internal.h
+++ b/src/libsystemd/src/sd-hwdb/hwdb-internal.h
diff --git a/src/libsystemd/sd-hwdb/hwdb-util.h b/src/libsystemd/src/sd-hwdb/hwdb-util.h
index 5e21e5008b..5e21e5008b 100644
--- a/src/libsystemd/sd-hwdb/hwdb-util.h
+++ b/src/libsystemd/src/sd-hwdb/hwdb-util.h
diff --git a/src/libsystemd/sd-hwdb/sd-hwdb.c b/src/libsystemd/src/sd-hwdb/sd-hwdb.c
index 062fa97b17..062fa97b17 100644
--- a/src/libsystemd/sd-hwdb/sd-hwdb.c
+++ b/src/libsystemd/src/sd-hwdb/sd-hwdb.c
diff --git a/src/libsystemd/sd-id128/sd-id128.c b/src/libsystemd/src/sd-id128/sd-id128.c
index d9c0116f60..d9c0116f60 100644
--- a/src/libsystemd/sd-id128/sd-id128.c
+++ b/src/libsystemd/src/sd-id128/sd-id128.c
diff --git a/src/libsystemd/sd-login/sd-login.c b/src/libsystemd/src/sd-login/sd-login.c
index 9d4f187502..9d4f187502 100644
--- a/src/libsystemd/sd-login/sd-login.c
+++ b/src/libsystemd/src/sd-login/sd-login.c
diff --git a/src/libsystemd/sd-login/test-login.c b/src/libsystemd/src/sd-login/test-login.c
index c1fd7dd33e..c1fd7dd33e 100644
--- a/src/libsystemd/sd-login/test-login.c
+++ b/src/libsystemd/src/sd-login/test-login.c
diff --git a/src/libsystemd/sd-netlink/local-addresses.c b/src/libsystemd/src/sd-netlink/local-addresses.c
index 6abd8fd0cc..6abd8fd0cc 100644
--- a/src/libsystemd/sd-netlink/local-addresses.c
+++ b/src/libsystemd/src/sd-netlink/local-addresses.c
diff --git a/src/libsystemd/sd-netlink/local-addresses.h b/src/libsystemd/src/sd-netlink/local-addresses.h
index 18d71e797e..18d71e797e 100644
--- a/src/libsystemd/sd-netlink/local-addresses.h
+++ b/src/libsystemd/src/sd-netlink/local-addresses.h
diff --git a/src/libsystemd/sd-netlink/netlink-internal.h b/src/libsystemd/src/sd-netlink/netlink-internal.h
index dcfb080ad3..dcfb080ad3 100644
--- a/src/libsystemd/sd-netlink/netlink-internal.h
+++ b/src/libsystemd/src/sd-netlink/netlink-internal.h
diff --git a/src/libsystemd/sd-netlink/netlink-message.c b/src/libsystemd/src/sd-netlink/netlink-message.c
index 3a866fdafe..3a866fdafe 100644
--- a/src/libsystemd/sd-netlink/netlink-message.c
+++ b/src/libsystemd/src/sd-netlink/netlink-message.c
diff --git a/src/libsystemd/sd-netlink/netlink-socket.c b/src/libsystemd/src/sd-netlink/netlink-socket.c
index 590fc53fc7..590fc53fc7 100644
--- a/src/libsystemd/sd-netlink/netlink-socket.c
+++ b/src/libsystemd/src/sd-netlink/netlink-socket.c
diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/src/sd-netlink/netlink-types.c
index a5758bb516..a5758bb516 100644
--- a/src/libsystemd/sd-netlink/netlink-types.c
+++ b/src/libsystemd/src/sd-netlink/netlink-types.c
diff --git a/src/libsystemd/sd-netlink/netlink-types.h b/src/libsystemd/src/sd-netlink/netlink-types.h
index ecb20bfcdc..ecb20bfcdc 100644
--- a/src/libsystemd/sd-netlink/netlink-types.h
+++ b/src/libsystemd/src/sd-netlink/netlink-types.h
diff --git a/src/libsystemd/sd-netlink/netlink-util.c b/src/libsystemd/src/sd-netlink/netlink-util.c
index 73b9ac0258..73b9ac0258 100644
--- a/src/libsystemd/sd-netlink/netlink-util.c
+++ b/src/libsystemd/src/sd-netlink/netlink-util.c
diff --git a/src/libsystemd/sd-netlink/netlink-util.h b/src/libsystemd/src/sd-netlink/netlink-util.h
index f49bf4eaa6..f49bf4eaa6 100644
--- a/src/libsystemd/sd-netlink/netlink-util.h
+++ b/src/libsystemd/src/sd-netlink/netlink-util.h
diff --git a/src/libsystemd/sd-netlink/rtnl-message.c b/src/libsystemd/src/sd-netlink/rtnl-message.c
index 090552f576..090552f576 100644
--- a/src/libsystemd/sd-netlink/rtnl-message.c
+++ b/src/libsystemd/src/sd-netlink/rtnl-message.c
diff --git a/src/libsystemd/sd-netlink/sd-netlink.c b/src/libsystemd/src/sd-netlink/sd-netlink.c
index 4833815b43..4833815b43 100644
--- a/src/libsystemd/sd-netlink/sd-netlink.c
+++ b/src/libsystemd/src/sd-netlink/sd-netlink.c
diff --git a/src/libsystemd/sd-netlink/test-local-addresses.c b/src/libsystemd/src/sd-netlink/test-local-addresses.c
index e0e28cc0cc..e0e28cc0cc 100644
--- a/src/libsystemd/sd-netlink/test-local-addresses.c
+++ b/src/libsystemd/src/sd-netlink/test-local-addresses.c
diff --git a/src/libsystemd/sd-netlink/test-netlink.c b/src/libsystemd/src/sd-netlink/test-netlink.c
index de5e0ffc8f..de5e0ffc8f 100644
--- a/src/libsystemd/sd-netlink/test-netlink.c
+++ b/src/libsystemd/src/sd-netlink/test-netlink.c
diff --git a/src/libsystemd/sd-network/network-util.c b/src/libsystemd/src/sd-network/network-util.c
index a0d9b5f1a4..a0d9b5f1a4 100644
--- a/src/libsystemd/sd-network/network-util.c
+++ b/src/libsystemd/src/sd-network/network-util.c
diff --git a/src/libsystemd/sd-network/network-util.h b/src/libsystemd/src/sd-network/network-util.h
index 26780dce28..26780dce28 100644
--- a/src/libsystemd/sd-network/network-util.h
+++ b/src/libsystemd/src/sd-network/network-util.h
diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/src/sd-network/sd-network.c
index 62051992ef..62051992ef 100644
--- a/src/libsystemd/sd-network/sd-network.c
+++ b/src/libsystemd/src/sd-network/sd-network.c
diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/src/sd-path/sd-path.c
index 480f1ad065..480f1ad065 100644
--- a/src/libsystemd/sd-path/sd-path.c
+++ b/src/libsystemd/src/sd-path/sd-path.c
diff --git a/src/libsystemd/sd-resolve/sd-resolve.c b/src/libsystemd/src/sd-resolve/sd-resolve.c
index 653dbfbe57..653dbfbe57 100644
--- a/src/libsystemd/sd-resolve/sd-resolve.c
+++ b/src/libsystemd/src/sd-resolve/sd-resolve.c
diff --git a/src/libsystemd/sd-resolve/test-resolve.c b/src/libsystemd/src/sd-resolve/test-resolve.c
index 33ef6fc0f7..33ef6fc0f7 100644
--- a/src/libsystemd/sd-resolve/test-resolve.c
+++ b/src/libsystemd/src/sd-resolve/test-resolve.c
diff --git a/src/libsystemd/sd-utf8/sd-utf8.c b/src/libsystemd/src/sd-utf8/sd-utf8.c
index 33a5a04ea1..33a5a04ea1 100644
--- a/src/libsystemd/sd-utf8/sd-utf8.c
+++ b/src/libsystemd/src/sd-utf8/sd-utf8.c
diff --git a/src/libudev/libudev.h b/src/libudev/include/libudev.h
index eb58740d26..eb58740d26 100644
--- a/src/libudev/libudev.h
+++ b/src/libudev/include/libudev.h
diff --git a/src/libudev/.gitignore b/src/libudev/src/.gitignore
index 0c8a5d5231..0c8a5d5231 100644
--- a/src/libudev/.gitignore
+++ b/src/libudev/src/.gitignore
diff --git a/src/libudev/Makefile b/src/libudev/src/Makefile
index 3f1540b14a..3f1540b14a 100644
--- a/src/libudev/Makefile
+++ b/src/libudev/src/Makefile
diff --git a/src/libudev/libudev-device-internal.h b/src/libudev/src/libudev-device-internal.h
index 40d59201cf..40d59201cf 100644
--- a/src/libudev/libudev-device-internal.h
+++ b/src/libudev/src/libudev-device-internal.h
diff --git a/src/libudev/libudev-device-private.c b/src/libudev/src/libudev-device-private.c
index 2aae0726c1..2aae0726c1 100644
--- a/src/libudev/libudev-device-private.c
+++ b/src/libudev/src/libudev-device-private.c
diff --git a/src/libudev/libudev-device.c b/src/libudev/src/libudev-device.c
index 814e016800..814e016800 100644
--- a/src/libudev/libudev-device.c
+++ b/src/libudev/src/libudev-device.c
diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/src/libudev-enumerate.c
index e416e178b4..e416e178b4 100644
--- a/src/libudev/libudev-enumerate.c
+++ b/src/libudev/src/libudev-enumerate.c
diff --git a/src/libudev/libudev-hwdb.c b/src/libudev/src/libudev-hwdb.c
index a53f000015..a53f000015 100644
--- a/src/libudev/libudev-hwdb.c
+++ b/src/libudev/src/libudev-hwdb.c
diff --git a/src/libudev/libudev-list.c b/src/libudev/src/libudev-list.c
index da496ed456..da496ed456 100644
--- a/src/libudev/libudev-list.c
+++ b/src/libudev/src/libudev-list.c
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/src/libudev-monitor.c
index f870eba9eb..f870eba9eb 100644
--- a/src/libudev/libudev-monitor.c
+++ b/src/libudev/src/libudev-monitor.c
diff --git a/src/libudev/libudev-private.h b/src/libudev/src/libudev-private.h
index 52c5075110..52c5075110 100644
--- a/src/libudev/libudev-private.h
+++ b/src/libudev/src/libudev-private.h
diff --git a/src/libudev/libudev-queue.c b/src/libudev/src/libudev-queue.c
index e3dffa6925..e3dffa6925 100644
--- a/src/libudev/libudev-queue.c
+++ b/src/libudev/src/libudev-queue.c
diff --git a/src/libudev/libudev-util.c b/src/libudev/src/libudev-util.c
index 574cfeac85..574cfeac85 100644
--- a/src/libudev/libudev-util.c
+++ b/src/libudev/src/libudev-util.c
diff --git a/src/libudev/libudev.c b/src/libudev/src/libudev.c
index 63fb05547d..63fb05547d 100644
--- a/src/libudev/libudev.c
+++ b/src/libudev/src/libudev.c
diff --git a/src/libudev/libudev.pc.in b/src/libudev/src/libudev.pc.in
index a0f3f524e0..a0f3f524e0 100644
--- a/src/libudev/libudev.pc.in
+++ b/src/libudev/src/libudev.pc.in
diff --git a/src/libudev/libudev.sym b/src/libudev/src/libudev.sym
index 76726fca77..76726fca77 100644
--- a/src/libudev/libudev.sym
+++ b/src/libudev/src/libudev.sym
diff --git a/src/nss-mymachines/nss-mymachines.c b/src/machine/nss-mymachines/nss-mymachines.c
index 1582d702f8..1582d702f8 100644
--- a/src/nss-mymachines/nss-mymachines.c
+++ b/src/machine/nss-mymachines/nss-mymachines.c
diff --git a/src/nss-mymachines/nss-mymachines.sym b/src/machine/nss-mymachines/nss-mymachines.sym
index 0728ac3ba7..0728ac3ba7 100644
--- a/src/nss-mymachines/nss-mymachines.sym
+++ b/src/machine/nss-mymachines/nss-mymachines.sym
diff --git a/src/nss-resolve/nss-resolve.c b/src/resolve/nss-resolve/nss-resolve.c
index 69c0d9bdc1..69c0d9bdc1 100644
--- a/src/nss-resolve/nss-resolve.c
+++ b/src/resolve/nss-resolve/nss-resolve.c
diff --git a/src/nss-resolve/nss-resolve.sym b/src/resolve/nss-resolve/nss-resolve.sym
index df8dff2a20..df8dff2a20 100644
--- a/src/nss-resolve/nss-resolve.sym
+++ b/src/resolve/nss-resolve/nss-resolve.sym
diff --git a/src/systemctl/Makefile b/src/system/systemctl/Makefile
index c907fa8e07..c907fa8e07 100644
--- a/src/systemctl/Makefile
+++ b/src/system/systemctl/Makefile
diff --git a/src/systemctl/systemctl.c b/src/system/systemctl/systemctl.c
index 908ccabf8a..908ccabf8a 100644
--- a/src/systemctl/systemctl.c
+++ b/src/system/systemctl/systemctl.c
diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/system/systemctl/systemd-sysv-install.SKELETON
index a53a3e6221..a53a3e6221 100755
--- a/src/systemctl/systemd-sysv-install.SKELETON
+++ b/src/system/systemctl/systemd-sysv-install.SKELETON
diff --git a/src/activate/Makefile b/src/systemd-activate/Makefile
index 113d71fb8b..113d71fb8b 100644
--- a/src/activate/Makefile
+++ b/src/systemd-activate/Makefile
diff --git a/src/activate/activate.c b/src/systemd-activate/activate.c
index 0db4967edb..0db4967edb 100644
--- a/src/activate/activate.c
+++ b/src/systemd-activate/activate.c
diff --git a/man/systemd-activate.xml b/src/systemd-activate/systemd-activate.xml
index 995e6eecce..995e6eecce 100644
--- a/man/systemd-activate.xml
+++ b/src/systemd-activate/systemd-activate.xml
diff --git a/src/ask-password/Makefile b/src/systemd-ask-password/Makefile
index d4fa8ac203..d4fa8ac203 100644
--- a/src/ask-password/Makefile
+++ b/src/systemd-ask-password/Makefile
diff --git a/src/ask-password/ask-password.c b/src/systemd-ask-password/ask-password.c
index adc9286612..adc9286612 100644
--- a/src/ask-password/ask-password.c
+++ b/src/systemd-ask-password/ask-password.c
diff --git a/src/backlight/Makefile b/src/systemd-backlight/Makefile
index 523b347aa4..523b347aa4 100644
--- a/src/backlight/Makefile
+++ b/src/systemd-backlight/Makefile
diff --git a/src/backlight/backlight.c b/src/systemd-backlight/backlight.c
index 45be135a23..45be135a23 100644
--- a/src/backlight/backlight.c
+++ b/src/systemd-backlight/backlight.c
diff --git a/src/binfmt/Makefile b/src/systemd-binfmt/Makefile
index 3099a7c86d..3099a7c86d 100644
--- a/src/binfmt/Makefile
+++ b/src/systemd-binfmt/Makefile
diff --git a/src/binfmt/binfmt.c b/src/systemd-binfmt/binfmt.c
index eeef04fb1c..eeef04fb1c 100644
--- a/src/binfmt/binfmt.c
+++ b/src/systemd-binfmt/binfmt.c
diff --git a/src/cgls/Makefile b/src/systemd-cgls/Makefile
index 3235760784..3235760784 100644
--- a/src/cgls/Makefile
+++ b/src/systemd-cgls/Makefile
diff --git a/src/cgls/cgls.c b/src/systemd-cgls/cgls.c
index b839fadd04..b839fadd04 100644
--- a/src/cgls/cgls.c
+++ b/src/systemd-cgls/cgls.c
diff --git a/src/cgroups-agent/Makefile b/src/systemd-cgroups-agent/Makefile
index 6ca248605f..6ca248605f 100644
--- a/src/cgroups-agent/Makefile
+++ b/src/systemd-cgroups-agent/Makefile
diff --git a/src/cgroups-agent/cgroups-agent.c b/src/systemd-cgroups-agent/cgroups-agent.c
index aadfba0707..aadfba0707 100644
--- a/src/cgroups-agent/cgroups-agent.c
+++ b/src/systemd-cgroups-agent/cgroups-agent.c
diff --git a/src/cgtop/Makefile b/src/systemd-cgtop/Makefile
index e1fd455170..e1fd455170 100644
--- a/src/cgtop/Makefile
+++ b/src/systemd-cgtop/Makefile
diff --git a/src/cgtop/cgtop.c b/src/systemd-cgtop/cgtop.c
index 60d6da3246..60d6da3246 100644
--- a/src/cgtop/cgtop.c
+++ b/src/systemd-cgtop/cgtop.c
diff --git a/src/cryptsetup/Makefile b/src/systemd-cryptsetup/Makefile
index a19f37582b..a19f37582b 100644
--- a/src/cryptsetup/Makefile
+++ b/src/systemd-cryptsetup/Makefile
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/systemd-cryptsetup/cryptsetup-generator.c
index 8ac5ab730a..8ac5ab730a 100644
--- a/src/cryptsetup/cryptsetup-generator.c
+++ b/src/systemd-cryptsetup/cryptsetup-generator.c
diff --git a/src/cryptsetup/cryptsetup.c b/src/systemd-cryptsetup/cryptsetup.c
index 2ef966257a..2ef966257a 100644
--- a/src/cryptsetup/cryptsetup.c
+++ b/src/systemd-cryptsetup/cryptsetup.c
diff --git a/src/delta/Makefile b/src/systemd-delta/Makefile
index 626f444643..626f444643 100644
--- a/src/delta/Makefile
+++ b/src/systemd-delta/Makefile
diff --git a/src/delta/delta.c b/src/systemd-delta/delta.c
index a54fc89de6..a54fc89de6 100644
--- a/src/delta/delta.c
+++ b/src/systemd-delta/delta.c
diff --git a/src/escape/Makefile b/src/systemd-escape/Makefile
index 99672a8578..99672a8578 100644
--- a/src/escape/Makefile
+++ b/src/systemd-escape/Makefile
diff --git a/src/escape/escape.c b/src/systemd-escape/escape.c
index 9f39049577..9f39049577 100644
--- a/src/escape/escape.c
+++ b/src/systemd-escape/escape.c
diff --git a/src/notify/Makefile b/src/systemd-notify/Makefile
index 1ad00ad96c..1ad00ad96c 100644
--- a/src/notify/Makefile
+++ b/src/systemd-notify/Makefile
diff --git a/src/notify/notify.c b/src/systemd-notify/notify.c
index 49f97c61d9..49f97c61d9 100644
--- a/src/notify/notify.c
+++ b/src/systemd-notify/notify.c
diff --git a/src/nspawn/.gitignore b/src/systemd-nspawn/.gitignore
index 85c81fff24..85c81fff24 100644
--- a/src/nspawn/.gitignore
+++ b/src/systemd-nspawn/.gitignore
diff --git a/src/nspawn/Makefile b/src/systemd-nspawn/Makefile
index 6750c2dfaf..e485cac514 100644
--- a/src/nspawn/Makefile
+++ b/src/systemd-nspawn/Makefile
@@ -20,6 +20,9 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
+include $(topsrcdir)/automake.head.mk
+
systemd_nspawn_SOURCES = \
src/nspawn/nspawn.c \
src/nspawn/nspawn-settings.c \
@@ -43,6 +46,36 @@ systemd_nspawn_SOURCES = \
src/core/loopback-setup.c \
src/core/loopback-setup.h
+am_out_files = systemd-nspawn
+CPPFLAGS += -I$(topsrcdir)/src/libbasic
+CPPFLAGS += -I$(topoutdir)/src/libbasic
+CPPFLAGS += -I$(topsrcdir)/src/libshared
+CPPFLAGS += -I$(topoutdir)/src/libshared
+CPPFLAGS += -I$(topsrcdir)/src/libsystemd/include
+CPPFLAGS += -I$(topoutdir)/src/libsystemd/include
+CPPFLAGS += -I$(topsrcdir)/src/libudev/include
+CPPFLAGS += -I$(topoutdir)/src/libudev/include
+$(outdir)/systemd-nspawn: \
+ $(outdir)/nspawn.o \
+ $(outdir)/nspawn-settings.o \
+ $(outdir)/nspawn-mount.o \
+ $(outdir)/nspawn-network.o \
+ $(outdir)/nspawn-expose-ports.o \
+ $(outdir)/nspawn-cgroup.o \
+ $(outdir)/nspawn-register.o \
+ $(outdir)/nspawn-setuid.o \
+ $(outdir)/nspawn-stub-pid1.o \
+ $(outdir)/mount-setup.o \
+ $(outdir)/loopback-setup.o \
+ $(topsrcdir)/libshared/libshared.la $(BLKID_LIBS)
+
+$(outdir)/mount-setup.c: $(topsrcdir)/src/libcore/mount-setup.c; $(CP) $< $@
+$(outdir)/mount-setup.h: $(topsrcdir)/src/libcore/mount-setup.h; $(CP) $< $@
+$(outdir)/loopback-setup.c: $(topsrcdir)/src/libcore/loopback-setup.c; $(CP) $< $@
+$(outdir)/loopback-setup.h: $(topsrcdir)/src/libcore/loopback-setup.h; $(CP) $< $@
+
+$(outdir)/nspawn.o: $(outdir)/loopback-setup.h
+
nodist_systemd_nspawn_SOURCES = \
src/nspawn/nspawn-gperf.c
@@ -58,8 +91,9 @@ systemd_nspawn_LDADD = \
libshared.la \
$(BLKID_LIBS)
-if HAVE_LIBIPTC
+ifneq ($(HAVE_LIBIPTC),)
systemd_nspawn_LDADD += \
libfirewall.la
endif
+include $(topsrcdir)/automake.tail.mk
diff --git a/src/systemd-nspawn/loopback-setup.c b/src/systemd-nspawn/loopback-setup.c
new file mode 100644
index 0000000000..d56bbfa6fc
--- /dev/null
+++ b/src/systemd-nspawn/loopback-setup.c
@@ -0,0 +1,90 @@
+/***
+ This file is part of systemd.
+
+ Copyright 2010 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <net/if.h>
+#include <stdlib.h>
+
+#include <systemd/sd-netlink.h>
+
+#include "loopback-setup.h"
+#include "missing.h"
+#include "netlink-util.h"
+
+static int start_loopback(sd_netlink *rtnl) {
+ _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL;
+ int r;
+
+ r = sd_rtnl_message_new_link(rtnl, &req, RTM_SETLINK, LOOPBACK_IFINDEX);
+ if (r < 0)
+ return r;
+
+ r = sd_rtnl_message_link_set_flags(req, IFF_UP, IFF_UP);
+ if (r < 0)
+ return r;
+
+ r = sd_netlink_call(rtnl, req, 0, NULL);
+ if (r < 0)
+ return r;
+
+ return 0;
+}
+
+static bool check_loopback(sd_netlink *rtnl) {
+ _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL;
+ unsigned flags;
+ int r;
+
+ r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, LOOPBACK_IFINDEX);
+ if (r < 0)
+ return false;
+
+ r = sd_netlink_call(rtnl, req, 0, &reply);
+ if (r < 0)
+ return false;
+
+ r = sd_rtnl_message_link_get_flags(reply, &flags);
+ if (r < 0)
+ return false;
+
+ return flags & IFF_UP;
+}
+
+int loopback_setup(void) {
+ _cleanup_(sd_netlink_unrefp) sd_netlink *rtnl = NULL;
+ int r;
+
+ r = sd_netlink_open(&rtnl);
+ if (r < 0)
+ return r;
+
+ r = start_loopback(rtnl);
+ if (r < 0) {
+
+ /* If we lack the permissions to configure the
+ * loopback device, but we find it to be already
+ * configured, let's exit cleanly, in order to
+ * supported unprivileged containers. */
+ if (r == -EPERM && check_loopback(rtnl))
+ return 0;
+
+ return log_warning_errno(r, "Failed to configure loopback device: %m");
+ }
+
+ return 0;
+}
diff --git a/src/systemd-nspawn/loopback-setup.h b/src/systemd-nspawn/loopback-setup.h
new file mode 100644
index 0000000000..e7547b8a26
--- /dev/null
+++ b/src/systemd-nspawn/loopback-setup.h
@@ -0,0 +1,22 @@
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2010 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+int loopback_setup(void);
diff --git a/src/systemd-nspawn/mount-setup.c b/src/systemd-nspawn/mount-setup.c
new file mode 100644
index 0000000000..de1a361cc4
--- /dev/null
+++ b/src/systemd-nspawn/mount-setup.c
@@ -0,0 +1,412 @@
+/***
+ This file is part of systemd.
+
+ Copyright 2010 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <errno.h>
+#include <ftw.h>
+#include <stdlib.h>
+#include <sys/mount.h>
+#include <unistd.h>
+
+#include "alloc-util.h"
+#include "bus-util.h"
+#include "cgroup-util.h"
+#include "dev-setup.h"
+#include "efivars.h"
+#include "label.h"
+#include "log.h"
+#include "macro.h"
+#include "missing.h"
+#include "mkdir.h"
+#include "mount-setup.h"
+#include "mount-util.h"
+#include "path-util.h"
+#include "set.h"
+#include "smack-util.h"
+#include "strv.h"
+#include "user-util.h"
+#include "util.h"
+#include "virt.h"
+
+typedef enum MountMode {
+ MNT_NONE = 0,
+ MNT_FATAL = 1 << 0,
+ MNT_IN_CONTAINER = 1 << 1,
+} MountMode;
+
+typedef struct MountPoint {
+ const char *what;
+ const char *where;
+ const char *type;
+ const char *options;
+ unsigned long flags;
+ bool (*condition_fn)(void);
+ MountMode mode;
+} MountPoint;
+
+/* The first three entries we might need before SELinux is up. The
+ * fourth (securityfs) is needed by IMA to load a custom policy. The
+ * other ones we can delay until SELinux and IMA are loaded. When
+ * SMACK is enabled we need smackfs, too, so it's a fifth one. */
+#ifdef HAVE_SMACK
+#define N_EARLY_MOUNT 5
+#else
+#define N_EARLY_MOUNT 4
+#endif
+
+static const MountPoint mount_table[] = {
+ { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ NULL, MNT_FATAL|MNT_IN_CONTAINER },
+ { "proc", "/proc", "proc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ NULL, MNT_FATAL|MNT_IN_CONTAINER },
+ { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME,
+ NULL, MNT_FATAL|MNT_IN_CONTAINER },
+ { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ NULL, MNT_NONE },
+#ifdef HAVE_SMACK
+ { "smackfs", "/sys/fs/smackfs", "smackfs", "smackfsdef=*", MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ mac_smack_use, MNT_FATAL },
+ { "tmpfs", "/dev/shm", "tmpfs", "mode=1777,smackfsroot=*", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
+ mac_smack_use, MNT_FATAL },
+#endif
+ { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
+ NULL, MNT_FATAL|MNT_IN_CONTAINER },
+ { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC,
+ NULL, MNT_IN_CONTAINER },
+#ifdef HAVE_SMACK
+ { "tmpfs", "/run", "tmpfs", "mode=755,smackfsroot=*", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
+ mac_smack_use, MNT_FATAL },
+#endif
+ { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
+ NULL, MNT_FATAL|MNT_IN_CONTAINER },
+ { "cgroup", "/sys/fs/cgroup", "cgroup", "__DEVEL__sane_behavior", MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ cg_is_unified_wanted, MNT_FATAL|MNT_IN_CONTAINER },
+ { "tmpfs", "/sys/fs/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME,
+ cg_is_legacy_wanted, MNT_FATAL|MNT_IN_CONTAINER },
+ { "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd,xattr", MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ cg_is_legacy_wanted, MNT_IN_CONTAINER },
+ { "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ cg_is_legacy_wanted, MNT_FATAL|MNT_IN_CONTAINER },
+ { "pstore", "/sys/fs/pstore", "pstore", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ NULL, MNT_NONE },
+#ifdef ENABLE_EFI
+ { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ is_efi_boot, MNT_NONE },
+#endif
+ { "kdbusfs", "/sys/fs/kdbus", "kdbusfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ is_kdbus_wanted, MNT_IN_CONTAINER },
+};
+
+/* These are API file systems that might be mounted by other software,
+ * we just list them here so that we know that we should ignore them */
+
+static const char ignore_paths[] =
+ /* SELinux file systems */
+ "/sys/fs/selinux\0"
+ /* Container bind mounts */
+ "/proc/sys\0"
+ "/dev/console\0"
+ "/proc/kmsg\0";
+
+bool mount_point_is_api(const char *path) {
+ unsigned i;
+
+ /* Checks if this mount point is considered "API", and hence
+ * should be ignored */
+
+ for (i = 0; i < ELEMENTSOF(mount_table); i ++)
+ if (path_equal(path, mount_table[i].where))
+ return true;
+
+ return path_startswith(path, "/sys/fs/cgroup/");
+}
+
+bool mount_point_ignore(const char *path) {
+ const char *i;
+
+ NULSTR_FOREACH(i, ignore_paths)
+ if (path_equal(path, i))
+ return true;
+
+ return false;
+}
+
+static int mount_one(const MountPoint *p, bool relabel) {
+ int r;
+
+ assert(p);
+
+ if (p->condition_fn && !p->condition_fn())
+ return 0;
+
+ /* Relabel first, just in case */
+ if (relabel)
+ (void) label_fix(p->where, true, true);
+
+ r = path_is_mount_point(p->where, AT_SYMLINK_FOLLOW);
+ if (r < 0 && r != -ENOENT) {
+ log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, r, "Failed to determine whether %s is a mount point: %m", p->where);
+ return (p->mode & MNT_FATAL) ? r : 0;
+ }
+ if (r > 0)
+ return 0;
+
+ /* Skip securityfs in a container */
+ if (!(p->mode & MNT_IN_CONTAINER) && detect_container() > 0)
+ return 0;
+
+ /* The access mode here doesn't really matter too much, since
+ * the mounted file system will take precedence anyway. */
+ if (relabel)
+ (void) mkdir_p_label(p->where, 0755);
+ else
+ (void) mkdir_p(p->where, 0755);
+
+ log_debug("Mounting %s to %s of type %s with options %s.",
+ p->what,
+ p->where,
+ p->type,
+ strna(p->options));
+
+ if (mount(p->what,
+ p->where,
+ p->type,
+ p->flags,
+ p->options) < 0) {
+ log_full_errno((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, errno, "Failed to mount %s at %s: %m", p->type, p->where);
+ return (p->mode & MNT_FATAL) ? -errno : 0;
+ }
+
+ /* Relabel again, since we now mounted something fresh here */
+ if (relabel)
+ (void) label_fix(p->where, false, false);
+
+ return 1;
+}
+
+static int mount_points_setup(unsigned n, bool loaded_policy) {
+ unsigned i;
+ int r = 0;
+
+ for (i = 0; i < n; i ++) {
+ int j;
+
+ j = mount_one(mount_table + i, loaded_policy);
+ if (j != 0 && r >= 0)
+ r = j;
+ }
+
+ return r;
+}
+
+int mount_setup_early(void) {
+ assert_cc(N_EARLY_MOUNT <= ELEMENTSOF(mount_table));
+
+ /* Do a minimal mount of /proc and friends to enable the most
+ * basic stuff, such as SELinux */
+ return mount_points_setup(N_EARLY_MOUNT, false);
+}
+
+int mount_cgroup_controllers(char ***join_controllers) {
+ _cleanup_set_free_free_ Set *controllers = NULL;
+ int r;
+
+ if (!cg_is_legacy_wanted())
+ return 0;
+
+ /* Mount all available cgroup controllers that are built into the kernel. */
+
+ controllers = set_new(&string_hash_ops);
+ if (!controllers)
+ return log_oom();
+
+ r = cg_kernel_controllers(controllers);
+ if (r < 0)
+ return log_error_errno(r, "Failed to enumerate cgroup controllers: %m");
+
+ for (;;) {
+ _cleanup_free_ char *options = NULL, *controller = NULL, *where = NULL;
+ MountPoint p = {
+ .what = "cgroup",
+ .type = "cgroup",
+ .flags = MS_NOSUID|MS_NOEXEC|MS_NODEV,
+ .mode = MNT_IN_CONTAINER,
+ };
+ char ***k = NULL;
+
+ controller = set_steal_first(controllers);
+ if (!controller)
+ break;
+
+ if (join_controllers)
+ for (k = join_controllers; *k; k++)
+ if (strv_find(*k, controller))
+ break;
+
+ if (k && *k) {
+ char **i, **j;
+
+ for (i = *k, j = *k; *i; i++) {
+
+ if (!streq(*i, controller)) {
+ _cleanup_free_ char *t;
+
+ t = set_remove(controllers, *i);
+ if (!t) {
+ free(*i);
+ continue;
+ }
+ }
+
+ *(j++) = *i;
+ }
+
+ *j = NULL;
+
+ options = strv_join(*k, ",");
+ if (!options)
+ return log_oom();
+ } else {
+ options = controller;
+ controller = NULL;
+ }
+
+ where = strappend("/sys/fs/cgroup/", options);
+ if (!where)
+ return log_oom();
+
+ p.where = where;
+ p.options = options;
+
+ r = mount_one(&p, true);
+ if (r < 0)
+ return r;
+
+ if (r > 0 && k && *k) {
+ char **i;
+
+ for (i = *k; *i; i++) {
+ _cleanup_free_ char *t = NULL;
+
+ t = strappend("/sys/fs/cgroup/", *i);
+ if (!t)
+ return log_oom();
+
+ r = symlink(options, t);
+ if (r >= 0) {
+#ifdef SMACK_RUN_LABEL
+ _cleanup_free_ char *src;
+ src = strappend("/sys/fs/cgroup/", options);
+ if (!src)
+ return log_oom();
+ r = mac_smack_copy(t, src);
+ if (r < 0 && r != -EOPNOTSUPP)
+ return log_error_errno(r, "Failed to copy smack label from %s to %s: %m", src, t);
+#endif
+ } else if (errno != EEXIST)
+ return log_error_errno(errno, "Failed to create symlink %s: %m", t);
+ }
+ }
+ }
+
+ /* Now that we mounted everything, let's make the tmpfs the
+ * cgroup file systems are mounted into read-only. */
+ (void) mount("tmpfs", "/sys/fs/cgroup", "tmpfs", MS_REMOUNT|MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME|MS_RDONLY, "mode=755");
+
+ return 0;
+}
+
+#if defined(HAVE_SELINUX) || defined(HAVE_SMACK)
+static int nftw_cb(
+ const char *fpath,
+ const struct stat *sb,
+ int tflag,
+ struct FTW *ftwbuf) {
+
+ /* No need to label /dev twice in a row... */
+ if (_unlikely_(ftwbuf->level == 0))
+ return FTW_CONTINUE;
+
+ label_fix(fpath, false, false);
+
+ /* /run/initramfs is static data and big, no need to
+ * dynamically relabel its contents at boot... */
+ if (_unlikely_(ftwbuf->level == 1 &&
+ tflag == FTW_D &&
+ streq(fpath, "/run/initramfs")))
+ return FTW_SKIP_SUBTREE;
+
+ return FTW_CONTINUE;
+};
+#endif
+
+int mount_setup(bool loaded_policy) {
+ int r = 0;
+
+ r = mount_points_setup(ELEMENTSOF(mount_table), loaded_policy);
+
+ if (r < 0)
+ return r;
+
+#if defined(HAVE_SELINUX) || defined(HAVE_SMACK)
+ /* Nodes in devtmpfs and /run need to be manually updated for
+ * the appropriate labels, after mounting. The other virtual
+ * API file systems like /sys and /proc do not need that, they
+ * use the same label for all their files. */
+ if (loaded_policy) {
+ usec_t before_relabel, after_relabel;
+ char timespan[FORMAT_TIMESPAN_MAX];
+
+ before_relabel = now(CLOCK_MONOTONIC);
+
+ nftw("/dev", nftw_cb, 64, FTW_MOUNT|FTW_PHYS|FTW_ACTIONRETVAL);
+ nftw("/run", nftw_cb, 64, FTW_MOUNT|FTW_PHYS|FTW_ACTIONRETVAL);
+
+ after_relabel = now(CLOCK_MONOTONIC);
+
+ log_info("Relabelled /dev and /run in %s.",
+ format_timespan(timespan, sizeof(timespan), after_relabel - before_relabel, 0));
+ }
+#endif
+
+ /* Create a few default symlinks, which are normally created
+ * by udevd, but some scripts might need them before we start
+ * udevd. */
+ dev_setup(NULL, UID_INVALID, GID_INVALID);
+
+ /* Mark the root directory as shared in regards to mount
+ * propagation. The kernel defaults to "private", but we think
+ * it makes more sense to have a default of "shared" so that
+ * nspawn and the container tools work out of the box. If
+ * specific setups need other settings they can reset the
+ * propagation mode to private if needed. */
+ if (detect_container() <= 0)
+ if (mount(NULL, "/", NULL, MS_REC|MS_SHARED, NULL) < 0)
+ log_warning_errno(errno, "Failed to set up the root directory for shared mount propagation: %m");
+
+ /* Create a few directories we always want around, Note that
+ * sd_booted() checks for /run/systemd/system, so this mkdir
+ * really needs to stay for good, otherwise software that
+ * copied sd-daemon.c into their sources will misdetect
+ * systemd. */
+ mkdir_label("/run/systemd", 0755);
+ mkdir_label("/run/systemd/system", 0755);
+ mkdir_label("/run/systemd/inaccessible", 0000);
+
+ return 0;
+}
diff --git a/src/nspawn/nspawn-cgroup.c b/src/systemd-nspawn/nspawn-cgroup.c
index 1db5ba7116..1db5ba7116 100644
--- a/src/nspawn/nspawn-cgroup.c
+++ b/src/systemd-nspawn/nspawn-cgroup.c
diff --git a/src/nspawn/nspawn-cgroup.h b/src/systemd-nspawn/nspawn-cgroup.h
index 1ff35a299a..1ff35a299a 100644
--- a/src/nspawn/nspawn-cgroup.h
+++ b/src/systemd-nspawn/nspawn-cgroup.h
diff --git a/src/nspawn/nspawn-expose-ports.c b/src/systemd-nspawn/nspawn-expose-ports.c
index 86124b8779..8122a14f7b 100644
--- a/src/nspawn/nspawn-expose-ports.c
+++ b/src/systemd-nspawn/nspawn-expose-ports.c
@@ -17,7 +17,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "sd-netlink.h"
+#include <systemd/sd-netlink.h>
#include "alloc-util.h"
#include "fd-util.h"
diff --git a/src/nspawn/nspawn-expose-ports.h b/src/systemd-nspawn/nspawn-expose-ports.h
index 741ad9765c..0e9f8f7e88 100644
--- a/src/nspawn/nspawn-expose-ports.h
+++ b/src/systemd-nspawn/nspawn-expose-ports.h
@@ -21,8 +21,8 @@
#include <inttypes.h>
-#include "sd-event.h"
-#include "sd-netlink.h"
+#include <systemd/sd-event.h>
+#include <systemd/sd-netlink.h>
#include "in-addr-util.h"
#include "list.h"
diff --git a/src/nspawn/nspawn-gperf.gperf b/src/systemd-nspawn/nspawn-gperf.gperf
index 116655cdd2..116655cdd2 100644
--- a/src/nspawn/nspawn-gperf.gperf
+++ b/src/systemd-nspawn/nspawn-gperf.gperf
diff --git a/src/nspawn/nspawn-mount.c b/src/systemd-nspawn/nspawn-mount.c
index 70cca15278..70cca15278 100644
--- a/src/nspawn/nspawn-mount.c
+++ b/src/systemd-nspawn/nspawn-mount.c
diff --git a/src/nspawn/nspawn-mount.h b/src/systemd-nspawn/nspawn-mount.h
index 0daf145412..0daf145412 100644
--- a/src/nspawn/nspawn-mount.h
+++ b/src/systemd-nspawn/nspawn-mount.h
diff --git a/src/nspawn/nspawn-network.c b/src/systemd-nspawn/nspawn-network.c
index fcb1efaa74..970eba3ae1 100644
--- a/src/nspawn/nspawn-network.c
+++ b/src/systemd-nspawn/nspawn-network.c
@@ -20,13 +20,12 @@
#include <linux/veth.h>
#include <net/if.h>
-#include "libudev.h"
-#include "sd-id128.h"
-#include "sd-netlink.h"
+#include <libudev.h>
+#include <systemd/sd-id128.h>
+#include <systemd/sd-netlink.h>
#include "alloc-util.h"
#include "ether-addr-util.h"
-#include "netlink-util.h"
#include "nspawn-network.h"
#include "siphash24.h"
#include "string-util.h"
diff --git a/src/nspawn/nspawn-network.h b/src/systemd-nspawn/nspawn-network.h
index 9ab1606d1c..9ab1606d1c 100644
--- a/src/nspawn/nspawn-network.h
+++ b/src/systemd-nspawn/nspawn-network.h
diff --git a/src/nspawn/nspawn-register.c b/src/systemd-nspawn/nspawn-register.c
index 760861089d..3b0d778f43 100644
--- a/src/nspawn/nspawn-register.c
+++ b/src/systemd-nspawn/nspawn-register.c
@@ -17,7 +17,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "sd-bus.h"
+#include <systemd/sd-bus.h>
#include "bus-error.h"
#include "bus-util.h"
diff --git a/src/nspawn/nspawn-register.h b/src/systemd-nspawn/nspawn-register.h
index 304c5a485b..c7a50f7477 100644
--- a/src/nspawn/nspawn-register.h
+++ b/src/systemd-nspawn/nspawn-register.h
@@ -21,7 +21,7 @@
#include <sys/types.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
#include "nspawn-mount.h"
diff --git a/src/nspawn/nspawn-settings.c b/src/systemd-nspawn/nspawn-settings.c
index 4fb0054698..4fb0054698 100644
--- a/src/nspawn/nspawn-settings.c
+++ b/src/systemd-nspawn/nspawn-settings.c
diff --git a/src/nspawn/nspawn-settings.h b/src/systemd-nspawn/nspawn-settings.h
index a017405cd9..a017405cd9 100644
--- a/src/nspawn/nspawn-settings.h
+++ b/src/systemd-nspawn/nspawn-settings.h
diff --git a/src/nspawn/nspawn-setuid.c b/src/systemd-nspawn/nspawn-setuid.c
index ee15a47e93..ee15a47e93 100644
--- a/src/nspawn/nspawn-setuid.c
+++ b/src/systemd-nspawn/nspawn-setuid.c
diff --git a/src/nspawn/nspawn-setuid.h b/src/systemd-nspawn/nspawn-setuid.h
index b4968ba1fc..b4968ba1fc 100644
--- a/src/nspawn/nspawn-setuid.h
+++ b/src/systemd-nspawn/nspawn-setuid.h
diff --git a/src/nspawn/nspawn-stub-pid1.c b/src/systemd-nspawn/nspawn-stub-pid1.c
index 2de87e3c63..2de87e3c63 100644
--- a/src/nspawn/nspawn-stub-pid1.c
+++ b/src/systemd-nspawn/nspawn-stub-pid1.c
diff --git a/src/nspawn/nspawn-stub-pid1.h b/src/systemd-nspawn/nspawn-stub-pid1.h
index 36c1aaf5dd..36c1aaf5dd 100644
--- a/src/nspawn/nspawn-stub-pid1.h
+++ b/src/systemd-nspawn/nspawn-stub-pid1.h
diff --git a/src/nspawn/nspawn.c b/src/systemd-nspawn/nspawn.c
index ef348c335b..1de527b57b 100644
--- a/src/nspawn/nspawn.c
+++ b/src/systemd-nspawn/nspawn.c
@@ -41,8 +41,8 @@
#include <sys/types.h>
#include <unistd.h>
-#include "sd-daemon.h"
-#include "sd-id128.h"
+#include <systemd/sd-daemon.h>
+#include <systemd/sd-id128.h>
#include "alloc-util.h"
#include "barrier.h"
@@ -69,7 +69,6 @@
#include "missing.h"
#include "mkdir.h"
#include "mount-util.h"
-#include "netlink-util.h"
#include "nspawn-cgroup.h"
#include "nspawn-expose-ports.h"
#include "nspawn-mount.h"
diff --git a/src/path/Makefile b/src/systemd-path/Makefile
index 5e8dbb76a8..5e8dbb76a8 100644
--- a/src/path/Makefile
+++ b/src/systemd-path/Makefile
diff --git a/src/path/path.c b/src/systemd-path/path.c
index 61d877fcf8..61d877fcf8 100644
--- a/src/path/path.c
+++ b/src/systemd-path/path.c
diff --git a/src/quotacheck/Makefile b/src/systemd-quotacheck/Makefile
index fb41e4d715..fb41e4d715 100644
--- a/src/quotacheck/Makefile
+++ b/src/systemd-quotacheck/Makefile
diff --git a/src/quotacheck/quotacheck.c b/src/systemd-quotacheck/quotacheck.c
index 6d8c05f046..6d8c05f046 100644
--- a/src/quotacheck/quotacheck.c
+++ b/src/systemd-quotacheck/quotacheck.c
diff --git a/src/random-seed/Makefile b/src/systemd-random-seed/Makefile
index 14f2476646..14f2476646 100644
--- a/src/random-seed/Makefile
+++ b/src/systemd-random-seed/Makefile
diff --git a/src/random-seed/random-seed.c b/src/systemd-random-seed/random-seed.c
index 6748bb9dd3..6748bb9dd3 100644
--- a/src/random-seed/random-seed.c
+++ b/src/systemd-random-seed/random-seed.c
diff --git a/src/remount-fs/Makefile b/src/systemd-remount-fs/Makefile
index 6878b4703f..6878b4703f 100644
--- a/src/remount-fs/Makefile
+++ b/src/systemd-remount-fs/Makefile
diff --git a/src/remount-fs/remount-fs.c b/src/systemd-remount-fs/remount-fs.c
index 6468d1eecd..6468d1eecd 100644
--- a/src/remount-fs/remount-fs.c
+++ b/src/systemd-remount-fs/remount-fs.c
diff --git a/src/reply-password/Makefile b/src/systemd-reply-password/Makefile
index 1ff173bce2..1ff173bce2 100644
--- a/src/reply-password/Makefile
+++ b/src/systemd-reply-password/Makefile
diff --git a/src/reply-password/reply-password.c b/src/systemd-reply-password/reply-password.c
index e291758969..e291758969 100644
--- a/src/reply-password/reply-password.c
+++ b/src/systemd-reply-password/reply-password.c
diff --git a/src/rfkill/Makefile b/src/systemd-rfkill/Makefile
index 6602ba42c3..6602ba42c3 100644
--- a/src/rfkill/Makefile
+++ b/src/systemd-rfkill/Makefile
diff --git a/src/rfkill/rfkill.c b/src/systemd-rfkill/rfkill.c
index 0acdf229ed..0acdf229ed 100644
--- a/src/rfkill/rfkill.c
+++ b/src/systemd-rfkill/rfkill.c
diff --git a/src/run/Makefile b/src/systemd-run/Makefile
index 8b1bed6f6f..8b1bed6f6f 100644
--- a/src/run/Makefile
+++ b/src/systemd-run/Makefile
diff --git a/src/run/run.c b/src/systemd-run/run.c
index e7f4c21f73..e7f4c21f73 100644
--- a/src/run/run.c
+++ b/src/systemd-run/run.c
diff --git a/src/core/Makefile.mk b/src/systemd-shutdown/Makefile
index e8546085de..a73886db36 100644
--- a/src/core/Makefile.mk
+++ b/src/systemd-shutdown/Makefile
@@ -20,9 +20,15 @@
#
# You should have received a copy of the GNU Lesser General Public License
# along with systemd; If not, see <http://www.gnu.org/licenses/>.
-dist_systemunit_DATA_busnames += \
- units/org.freedesktop.systemd1.busname
-BUSNAMES_TARGET_WANTS += \
- org.freedesktop.systemd1.busname
+systemd_shutdown_SOURCES = \
+ src/core/umount.c \
+ src/core/umount.h \
+ src/core/shutdown.c \
+ src/core/mount-setup.c \
+ src/core/mount-setup.h \
+ src/core/killall.h \
+ src/core/killall.c
+systemd_shutdown_LDADD = \
+ libshared.la
diff --git a/src/timedate/.gitignore b/src/systemd-timedate/.gitignore
index 48757f0968..48757f0968 100644
--- a/src/timedate/.gitignore
+++ b/src/systemd-timedate/.gitignore
diff --git a/src/timedate/Makefile b/src/systemd-timedate/Makefile
index b9f9b173f6..b9f9b173f6 100644
--- a/src/timedate/Makefile
+++ b/src/systemd-timedate/Makefile
diff --git a/src/timedate/org.freedesktop.timedate1.conf b/src/systemd-timedate/org.freedesktop.timedate1.conf
index 36557d5841..36557d5841 100644
--- a/src/timedate/org.freedesktop.timedate1.conf
+++ b/src/systemd-timedate/org.freedesktop.timedate1.conf
diff --git a/src/timedate/org.freedesktop.timedate1.policy.in b/src/systemd-timedate/org.freedesktop.timedate1.policy.in
index aa30b70831..aa30b70831 100644
--- a/src/timedate/org.freedesktop.timedate1.policy.in
+++ b/src/systemd-timedate/org.freedesktop.timedate1.policy.in
diff --git a/src/timedate/org.freedesktop.timedate1.service b/src/systemd-timedate/org.freedesktop.timedate1.service
index 875f4bec78..875f4bec78 100644
--- a/src/timedate/org.freedesktop.timedate1.service
+++ b/src/systemd-timedate/org.freedesktop.timedate1.service
diff --git a/src/timedate/timedatectl.c b/src/systemd-timedate/timedatectl.c
index 097963b41b..097963b41b 100644
--- a/src/timedate/timedatectl.c
+++ b/src/systemd-timedate/timedatectl.c
diff --git a/src/timedate/timedated.c b/src/systemd-timedate/timedated.c
index 2a10135fba..2a10135fba 100644
--- a/src/timedate/timedated.c
+++ b/src/systemd-timedate/timedated.c
diff --git a/src/timesync/.gitignore b/src/systemd-timesync/.gitignore
index 35f4d76f79..35f4d76f79 100644
--- a/src/timesync/.gitignore
+++ b/src/systemd-timesync/.gitignore
diff --git a/src/timesync/Makefile b/src/systemd-timesync/Makefile
index da69b9173d..da69b9173d 100644
--- a/src/timesync/Makefile
+++ b/src/systemd-timesync/Makefile
diff --git a/src/timesync/timesyncd-conf.c b/src/systemd-timesync/timesyncd-conf.c
index 20c64a3354..20c64a3354 100644
--- a/src/timesync/timesyncd-conf.c
+++ b/src/systemd-timesync/timesyncd-conf.c
diff --git a/src/timesync/timesyncd-conf.h b/src/systemd-timesync/timesyncd-conf.h
index cba0724b1b..cba0724b1b 100644
--- a/src/timesync/timesyncd-conf.h
+++ b/src/systemd-timesync/timesyncd-conf.h
diff --git a/src/timesync/timesyncd-gperf.gperf b/src/systemd-timesync/timesyncd-gperf.gperf
index 29a2cfeef6..29a2cfeef6 100644
--- a/src/timesync/timesyncd-gperf.gperf
+++ b/src/systemd-timesync/timesyncd-gperf.gperf
diff --git a/src/timesync/timesyncd-manager.c b/src/systemd-timesync/timesyncd-manager.c
index d5e16db3a0..d5e16db3a0 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/systemd-timesync/timesyncd-manager.c
diff --git a/src/timesync/timesyncd-manager.h b/src/systemd-timesync/timesyncd-manager.h
index efe3e60d3e..efe3e60d3e 100644
--- a/src/timesync/timesyncd-manager.h
+++ b/src/systemd-timesync/timesyncd-manager.h
diff --git a/src/timesync/timesyncd-server.c b/src/systemd-timesync/timesyncd-server.c
index 6bda86fe6e..6bda86fe6e 100644
--- a/src/timesync/timesyncd-server.c
+++ b/src/systemd-timesync/timesyncd-server.c
diff --git a/src/timesync/timesyncd-server.h b/src/systemd-timesync/timesyncd-server.h
index 8a19e41d67..8a19e41d67 100644
--- a/src/timesync/timesyncd-server.h
+++ b/src/systemd-timesync/timesyncd-server.h
diff --git a/src/timesync/timesyncd.c b/src/systemd-timesync/timesyncd.c
index 23e19159e0..23e19159e0 100644
--- a/src/timesync/timesyncd.c
+++ b/src/systemd-timesync/timesyncd.c
diff --git a/src/timesync/timesyncd.conf.in b/src/systemd-timesync/timesyncd.conf.in
index b6a2ada273..b6a2ada273 100644
--- a/src/timesync/timesyncd.conf.in
+++ b/src/systemd-timesync/timesyncd.conf.in
diff --git a/src/tmpfiles/Makefile b/src/systemd-tmpfiles/Makefile
index ddc7746125..ddc7746125 100644
--- a/src/tmpfiles/Makefile
+++ b/src/systemd-tmpfiles/Makefile
diff --git a/src/tmpfiles/tmpfiles.c b/src/systemd-tmpfiles/tmpfiles.c
index 7b105a6bd4..7b105a6bd4 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/systemd-tmpfiles/tmpfiles.c
diff --git a/src/tty-ask-password-agent/Makefile b/src/systemd-tty-ask-password-agent/Makefile
index f70a195b44..f70a195b44 100644
--- a/src/tty-ask-password-agent/Makefile
+++ b/src/systemd-tty-ask-password-agent/Makefile
diff --git a/src/tty-ask-password-agent/tty-ask-password-agent.c b/src/systemd-tty-ask-password-agent/tty-ask-password-agent.c
index 7b67831e54..7b67831e54 100644
--- a/src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/src/systemd-tty-ask-password-agent/tty-ask-password-agent.c
diff --git a/src/update-done/Makefile b/src/systemd-update-done/Makefile
index e1c4905bc3..e1c4905bc3 100644
--- a/src/update-done/Makefile
+++ b/src/systemd-update-done/Makefile
diff --git a/src/update-done/update-done.c b/src/systemd-update-done/update-done.c
index 931e583785..931e583785 100644
--- a/src/update-done/update-done.c
+++ b/src/systemd-update-done/update-done.c
diff --git a/src/update-utmp/Makefile b/src/systemd-update-utmp/Makefile
index 5f96d09c9c..5f96d09c9c 100644
--- a/src/update-utmp/Makefile
+++ b/src/systemd-update-utmp/Makefile
diff --git a/src/update-utmp/update-utmp.c b/src/systemd-update-utmp/update-utmp.c
index 8ae4a8a833..8ae4a8a833 100644
--- a/src/update-utmp/update-utmp.c
+++ b/src/systemd-update-utmp/update-utmp.c
diff --git a/src/user-sessions/user-sessions.c b/src/systemd-user-sessions/user-sessions.c
index 8bf44e2100..8bf44e2100 100644
--- a/src/user-sessions/user-sessions.c
+++ b/src/systemd-user-sessions/user-sessions.c
diff --git a/src/vconsole/.gitignore b/src/systemd-vconsole/.gitignore
index 82741b2fb3..82741b2fb3 100644
--- a/src/vconsole/.gitignore
+++ b/src/systemd-vconsole/.gitignore
diff --git a/src/vconsole/90-vconsole.rules.in b/src/systemd-vconsole/90-vconsole.rules.in
index 35b9ad5151..35b9ad5151 100644
--- a/src/vconsole/90-vconsole.rules.in
+++ b/src/systemd-vconsole/90-vconsole.rules.in
diff --git a/src/vconsole/Makefile b/src/systemd-vconsole/Makefile
index 0ba8c308c5..0ba8c308c5 100644
--- a/src/vconsole/Makefile
+++ b/src/systemd-vconsole/Makefile
diff --git a/src/vconsole/vconsole-setup.c b/src/systemd-vconsole/vconsole-setup.c
index 8a1b824e65..8a1b824e65 100644
--- a/src/vconsole/vconsole-setup.c
+++ b/src/systemd-vconsole/vconsole-setup.c
diff --git a/src/systemd/Makefile b/src/systemd/Makefile
new file mode 100644
index 0000000000..e873ba3f94
--- /dev/null
+++ b/src/systemd/Makefile
@@ -0,0 +1,63 @@
+# -*- Mode: makefile; indent-tabs-mode: t -*-
+#
+# This file is part of systemd.
+#
+# Copyright 2010-2012 Lennart Poettering
+# Copyright 2010-2012 Kay Sievers
+# Copyright 2013 Zbigniew Jędrzejewski-Szmek
+# Copyright 2013 David Strauss
+# Copyright 2016 Luke Shumaker
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# systemd is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
+
+systemd_SOURCES = \
+ src/core/main.c
+
+systemd_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(SECCOMP_CFLAGS) \
+ $(MOUNT_CFLAGS)
+
+systemd_LDADD = \
+ libcore.la
+
+dist_pkgsysconf_DATA += \
+ src/core/system.conf \
+ src/core/user.conf
+
+dist_dbuspolicy_DATA += \
+ src/core/org.freedesktop.systemd1.conf
+
+dist_dbussystemservice_DATA += \
+ src/core/org.freedesktop.systemd1.service
+
+polkitpolicy_in_in_files += \
+ src/core/org.freedesktop.systemd1.policy.in.in
+
+pkgconfigdata_DATA += \
+ src/core/systemd.pc
+
+nodist_rpmmacros_DATA = \
+ src/core/macros.systemd
+
+EXTRA_DIST += \
+ src/core/systemd.pc.in \
+ src/core/macros.systemd.in \
+ src/core/triggers.systemd.in
+
+dist_systemunit_DATA_busnames += \
+ units/org.freedesktop.systemd1.busname
+
+BUSNAMES_TARGET_WANTS += \
+ org.freedesktop.systemd1.busname
diff --git a/src/core/macros.systemd.in b/src/systemd/macros.systemd.in
index 2cace3d3ba..2cace3d3ba 100644
--- a/src/core/macros.systemd.in
+++ b/src/systemd/macros.systemd.in
diff --git a/src/core/main.c b/src/systemd/main.c
index 5346392d73..5346392d73 100644
--- a/src/core/main.c
+++ b/src/systemd/main.c
diff --git a/src/core/org.freedesktop.systemd1.conf b/src/systemd/org.freedesktop.systemd1.conf
index 6a7a37ee92..6a7a37ee92 100644
--- a/src/core/org.freedesktop.systemd1.conf
+++ b/src/systemd/org.freedesktop.systemd1.conf
diff --git a/src/core/org.freedesktop.systemd1.policy.in.in b/src/systemd/org.freedesktop.systemd1.policy.in.in
index cc39a9e1c3..cc39a9e1c3 100644
--- a/src/core/org.freedesktop.systemd1.policy.in.in
+++ b/src/systemd/org.freedesktop.systemd1.policy.in.in
diff --git a/src/core/org.freedesktop.systemd1.service b/src/systemd/org.freedesktop.systemd1.service
index d4df3e93a2..d4df3e93a2 100644
--- a/src/core/org.freedesktop.systemd1.service
+++ b/src/systemd/org.freedesktop.systemd1.service
diff --git a/src/core/system.conf b/src/systemd/system.conf
index e2ded27333..e2ded27333 100644
--- a/src/core/system.conf
+++ b/src/systemd/system.conf
diff --git a/src/core/systemd.pc.in b/src/systemd/systemd.pc.in
index ac52b30dd3..ac52b30dd3 100644
--- a/src/core/systemd.pc.in
+++ b/src/systemd/systemd.pc.in
diff --git a/src/core/triggers.systemd.in b/src/systemd/triggers.systemd.in
index 9e18a39a67..9e18a39a67 100644
--- a/src/core/triggers.systemd.in
+++ b/src/systemd/triggers.systemd.in
diff --git a/src/core/user.conf b/src/systemd/user.conf
index 87c8164378..87c8164378 100644
--- a/src/core/user.conf
+++ b/src/systemd/user.conf