[Nix-dev] cleanStart and cron

Michael Raskin 7c6f434c at mail.ru
Sat Nov 22 07:53:50 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marc Weber wrote:
>         There are some times when you want really small system for specific 
>         purpose and do not want default package list. Setting 
>         <varname>cleanStart</varname> to <literal>true</literal> allows you 
>         to create a system with empty path - only extraPackages will be 
>         included.
> 
> What does "small" system mean here?
> cron is only added to path if cleanStart is not set. But it will be
> build anyway because fcron has to run. So I don't see how this can
> result in a *smaller* system ?

My original intent was very simple: you can turn off all upstart jobs
one-by-one. You cannot remove some packages (that you may not need),
like wirelesstools. I needed it for some of my configurable ISO images.
So I added an option to turn them off, too. As a side effect, you get
less unneeded commands in PATH. I do not think that  usage of cleanStart
in cron job is consistent with help text, but help text was written
before the cron job (and cron job was not written by me).

> So maybe the first sencence should be changed to:
> 
>         If you only want extraPackages to be added to system path and no
>         packages from jobs etc set this option?

That would mask original functionality..

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJJ6x9AAoJEE6tnN0aWvw3tHcH/0KJCyKc7pyf+l78dr/ta7F1
L8261aVBuFhD8SUc91wmgpc5roJowEuBU1n5F1tVYKKAWaSvqtHcHnW5HQu5DK62
wgCkb766wMk4VVaNnIPw7BmOIG0eMb4Ze3fbmSz7pjfDqI0A492XfPDmF6tHtnrE
VazaHaJd283ooRCMf2yT5hR4cTUUtq50VU5pmUu5Vn2203zgxarpSGkTUOrqzhsP
10ezMWyc3wXbDqUy/8ruP+h80p5NwP0qWSO+d0ZD8rY6HYYfaj/7y7ZDONa6N9LT
bZq0fXb51yaZEmRQEGLY+GWkjhIsJtuRLqtQQnyM3cWX1JRg0oq2WGbph/WIpLE=
=H3vH
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list