mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 12:00:48 -09:00
dbus: ensure startup script is well installed
If /etc/init.d does not exist, we need to be sure that the dbus startup script is installed at the right place. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
3b8d36c351
commit
732cb780ee
@@ -60,7 +60,7 @@ endif
|
||||
define DBUS_INSTALL_TARGET_FIXUP
|
||||
rm -rf $(TARGET_DIR)/var/lib/dbus
|
||||
ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus
|
||||
$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
|
||||
$(INSTALL) -m 0755 -D package/dbus/S30dbus $(TARGET_DIR)/etc/init.d/S30dbus
|
||||
endef
|
||||
|
||||
DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_INSTALL_TARGET_FIXUP
|
||||
|
||||
Reference in New Issue
Block a user