[oi-dev] How to create an ISO correctly?

Toomas Soome tsoome at me.com
Tue Aug 27 07:06:11 UTC 2019



> On 27 Aug 2019, at 00:46, Gary Mills <gary_mills at fastmail.fm> wrote:
> 
> Another progress report and some questions: I have now replaced all
> v9os packages with oi-userland packages.  There are no v9os packages
> left.  My T2000 has only oi-userland packages, ones that I have built.
> It boots correctly.  The publisher name is oi-userland, not the usual
> userland or openindiana.org .  That difference raises my first
> question.
> 
> I've read the information on distribution-constructor:
> 
>    http://docs.openindiana.org/dev/distribution-constructor/
> 
> as well as the man page for distro_const .  Neither of them answered
> my questions completely.
> 
> Will distro_const change the publisher in the ISO file, both for the
> packages and the `pkg publisher' command?  How do I do this?

Those are set in DC xml manifest file, see

pkg_repo_default_authority
post_install_repo_default_authority

> 
> If not, can the publisher be changed on the host system?  Does the
> publisher in `pkg publisher' have to match the one in the file
> repository?
> 
> I see that the XML file used by distro_const specifies `entire' as the
> package that includes all the packages to install to the ISO file.
> My system has no package `entire'.  How do I create and populate it?
> Will it include some packages that do not exist?  Will this be a
> problem?
> 
> Finally, how do I create a USB image from the CD image?
> 


it is generated from iso with help of /usr/share/distro_const/create_usb, which in turn is using /bin/usbgen, but at this time, it is all about x86. So the SPARC updates have to be implemented still. The code is in https://github.com/OpenIndiana/slim_source <https://github.com/OpenIndiana/slim_source>.

rgds,
toomas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20190827/5b68a9dc/attachment-0005.html>


More information about the oi-dev mailing list