From: Robert Mustacchi [[email protected]]
Sent: Sunday, February 5, 2017 19:51
To: [email protected]
Subject: Re: [smartos-discuss] pkgadd(1M)

> The list of files included in the build from illumos is based on the
> 'manifest' file in the root of the illumos-joyent repository. Adding to
> them will allow you to proceed.

And indeed, it has.

In the time since my query  and  your  reply,  I  did  some  more
reverse   engineering:  what  clued  me  in  was  the  fact  that
pkgtrans(1) was still in the RAMDisk image; this in turn, through
a brute force hunt led to "illumos.manifest".

Once I realized that "illumos.manifest" itself is generated,  the
time     between     the    realization    and    hunting    down
"projects/illumos/manifest" was relatively short.

When `gmake live` complained of missing manual pages,  I  knew  I
was on the right track.

> I suspect that option 2 will provide you a better long-term experience
> and that you should fork them from illumos and do what you want to work
> in an arbitrary prefix.

I agree. However, since I have patched all instances of  /usr  in
src/cmd/svr4pkg    and    yet   pkgadd(1M)   still   insists   on
/usr/sbin/pkgadm, this leads me to hypothesise that /usr must  be
hard-coded  in  some library. As of right now and without knowing
more, it appears non-trivial to coerce SVR4 packaging to run  out
of /opt. I will truss(1) some more in search of further clues.

> Especially as you'll likely need to come  up  with  something  to
> handle  all  the  existing  packages  that  might  assume /usr is
> writable. This also gets you out of  having  to  build  a  custom
> release.

The existing packages will be of no concern in this context, as I
am  doing  this  in  order to be able to continue to use my huge,
private library of SVR4 packages, which installs into /opt.

With this reverse engineering and your  insight,  I  now  have  a
direct  path  from  Solaris  10 to an ultramodern cloud operating
environment, and this unlocks the door to even greater things.

Thank you kindly for your reply. It is appricated far  more  than
these words can express.

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to