diff options
-rw-r--r-- | package/systemd/systemd.mk | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index 885e3f177..01ad64233 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -21,18 +21,13 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y) endif SYSTEMD_CONF_OPT += \ + --exec-prefix=/openslx \ --with-distro=other \ - --disable-selinux \ - --disable-pam \ - --disable-libcryptsetup \ - --disable-gtk \ - --disable-plymouth \ - --with-rootdir=/ \ + --enable-plymouth \ --with-dbuspolicydir=/etc/dbus-1/system.d \ --with-dbussessionservicedir=/usr/share/dbus-1/services \ --with-dbussystemservicedir=/usr/share/dbus-1/system-services \ --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \ - --with-udevrulesdir=/etc/udev/rules.d \ --with-sysvinit-path=/etc/init.d/ \ --without-sysvrcd-path \ --enable-split-usr @@ -54,11 +49,11 @@ SYSTEMD_MAKE_OPT += LDFLAGS+=-ldl define SYSTEMD_INSTALL_INIT_HOOK ln -fs ../usr/lib/systemd/systemd $(TARGET_DIR)/sbin/init - ln -fs ../usr/bin/systemctl $(TARGET_DIR)/sbin/halt - ln -fs ../usr/bin/systemctl $(TARGET_DIR)/sbin/poweroff - ln -fs ../usr/bin/systemctl $(TARGET_DIR)/sbin/reboot + ln -fs ../usr/bin/systemctl $(TARGET_DIR)/openslx/sbin/halt + ln -fs ../usr/bin/systemctl $(TARGET_DIR)/openslx/sbin/poweroff + ln -fs ../usr/bin/systemctl $(TARGET_DIR)/openslx/sbin/reboot - ln -fs ../../../usr/lib/systemd/system/multi-user.target $(TARGET_DIR)/etc/systemd/system/default.target + ln -fs ../../../usr/lib/systemd/system/getty.target $(TARGET_DIR)/etc/systemd/system/default.target endef define SYSTEMD_INSTALL_TTY_HOOK |