On 09/27/11 07:39, Vladimir Marek wrote:
Any idea if file can change between 'proto' area and the result in pkg
repository made by 'gmake publish'? Or is it 100% sure that gmake
publish does not make any change to the files, just copies them to the
repository?
The userland-mangler runs during the 'publish' phase of the build,
so yes files can change between 'install' in the proto area and
'publish' to a repo. The mangler leaves the proto area alone and
creates a tree containing the files it mangles. The mangled files
are preferred when pkgsend publish is run. Right now, the mangler
adjusts man pages adding an ATTRIBUTES section and NOTES for source
availability and strip the CDDL from files.
Ok, thank you. That means that if we want to make IDR from Userland, it
has to be made from files after 'gmake publish'.
Why wouldn't you just give the output package as the IDR?
Another possibility. The IDR can be just one file, while the whole
package can be big. This is my fallback if it proves to be difficult to
both create userland IDR from scratch and create the IDR by reducing
'gmake publish' result.
Plus I think that IDR package has special versioning (and probably other
little differences), so you can't use the 'gmake publish' result as
such.
Just a thought,
IDR's were originally for Solaris 10 and below... Though as I type I remember
their are IDR's for Solaris Express -
<https://rpe.us.oracle.com/bin/view/Procbible/Solaris11Express#IDRs>
I'm stepping away...
--
--Stacey
_______________________________________________
userland-discuss mailing list
userland-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/userland-discuss