aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-09-07 15:24:51 -0400
committerBill Nottingham <notting@redhat.com>2010-09-07 15:24:51 -0400
commitf39163514fc1b108c80df1b9b01b63d2d9eafe8d (patch)
tree051473a7f1fc9ff938b35f6df868bb6fe24cdd33 /Makefile
parent3f3a8ad5e4c5d3e3b32b2a8cb615ba878dfcb05e (diff)
downloadinitscripts-f39163514fc1b108c80df1b9b01b63d2d9eafe8d.tar
initscripts-f39163514fc1b108c80df1b9b01b63d2d9eafe8d.tar.gz
initscripts-f39163514fc1b108c80df1b9b01b63d2d9eafe8d.tar.bz2
initscripts-f39163514fc1b108c80df1b9b01b63d2d9eafe8d.tar.xz
initscripts-f39163514fc1b108c80df1b9b01b63d2d9eafe8d.zip
prefdm, rc-local, ctrl-alt-del are system defaults. Don't package them otherwise. (#630952)
Notably, they cannot be enabled/disabled. They can be overriden via /etc/systemd/system.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7168bc49..491dd31c 100644
--- a/Makefile
+++ b/Makefile
@@ -116,9 +116,12 @@ install:
ln -s halt $(ROOT)/etc/rc.d/init.d/reboot
- mkdir -p $(ROOT)/etc/systemd/system
- ln -s /lib/systemd/system/prefdm.service $(ROOT)/etc/systemd/system/display-manager.service
- ln -s /lib/systemd/system/reboot.target $(ROOT)/etc/systemd/system/ctrl-alt-del.target
+ mkdir -p -m 755 $(ROOT)/lib/systemd/system/multi-user.target.wants
+ mkdir -p -m 755 $(ROOT)/lib/systemd/system/graphical.target.wants
+ ln -s prefdm.service $(ROOT)/lib/systemd/system/display-manager.service
+ ln -s reboot.target $(ROOT)/lib/systemd/system/ctrl-alt-del.target
+ ln -s ../rc-local.service $(ROOT)/lib/systemd/system/multi-user.target.wants
+ ln -s ../display-manager.service $(ROOT)/lib/systemd/system/graphical.target.wants
# These are LSB compatibility symlinks. At some point in the future
# the actual files will be here instead of symlinks