add .xsession profile to get fluxbox being started automatically
by XDM.
[Peter: Only install if not available in skeleton, use install -D,
Make it an executable script and don't hide it]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))
--- /dev/null
+#!/bin/sh
+exec startfluxbox