Additional mods of ubuntu livecd

From wiki.network-crawler.de
Jump to: navigation, search

For prequisits see: https://help.ubuntu.com/community/LiveCDCustomization

For desktop modifications see:

vi ./edit/usr/share/initramfs-tools/scripts/casper-bottom/10adduser

I added:

CODESYSINST=codesys-installer.desktop

if [ -f /root/home/$USERNAME/$CODESYSINST ]; then
    chroot /root install -o $USERNAME -g $USERNAME -d /home/$USERNAME/Desktop/
    mv /root/home/$USERNAME/$CODESYSINST /root/home/$USERNAME/Desktop/
fi