From 5ecba3429f3c5d75550137eb2c815ebb62dfdffb Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 20 Aug 2013 20:03:34 +0200 Subject: Switch to using /etc/tmpfiles.d for creating files/dirs in /run Also added a sanity check after processing each module, which will abort if anything is placed in /run directly --- remote/modules/kdm/data/etc/tmpfiles.d/kdm.conf | 2 ++ remote/modules/kdm/kdm.build | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 remote/modules/kdm/data/etc/tmpfiles.d/kdm.conf (limited to 'remote/modules/kdm') diff --git a/remote/modules/kdm/data/etc/tmpfiles.d/kdm.conf b/remote/modules/kdm/data/etc/tmpfiles.d/kdm.conf new file mode 100644 index 00000000..64f02ed3 --- /dev/null +++ b/remote/modules/kdm/data/etc/tmpfiles.d/kdm.conf @@ -0,0 +1,2 @@ +D /var/run/kdm 0755 root root + diff --git a/remote/modules/kdm/kdm.build b/remote/modules/kdm/kdm.build index b5d1be08..feac30cb 100644 --- a/remote/modules/kdm/kdm.build +++ b/remote/modules/kdm/kdm.build @@ -16,7 +16,6 @@ build () { post_copy() { #create static kdm folders in stage3.2 mkdir -p "${TARGET_BUILD_DIR}/var/lib/kdm" - mkdir -p "${TARGET_BUILD_DIR}/var/run/kdm" # link kdm config as opensuse wants in in another place ln -s "/etc/kde4" "$TARGET_BUILD_DIR/usr/share/kde4/config" -- cgit v1.2.3-55-g7522