John Allen <[EMAIL PROTECTED]> writes:
> On Tuesday 11 February 2003 15:38, Teletch�a St�phane wrote:
>> There is an error in the README.MakeCD in misc :
>> you can read
>>
>> You can limit the number of CD created:
>>
>> /usr/local/mirror/cooker/i586/misc/MakeCD -t /tmp/ -a -c 2
>> /usr/local/mirror/cooker/i586/
>>
>>
>> Although -c is for catto.
>> BTW, what is the option to limit the number of CDS if it is not -c, and
>> would it be possible to not include the contrib in the building (like
>> for -nosrc).
>>
mkcd use recursive argument list options, that is to say that mkcd -c is not
the same as mkcd -a -c, because, if you look at the help, mkcd -h gives:
[mandrake@ken bin]$ /c/cooker/misc/MakeCD
mkcd:
usage
mkcd <options>
mkcd Mandrake Linux Disc maker
options:
--addmd5 <iso file>
Add md5sum to iso header.
[...]
-a, --auto [options] <repository> <extra RPMS directory 1> <extra RPMS
directory 2> ... <extra RPMS directory n>
Automated mode, build discs from a repository.
-b, --builddir <build dir>
Where live iso image are created (default current dir).
-c, --catto <log file>
Log file.
-d, --depslist-creation
-c is to create a log file. If you check -a, -a can accept options,
which means that you can get extra help with mkcd -a -h
[mandrake@ken bin]$ /c/cooker/misc/MakeCD -a -h
ERROR auto: h not enough argument
usage
auto <repository> <extra RPMS directory 1> <extra RPMS directory 2> ...
<extra RPMS directory n>
Auto mode configuration
options:
--noisolinux
Do not use a isolinux boot
-c, --cd <number of discs>
Max number of discs
-h, --help <path> <to> <the> <function>
Display help, eg. auto -h option_X suboption_Y.
-s, --sources
Create SRPMS discs too
Here -c is used to limit Max number of discs.
> And while we're at it, how about an option to include extra dirs on the cd.
> eg. -extra path-to-extras
>
> They could be put into an extras, or bonus directory.
--auto is for basic ISO creation, whatever non standard you want to do is aimed
to be achieved with a configuration file.
--
Warly