[oi-dev] IPS package
Till Wegmüller
toasterson at gmail.com
Mon May 11 12:05:35 UTC 2020
My usual workflow diverges from your at the "pkg set-publisher" stage.
I do. 'pkg set-publisher --sticky --search-before openindiana.org -g
file://$ABSPATHTOREPO userland'
Where userland is the publisher and ABSPATHTOREPO is the absolute path
to the repository including the starting /.
Hope this helps
Greetings
Till
On 11.05.20 14:00, G B via oi-dev wrote:
> I attempted to create an IPS package of Racket, the programming
> language, and everything seemed to have worked correctly. But when I
> tried to install it from my local repository it fails.
>
> root at pluto:/# pkg install racket
>
> pkg install: The following pattern(s) only matched packages that are not
> available
> for the current image's architecture, zone type, and/or other variant:
> racket
>
> These are the steps I used:
>
> # pkgsend generate racket | pkgfmt > racket.p5m.1
> # cat racket_manifest
> set name=pkg.fmri value=racket at 7.7,5.11-0
> set name=pkg.description value="Racket programming language"
> set name=pkg.summary value="Racket is a general-purpose programming
> language as well as the world’s first ecosystem for language-oriented
> programming."
> set name=variant.arch value=$(ARCH)
>
> # pkgmogrify racket.p5m.1 racket_manifest | pkgfmt > racket.p5m.2
>
> # pkgdepend generate -md racket racket.p5m.2 | pkgfmt > racket.p5m.3
>
> # pkgdepend resolve -m racket.p5m.3
>
> # pkglint racket.p5m.3.re
>
> # pkgrepo create local-repository
>
> # pkgrepo -s local-repository set publisher/prefix=localpublisher
>
> # pkgsend -s local-repository publish -d racket racket.p5m.3.res
>
> # pkg set-publisher -p local-repository
>
> # pkg install racket
>
> Then I get the error shown above. This is on OpenIndiana 2020504. The working directory is racket and the tree is /racket/opt/racket-7.7
>
> Thanks.
>
>
>
>
>
>
>
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
More information about the oi-dev
mailing list