Menu

#7 mksimmage (systeminstaller-1.04-1) failed

open
nobody
None
5
2014-08-16
2003-11-13
Anonymous
No

Hi

When mksiimage from systeminstaller-1.01-1 was used
like here under it's works fine

[root@tigertest bin]# mksiimage --Get --name essai
--path /var/lib/systemimager/images/essa
i --client 172.16.114.1 --verbose

When mksiimage from systeminstaller-1.04-1 is used
in the same case it's failed with an error.

[root@tigertest bin]# mksiimage --Get --name essai
--path /var/lib/systemimager/images/essa
i --client 172.16.114.1 --verbose

The error is:
-------------
2003-10-13 10:18:37 [main :: Line 287] Parsing options.
--location conflicts with --Get
main::check_args called at /usr/bin/mksiimage
line 93
usage: mksiimage [ operation ] <options>

It's due to a new line added into /usr/bin/mksiimage
file

if (!$config->location)
{$config->location($config->pkgpath);} # Set the
-location default.

if ($config->Get) {
foreach my $opt ( qw(all location arch)
) {
if ($config->$opt) {
carp("--$opt conflicts
with --Get\n");
return 0;

All commande with mksiimage (tksis fetch) fail if
no location option is indicated.

Thierry

Discussion