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

Gary Mills gary_mills at fastmail.fm
Tue Aug 27 13:57:01 UTC 2019


On Tue, Aug 27, 2019 at 08:56:54AM +0200, Volker A. Brandt wrote:
> 
> Have you looked at the XML files in the /usr/share/distro_const tree?
> Maybe it is enough just to replace the current publisher and origin
> with the values of your new repository?

Yes, that apparently works.

> Not sure if I understand this... you have installed lots of oi-userland
> packages but your publisher is still v9os?  Surely you *also* have 
> oi-userland as a publisher.  Just delete all references to v9os.

This is my publisher on the host system now:

    <root at t2000># pkg publisher
    PUBLISHER                   TYPE     STATUS P LOCATION
    oi-userland                 origin   online F file:///export/home/mills/Downloads/code/oi-userland/sparc/repo/
    v9os           (non-sticky) origin   online F file:///data/ips/

Yes, I can delete the v9os publisher now, leaving only oi-userland .
It's still not the same as the publisher on the ISO, though.  I
understand that the two being different is quite normal.

> If all else fails you can manually edit the "master" file located in
> /var/pkg/pkg5.image, clean all the caches and do a "pkg refresh --full".
> That might kill your kitten^WT2000 though.  YMMV :-)

I understand that there are pkg commands that will make changes to the
file repositories with less risk to the kitten.  I do want to publish
the repository along with the ISO, just as done with v9os.  The two of
them have to work together.  That's why I enquired about changing the
publisher that's stated in the file repostory.


-- 
-Gary Mills-		-refurb-		-Winnipeg, Manitoba, Canada-




More information about the oi-dev mailing list