SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-08-15 14:00:48

jaxxstorm
Member
Registered: 2009-04-23
Posts: 15

Including Install Link on Live CD but not after install

Corenominal has managed to include the menu item to ubiquity in the live CD, but once the distro is installed it disappears from the menu.
The menu.xml in the /etc/skel doesn't include it, so I assume it has been added after

sudo remastersys dist cdfs

The only problem is, I can't figure out where it has been added! can anyone help?

Offline

Be excellent to each other!

#2 2009-08-15 14:12:23

corenominal
WRONG
From: Lincoln, UK
Registered: 2008-11-20
Posts: 5,081
Website

Re: Including Install Link on Live CD but not after install

The modifications for this were done within the casper package. See: /usr/share/initramfs-tools/scripts/casper-bottom/10adduser - lines 66 -71:

for file in /usr/share/CrunchBang/openbox/menu.xml; do
    if [ -f "/root/$file" ]; then
        chroot /root install -D -o $USERNAME -g $USERNAME $file /home/$USERNAME/.config/openbox/$(basename "$file")
        break
    fi
done

Basically, the LiveCD user uses a different menu.xml which is copied to the user's home directory during boot.

Hope this helps. smile


Ex-developer of #! CrunchBang. Follow me on Twitter smile

Offline

#3 2009-08-15 16:57:33

jaxxstorm
Member
Registered: 2009-04-23
Posts: 15

Re: Including Install Link on Live CD but not after install

Ah, very clever! I will make sure you're referenced because I plan to copy this script almost exactly - hopefully you won't mind smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo