From aaee4e3ac767dd200d1ac3d8022097ded4d407f4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 26 Mar 2011 19:16:32 +0100 Subject: [PATCH] systemd: Change default target to multi-user. --- pkgs/systemd/systemd.nm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/systemd/systemd.nm b/pkgs/systemd/systemd.nm index b0b3a0dfa..eac289f15 100644 --- a/pkgs/systemd/systemd.nm +++ b/pkgs/systemd/systemd.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = systemd PKG_VER = 20 -PKG_REL = 4 +PKG_REL = 5 PKG_MAINTAINER = Stefan Schantl PKG_GROUP = System/Base @@ -100,6 +100,9 @@ define STAGE_INSTALL_CMDS -mkdir -pv $(BUILDROOT)/lib/systemd/system/dbus.target.wants -mkdir -pv $(BUILDROOT)/lib/systemd/system/syslog.target.wants + # Set default target to multi-user + cd $(BUILDROOT)/lib/systemd/system && ln -svf multi-user.target default.target + # Replace absolute symlinks by relative ones. cd $(BUILDROOT)/usr/share/systemd/user/ && ln -svf ../../../../lib/systemd/system/bluetooth.target bluetooth.target cd $(BUILDROOT)/usr/share/systemd/user/ && ln -svf ../../../../lib/systemd/system/local-fs.target local-fs.target -- 2.39.5