diff options
Diffstat (limited to 'package/fluxbox/fluxbox.mk')
-rw-r--r-- | package/fluxbox/fluxbox.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk index 85a8eae41..5a123f0e9 100644 --- a/package/fluxbox/fluxbox.mk +++ b/package/fluxbox/fluxbox.mk @@ -13,4 +13,11 @@ FLUXBOX_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \ FLUXBOX_DEPENDENCIES = xlib_libX11 $(if $(BR2_PACKAGE_LIBICONV),libiconv) +define FLUXBOX_INSTALL_XSESSION_FILE + [ -f $(TARGET_DIR)/root/.xsession ] || $(INSTALL) -m 0755 -D \ + package/fluxbox/xsession $(TARGET_DIR)/root/.xsession +endef + +FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE + $(eval $(call AUTOTARGETS)) |