summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kowis2011-12-20 21:27:54 -0600
committerDavid Kowis2011-12-20 21:27:54 -0600
commit058fff3d7a7d7af5626681800afd58fd7a448966 (patch)
tree7ed482e39661645ef8b61b7e980a736b2a8c7fed
parentd93025540a839084233f614999babc8e68465bb6 (diff)
udev: adding logic to handle systemd installation stuffs
-rwxr-xr-xdisk/udev/BUILD4
-rw-r--r--disk/udev/HISTORY3
2 files changed, 7 insertions, 0 deletions
diff --git a/disk/udev/BUILD b/disk/udev/BUILD
index 4f9277328e..4c30078b06 100755
--- a/disk/udev/BUILD
+++ b/disk/udev/BUILD
@@ -1,3 +1,7 @@
+if spell_ok systemd; then
+ # if systemd is installed then we need to tell udev to install it's stuff
+ OPTS="$OPTS --with-systemdsystemunitdir=${INSTALL_ROOT}/lib/systemd/system"
+fi &&
OPTS="--prefix=$INSTALL_ROOT/usr \
--sbindir=$INSTALL_ROOT/sbin \
--libexecdir=$INSTALL_ROOT/lib/udev \
diff --git a/disk/udev/HISTORY b/disk/udev/HISTORY
index 0f8307000b..ac1d38fd42 100644
--- a/disk/udev/HISTORY
+++ b/disk/udev/HISTORY
@@ -1,3 +1,6 @@
+2011-12-20 David Kowis <dkowis@shlrm.org>
+ * BUILD: included logic to handle when systemd is installed
+
2011-07-30 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 173