mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
systemd: fix some coding style issues
[Thomas: adjust commit title, some additioanl coding style fixes.] Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
36b2d9ab0c
commit
b5c763c490
@ -72,16 +72,14 @@ SYSTEMD_CONF_OPTS += --disable-seccomp
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y)
|
ifeq ($(BR2_PACKAGE_SYSTEMD_ALL_EXTRAS),y)
|
||||||
SYSTEMD_DEPENDENCIES += \
|
SYSTEMD_DEPENDENCIES += xz libgcrypt
|
||||||
xz \
|
SYSTEMD_CONF_OPTS += \
|
||||||
libgcrypt
|
--enable-xz \
|
||||||
SYSTEMD_CONF_OPTS += \
|
|
||||||
--enable-xz \
|
|
||||||
--enable-gcrypt \
|
--enable-gcrypt \
|
||||||
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
||||||
else
|
else
|
||||||
SYSTEMD_CONF_OPTS += \
|
SYSTEMD_CONF_OPTS += \
|
||||||
--disable-xz \
|
--disable-xz \
|
||||||
--disable-gcrypt
|
--disable-gcrypt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -143,7 +141,8 @@ define SYSTEMD_INSTALL_INIT_HOOK
|
|||||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
|
||||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
|
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
|
||||||
|
|
||||||
ln -fs ../../../lib/systemd/system/multi-user.target $(TARGET_DIR)/etc/systemd/system/default.target
|
ln -fs ../../../lib/systemd/system/multi-user.target \
|
||||||
|
$(TARGET_DIR)/etc/systemd/system/default.target
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define SYSTEMD_INSTALL_MACHINEID_HOOK
|
define SYSTEMD_INSTALL_MACHINEID_HOOK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user