[OpenIndiana-discuss] How to add a new package to distibution construction?

Jim Klimov jimklimov at cos.ru
Tue Jan 26 04:49:15 UTC 2021


On January 26, 2021 12:22:21 AM UTC, Hung Nguyen Gia via openindiana-discuss <openindiana-discuss at openindiana.org> wrote:
>Thanks. BTW, do you know how to do this?
>
>https://openindiana.org/pipermail/openindiana-discuss/2021-January/023341.html
>
>The DIY guys seemed never did the same thing but just like to teach
>other what to do.
>
>On a booted live usb system of OI.
>
>The format command doesn't show the usb stick as disk.
>
>rmformat only does with formatting, but not partitioning:
>https://illumos.org/man/1/rmformat
>
>It seemed only fdisk left. I will try if fdisk works or not.
>
>I hate this kind of DIY answers very much.
>
>Better give me the details, which commands to use, which man pages to
>look at...
>
>I always give them very detailed information but they can only give
>these sh8t.
>
>
>
>
>---- On Mon, 25 Jan 2021 19:38:37 +0700 Aurélien Larcher
><aurelien.larcher at gmail.com> wrote ----
>
> > 
> > 
>> On Mon, Jan 25, 2021 at 1:56 AM Hung Nguyen Gia via
>openindiana-discuss <openindiana-discuss at openindiana.org> wrote:
> > So no one know how to do it?
> > 
>> You should add the package FMRI in the distribution constructor
>manifest like I should in the thread about nano.
> > Add it to one of the manifests included in slim_cd.
>> However sunpro is not available anymore from our repo for legal
>reasons, it was obsoleted some weeks ago.
> > 
>> Also I just remembered that you ask why we do not have cc,c++,cxx
>etc.. in /usr/bin... I forgot to reply...
>> A lot of software assumes that if /usr/bin/cc is found then it is
>Sunstudio and sets it as default without checking that it is actually
>another compiler e.g. GCC.
>> We had to refrain from providing the symlinks in /usr/bin to work
>around such ill-defined behaviour...
> > 
> > 
> > 
> > 
> > 
>> ---- On Sun, 24 Jan 2021 23:11:17 +0700 Hung Nguyen Gia via
>openindiana-discuss <openindiana-discuss at openindiana.org> wrote ----
> >  
> >   > e.g: I wanted to add the sunpro package into slim_cd_x86.xml 
> >   >  
> >   > How could I do it? 
> >   >  
>>   > I found this xml doesn't contain any list of packages to be used
>at all. 
> >   >  
> >   > Please help. Thanks. 
> >   >  
> >   > _______________________________________________ 
> >   > openindiana-discuss mailing list 
> >   > openindiana-discuss at openindiana.org 
> >   > https://openindiana.org/mailman/listinfo/openindiana-discuss 
> >   > 
> >  
> >  _______________________________________________
> >  openindiana-discuss mailing list
> >  openindiana-discuss at openindiana.org
> >  https://openindiana.org/mailman/listinfo/openindiana-discuss
> > 
> > 
> > -- 
> > ---
> > Praise the Caffeine embeddings
> > 
>
>_______________________________________________
>openindiana-discuss mailing list
>openindiana-discuss at openindiana.org
>https://openindiana.org/mailman/listinfo/openindiana-discuss

Regarding the device partitioning, try `format -e` for the removable device.

* "...and they gave me a black screen with a blinking rectangle. Whatever I typed was in vain, until "man this sucks", omg, page not found, we're on to something!"

The format, rmformat, fdisk, prtvtoc, ... come from Solaris and haven't visibly changed in decade(s?) which is actually good when you're making systems that last longer than people running them. New UI's - new tools, sadly.

The live media may also include `parted` or `gparted`.

Note that liveusb is essentially a more convenient livedvd, so very not sure this environment's expectations of the disk layout and OS automounts and so on would make R/W partitions on same device easy to make and use.

Finally remember that people chat and help here on their free time. There are lots of books on Solaris, and Oracle docs, which vastly apply to illumos. Your behavior often seems like you want to be spoonfed while the ocean of RTFM is at arm's length, and along with having been perceived as annoying, few are eager to waste time unproductively (especially those with a history of professional services - literally making their living for years off those who don't bother to do their homework). I don't want to say you don't make an effort - you do - but see how many more suggestions Chris gets, for example, with just a different attitude albeit with similar sort of questions about curious issues people currently online haven't stepped into either.

Hope this helps,
Jim

--
Typos courtesy of K-9 Mail on my Android



More information about the openindiana-discuss mailing list