* [ISSUE] xbps-src: install a generated xbps package
@ 2020-09-09 21:40 LennyPenny
2020-09-09 21:43 ` [ISSUE] [CLOSED] " LennyPenny
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: LennyPenny @ 2020-09-09 21:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
New issue by LennyPenny on void-packages repository
https://github.com/void-linux/void-packages/issues/24791
Description:
So I'm finishing up my first package template.
I successfully built it using the `./xbps-src pkg <pkg>` command.
Is there a way to install the generated `.xbps` file to make sure the package actually installs correctly and runs on my system?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ISSUE] [CLOSED] xbps-src: install a generated xbps package
2020-09-09 21:40 [ISSUE] xbps-src: install a generated xbps package LennyPenny
@ 2020-09-09 21:43 ` LennyPenny
2020-09-10 10:59 ` Duncaen
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: LennyPenny @ 2020-09-09 21:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
Closed issue by LennyPenny on void-packages repository
https://github.com/void-linux/void-packages/issues/24791
Description:
So I'm finishing up my first package template.
I successfully built it using the `./xbps-src pkg <pkg>` command.
Is there a way to install the generated `.xbps` file to make sure the package actually installs correctly and runs on my system?
I tried the `./xbps-src install` command but that does not seem to put the built binary into my `/usr/bin` directory. When I use the `-C` option and inspect the local `distdir` directory the binary however is in its `usr/bin` directory.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src: install a generated xbps package
2020-09-09 21:40 [ISSUE] xbps-src: install a generated xbps package LennyPenny
2020-09-09 21:43 ` [ISSUE] [CLOSED] " LennyPenny
@ 2020-09-10 10:59 ` Duncaen
2020-09-10 10:59 ` Duncaen
2020-09-10 11:00 ` Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2020-09-10 10:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/24791#issuecomment-690156219
Comment:
`./xbps-src install` runs the install target of the template, i.e. `make install` which puts files into `masterdir/destdir/$pkgname-$version` which is then used to create the binary package.
You can resulting packages using `xbps-install --repository=hostdir/binpkgs` or with `xi` from the `xtools` package, which is a wrapper around `xbps-install` and adds the relative binpkgs repositories on its own.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src: install a generated xbps package
2020-09-09 21:40 [ISSUE] xbps-src: install a generated xbps package LennyPenny
2020-09-09 21:43 ` [ISSUE] [CLOSED] " LennyPenny
2020-09-10 10:59 ` Duncaen
@ 2020-09-10 10:59 ` Duncaen
2020-09-10 11:00 ` Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2020-09-10 10:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/24791#issuecomment-690156219
Comment:
`./xbps-src install` runs the install target of the template, i.e. `make install` which puts files into `masterdir/destdir/$pkgname-$version` which is then used to create the binary package.
You can install resulting packages using `xbps-install --repository=hostdir/binpkgs` or with `xi` from the `xtools` package, which is a wrapper around `xbps-install` and adds the relative binpkgs repositories on its own.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: xbps-src: install a generated xbps package
2020-09-09 21:40 [ISSUE] xbps-src: install a generated xbps package LennyPenny
` (2 preceding siblings ...)
2020-09-10 10:59 ` Duncaen
@ 2020-09-10 11:00 ` Duncaen
3 siblings, 0 replies; 5+ messages in thread
From: Duncaen @ 2020-09-10 11:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/24791#issuecomment-690156219
Comment:
`./xbps-src install` runs the install target of the template, i.e. `make install` which puts files into `masterdir/destdir/$pkgname-$version` which is then used to create the binary package.
You can install resulting packages using `xbps-install --repository=hostdir/binpkgs` (or `hostdir/binpkgs/$branch` if you are not on the master branch) with `xi` from the `xtools` package, which is a wrapper around `xbps-install` and adds the relative binpkgs repositories on its own.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-09-10 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 21:40 [ISSUE] xbps-src: install a generated xbps package LennyPenny
2020-09-09 21:43 ` [ISSUE] [CLOSED] " LennyPenny
2020-09-10 10:59 ` Duncaen
2020-09-10 10:59 ` Duncaen
2020-09-10 11:00 ` Duncaen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).