commit:     226680c9b393702b043ff518bfa0f717fb00baac
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Tue May  6 19:28:55 2014 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Tue May  6 19:28:55 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=226680c9

tools-hardened/desktop/fluxbox-run.sh: Fixes fluxbox config file issue.

The Fluxbox menu can either be a standard default or a custom file. While
there is already a custom menu file in existance under files/usermenu, it
was not previously being copied over prior to the creation of the ISO. This
caused the user to not have a custom menu file upon boot. To fix this, a line
has been added to the script which creates the .fluxbox directory prior to
building the image.

---
 tools-hardened/desktop/fluxbox-run.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools-hardened/desktop/fluxbox-run.sh 
b/tools-hardened/desktop/fluxbox-run.sh
index 82a7669..c6c85ad 100755
--- a/tools-hardened/desktop/fluxbox-run.sh
+++ b/tools-hardened/desktop/fluxbox-run.sh
@@ -45,6 +45,7 @@ setup_usergroups() {
        chroot "${ROOTFS}"/ chown -R thuser:thuser /home/thuser
        sed -i 's/# \(%wheel.*NOPASSWD\)/\1/' "${ROOTFS}"/etc/sudoers
        sed -i 's/^\/usr\/*.*/\/usr\/bin\/fluxbox/' 
"${ROOTFS}"/etc/skel/.xinitrc
+       mkdir -p "${ROOTFS}"/home/thuser/.fluxbox
        cp -f files/usermenu "${ROOTFS}"/home/thuser/.fluxbox/my-menu
 }
 

Reply via email to