Understanding issues - Re: Bug#599879: live-helper: Live Builder does not create the user account
it looks like you don't understand some issues how live builder works
On 12.10.2010 12:56, Jose R R wrote:
it does not matter how you name the user, the user is still created at
runtime when you boot the image, not when you build it.
Assuming an user that I *especified* as: "name-of_user", below is how
I find it *and* I expect (if I understand the instructions
appropriately) to be created in the final image. This is how I would
check for its existence in the config/* resources:
$ find debian_live/config/ -type f | xargs grep -i name-of_user
debian_live/config/binary:# (Default: name-of_user)
Accordingly, if the "name-of_user" is not created in the final image,
as it happened in my initial attempts, then something is wrong -with
Debian Live scripts, the repositories, who-knows, etc.; but something
is wrong. I replied to Juan how the problem was resolved from my
perspective -in practical terms not in pedantic or theoretical ones.
If you user recursive grep in you build dir/ you will find as follows
(example with "ironm" as username):
root@t60p:/home/ironm/live/dls5-i386-sid# grep -R ironm ./*
./binary/isolinux/live.cfg: append initrd=/live/initrd1.img boot=live config locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de username=ironm quiet
./binary/isolinux/live.cfg: append initrd=/live/initrd1.img boot=live config locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de username=ironm noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
The option "username=ironm" in live.cfg will cause creating of the live user during the boot proccess.
If you want to have more users (with existing home dirs/ on the live image and maybe some content inside them) you could use local hooks (with adduser inside) to place them on the live image. To include files onto live image you can use local_includes. For example: I do it on my live images to include .icedove config and some other stuff.
... then probably this is the wrong place to ask and resolve issues
since criticism of existing issues -for whatever reason- is highly
questioned. I should consider the SuSE Studio appliance builder, then?
please feel encourage to find the right tool for what you like to do. it
might very well not be debian-live, or it might, i don't know.
Thank you, I am beginning to consider alternatives.
I don't think you "will be happy" with closed source "suse studio".
I have been told that "grml" has a kind of good working live image
builder however I didn't test it myself and don't know his limitations.
+++ Free infrastructure software for all. +++