Commit b87f2942 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Peter Korsgaard
Browse files

fluxbox: add xsession profile



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: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a15d47f0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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))
+2 −0
Original line number Diff line number Diff line
#!/bin/sh
exec startfluxbox