Re: Change user details
Thomas Maass wrote (01 Nov 2010 22:16:15 GMT) :
> Must I create /etc/live/config.conf on the host system, or
> via chroot_local-includes in the live system?
Inside the Live system, but you'd better drop snippets into
config/chroot_local-includes/etc/live/config.d/ rather than shipping a
> The parameter "boot=live" is a bootappend parameter? The manual
> doesn't describe that clearly for me.
You normally don't have to worry about it as live-build automatically
adds it to the kernel command line.
> Can I add a /etc/group via chroot_local-includes to add my user to
> more groups?
This would be a ugly solution, unlikely to work, and anyway would end
up being unmaintainable.
Better drop a live-config boot-time hook into
config/chroot_local-includes/lib/live/config/ to achieve this. Your
custom hook must run after the default 002-user-setup one, so beware
how you call it.
Another implementation technique would be to add a patch to
config/chroot_local-patches/ that would enable EXTRA_GROUPS in the
Live system's /etc/adduser.conf.
OTOH, patches are probably welcome to add easy support for such
supplementary groups to live-build.
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
| So what?