[Fedora-spins] I want to be able to remove liveuser from fedora-live-base.ks
Daniel J Walsh
dwalsh at redhat.com
Mon May 10 14:24:52 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 05/09/2010 03:44 PM, Mads Kiilerich wrote:
> Daniel J Walsh wrote, On 05/07/2010 02:22 PM:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> I am building to Fedora spins, Kiosk and MLS. I want to use the
>> fedora-desktop as the base for thise spins, but I want to manage the
>> users within my own kickstart file.
>> Basically this patch separates the liveuser creation into a separate
>> script /etc/init.d/livesys-adduser. It also changes livesys to execute
>> this script if it exists.
> Is that proper use of init.d? AFAIK that folder it is intended for sysv
> "main" scripts, not for helper scripts.
> But I assume that a proper long-term solution (as long as we are using
> sysv init) is to split the huge ks-generated shell script up in several
> normal init scripts. This is a step in that direction.
> However, we should probably use the canonical /etc/rc.d/init.d/ instead
> of the /etc/init.d/ symlink.
>> This allows me to remove the livesys-adduser script in my kiosk.ks
>> (attached). And only have the xguest user account.
> It could be nice to have spins with this technology available for f13.
> Perhaps kiosk.ks for f13 could inline (the modified) fedora-live-base.ks
> instead of indirectly including it. That would reduce the risk of
> applying that patch in f13 fedora-kickstarts. Alternatively it could be
> placed in the xguest package, either in docs/ or in spin-kickstarts/.
Yes I could do this, but it prevents the kiosk.ks from taking advantage
of any fixes in the desktop/base livecd.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the spins