Update buildroot & docker (#25)
* Update docker & buildroot * Fix * fix versions
This commit is contained in:
@@ -40,6 +40,8 @@ SYSTEMD_CONF_OPTS += \
|
||||
-Dldconfig=false \
|
||||
-Ddefault-dnssec=no \
|
||||
-Dtests=false \
|
||||
-Dsystem-uid-max=999 \
|
||||
-Dsystem-gid-max=999 \
|
||||
-Dtelinit-path=$(TARGET_DIR)/sbin/telinit \
|
||||
-Dkill-path=/usr/bin/kill \
|
||||
-Dkmod-path=/usr/bin/kmod \
|
||||
@@ -48,6 +50,17 @@ SYSTEMD_CONF_OPTS += \
|
||||
-Dmount-path=/usr/bin/mount \
|
||||
-Dumount-path=/usr/bin/umount
|
||||
|
||||
# disable unsupported features for non-glibc toolchains
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
|
||||
SYSTEMD_CONF_OPTS += \
|
||||
-Didn=true \
|
||||
-Dnss-systemd=true
|
||||
else
|
||||
SYSTEMD_CONF_OPTS += \
|
||||
-Didn=false \
|
||||
-Dnss-systemd=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
SYSTEMD_DEPENDENCIES += acl
|
||||
SYSTEMD_CONF_OPTS += -Dacl=true
|
||||
@@ -327,6 +340,7 @@ define SYSTEMD_INSTALL_INIT_HOOK
|
||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt
|
||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/poweroff
|
||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/reboot
|
||||
ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/shutdown
|
||||
ln -fs ../../../lib/systemd/system/multi-user.target \
|
||||
$(TARGET_DIR)/etc/systemd/system/default.target
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user