[Pkgutil-users] bldcat and CSW prefix
Status: Beta
Brought to you by:
bonivart
|
From: robert <rob...@gm...> - 2009-10-06 11:38:11
|
Hey there,
I'm currently revamping our Solaris 10 package build & deployment
infrastructure.
I'd like to use bldcat to build the catalog for our inhouse repository
of packages and later install them with pkgutil.
While pkgutil can be configured to work with non CSW prefixed packages,
bldcat needs changes in the perl code to get the dependencies on
packages with another prefix than CSW right:
--- CSWpkgutil/root/opt/csw/bin/bldcat 2009-06-15 15:49:42.000000000 +0200
+++ /opt/csw/bin/bldcat 2009-10-05 17:36:28.378334996 +0200
@@ -137,12 +137,12 @@
open (FILE,"<$tmpdir/$pkgname/install/depend");
while (<FILE>) {
chomp;
- if (/^P\s+CSW/) {
+# if (/^P\s+CSW/) {
($deptmp) = (/P\s+(\S+)/);
if ($deptmp ne $pkgname) { # skip if circular
$deps = ($deps) ? "$deps|$deptmp" : $deptmp;
}
- }
+# }
}
close FILE;
}
Is this limitation on purpose or something which might get implemented
some day?
Maybe it would make sense to consult the pkgutil config file and check
the noncsw=(true|false) parameter.
Thanks for your Feedback. Cheers
Robert
|