0

I want to remaster/customise the Ubuntu 14.04 live ISO. I did it manually (that means I do not want to use tools like uck or remastersys).

I used this tutorial (German) that works fine in general. The part with chroot I changed, of course, so that all runs without interaction in a script.

The CD boots fine after building the ISO in VirtualBox.

My question now is: I want to set some user-settings (e.g. .mozilla profile in home folder).

I think I should put this in /etc/skel. The script copies e.g. ".mozilla" to /etc/skel (confirmed), but ".mozilla" is not in live user's home folder (/home/ubuntu/).

It seems that what I copied to /etc/skel is completely ignored, but I do not know why. Could you help me?

0

Files in /etc/skel must be in place before first user login.

P.S.: I think what I find the problem - your script creates home directory for user:

sudo mkdir -p "${WORK}/new/home/xubuntu/"
sudo mkdir -p "${WORK}/new/home/xubuntu/Desktop/Anleitungen"

You need to use /etc/skel for this too.

  • Hi. As you see: pastebin.com/hZJuP6SA I copy the folder to /etc/skel before building the iso. It is there on the cd under /etc/skel but it is not copied to /home/ubuntu when live user starts.. – Pragomer Apr 27 '15 at 10:17
  • Please try this command instead: sudo rsync -av /daten/ubunturemaster/files/.mozilla ${WORK}/new/etc/skel/ Please ignore this. – imraro Apr 27 '15 at 10:35
  • Can you provide output from ls -l /etc/skel and ls -l ~/ ? – imraro Apr 27 '15 at 10:43
  • You mean providing the output from the booted live-cd? – Pragomer Apr 27 '15 at 10:59
  • First: pastebin.com/u3fw5MdA – Pragomer Apr 27 '15 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.