summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-12 18:16:14 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-12 18:19:34 +0200
commit08e1fb68d78b4adf26cce8387fc428b9e370bcf4 (patch)
tree0a97c6b135e346fb7113481972b73f3d026744fd
parentdce818b390a857a11f7dd634684500675cf79833 (diff)
build-sys: move *-setup out of shared to avoid selinux being pulled in
-rw-r--r--Makefile.am33
-rw-r--r--src/core/loopback-setup.c (renamed from src/shared/loopback-setup.c)0
-rw-r--r--src/core/loopback-setup.h (renamed from src/shared/loopback-setup.h)0
-rw-r--r--src/core/machine-id-setup.c (renamed from src/shared/machine-id-setup.c)0
-rw-r--r--src/core/machine-id-setup.h (renamed from src/shared/machine-id-setup.h)0
-rw-r--r--src/core/mount-setup.c (renamed from src/shared/mount-setup.c)0
-rw-r--r--src/core/mount-setup.h (renamed from src/shared/mount-setup.h)0
7 files changed, 21 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am
index ec7507f171..ff156c00ee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -564,10 +564,6 @@ libsystemd_shared_la_SOURCES = \
src/shared/watchdog.h \
src/shared/spawn-ask-password-agent.c \
src/shared/spawn-ask-password-agent.h \
- src/shared/mount-setup.c \
- src/shared/mount-setup.h \
- src/shared/loopback-setup.h \
- src/shared/loopback-setup.c \
src/shared/specifier.c \
src/shared/specifier.h \
src/shared/spawn-polkit-agent.c \
@@ -759,8 +755,12 @@ libsystemd_core_la_SOURCES = \
src/core/locale-setup.c \
src/core/hostname-setup.c \
src/core/hostname-setup.h \
- src/shared/machine-id-setup.c \
- src/shared/machine-id-setup.h \
+ src/core/machine-id-setup.c \
+ src/core/machine-id-setup.h \
+ src/core/mount-setup.c \
+ src/core/mount-setup.h \
+ src/core/loopback-setup.h \
+ src/core/loopback-setup.c \
src/core/fdset.c \
src/core/fdset.h \
src/core/condition.c \
@@ -901,7 +901,8 @@ test_loopback_SOURCES = \
src/test/test-loopback.c
test_loopback_LDADD = \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ libsystemd-core.la
test_hostname_SOURCES = \
src/test/test-hostname.c
@@ -997,7 +998,9 @@ pkginclude_HEADERS += \
systemd_shutdown_SOURCES = \
src/core/umount.c \
src/core/umount.h \
- src/core/shutdown.c
+ src/core/shutdown.c \
+ src/core/mount-setup.c \
+ src/core/mount-setup.h
systemd_shutdown_LDADD = \
libsystemd-label.la \
@@ -1027,8 +1030,8 @@ systemd_tmpfiles_LDADD = \
# ------------------------------------------------------------------------------
systemd_machine_id_setup_SOURCES = \
src/machine-id-setup/machine-id-setup-main.c \
- src/shared/machine-id-setup.c \
- src/shared/machine-id-setup.h
+ src/core/machine-id-setup.c \
+ src/core/machine-id-setup.h
systemd_machine_id_setup_LDADD = \
libsystemd-label.la \
@@ -1096,7 +1099,9 @@ systemd_rc_local_generator_LDADD = \
# ------------------------------------------------------------------------------
systemd_remount_api_vfs_SOURCES = \
- src/remount-api-vfs/remount-api-vfs.c
+ src/remount-api-vfs/remount-api-vfs.c \
+ src/core/mount-setup.c \
+ src/core/mount-setup.h
systemd_remount_api_vfs_LDADD = \
libsystemd-shared.la
@@ -1172,7 +1177,11 @@ systemd_cgtop_LDADD = \
# ------------------------------------------------------------------------------
systemd_nspawn_SOURCES = \
- src/nspawn/nspawn.c
+ src/nspawn/nspawn.c \
+ src/core/mount-setup.c \
+ src/core/mount-setup.h \
+ src/core/loopback-setup.c \
+ src/core/loopback-setup.h
systemd_nspawn_LDADD = \
libsystemd-label.la \
diff --git a/src/shared/loopback-setup.c b/src/core/loopback-setup.c
index 46c1fc843a..46c1fc843a 100644
--- a/src/shared/loopback-setup.c
+++ b/src/core/loopback-setup.c
diff --git a/src/shared/loopback-setup.h b/src/core/loopback-setup.h
index cbb969e1e4..cbb969e1e4 100644
--- a/src/shared/loopback-setup.h
+++ b/src/core/loopback-setup.h
diff --git a/src/shared/machine-id-setup.c b/src/core/machine-id-setup.c
index 9e84ac0cb9..9e84ac0cb9 100644
--- a/src/shared/machine-id-setup.c
+++ b/src/core/machine-id-setup.c
diff --git a/src/shared/machine-id-setup.h b/src/core/machine-id-setup.h
index 16f45d86d3..16f45d86d3 100644
--- a/src/shared/machine-id-setup.h
+++ b/src/core/machine-id-setup.h
diff --git a/src/shared/mount-setup.c b/src/core/mount-setup.c
index 52fe523674..52fe523674 100644
--- a/src/shared/mount-setup.c
+++ b/src/core/mount-setup.c
diff --git a/src/shared/mount-setup.h b/src/core/mount-setup.h
index 720b66f76c..720b66f76c 100644
--- a/src/shared/mount-setup.h
+++ b/src/core/mount-setup.h