Void Linux discussion
 help / color / mirror / Atom feed
* Issues setting up void-packages on Beaglebone Black
@ 2015-08-15 17:15 Vorell
  2015-08-15 17:58 ` Christian Neukirchen
  2015-08-16  7:01 ` Juan RP
  0 siblings, 2 replies; 4+ messages in thread
From: Vorell @ 2015-08-15 17:15 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 1051 bytes --]

I have been looking for a better distro to install on my beaglebone black 
with a better supported build environment. I originally tried gentoo but 
just pulling in updates fried the sdcard.

Void seems to be just what I'm looking for. Flashing void went without a 
hitch, so I setup my user account, filesystems, and etc...
After installing some core binary utilities I decided to see how the source 
based package management went.

    $ git clone git://github.com/voidlinux/void-packages.git
    $ cd void-packages
    $ ./xbps-src binary-bootstrap

I then tried:

$ sudo ./xbps-src pkg aircrack-ng

The result originally complained about the musl repos, since this isn't a musl build environment I just commented them out in repos-remote.conf

So then the result I am getting is:

$ [*] Updating `http://repo.voidlinux.eu/current/armv7l-repodata' ...
$ [*] Updating `http://repo.voidlinux.eu/current/nonfree/armv7l-repodata' ...
$ ERROR unshare (Invalid argument)

Any pointers or advice? Are there any logfiles I can check?

Thanks in advance.



[-- Attachment #1.2: Type: text/html, Size: 5509 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issues setting up void-packages on Beaglebone Black
  2015-08-15 17:15 Issues setting up void-packages on Beaglebone Black Vorell
@ 2015-08-15 17:58 ` Christian Neukirchen
  2015-08-15 20:35   ` Vorell
  2015-08-16  7:01 ` Juan RP
  1 sibling, 1 reply; 4+ messages in thread
From: Christian Neukirchen @ 2015-08-15 17:58 UTC (permalink / raw)
  To: Vorell; +Cc: voidlinux

Vorell <dark...@gmail.com> writes:

> So then the result I am getting is:
>
> $ [*] Updating `http://repo.voidlinux.eu/current/armv7l-repodata' ...
> $ [*] Updating `http://repo.voidlinux.eu/current/nonfree/armv7l-repodata' ...
> $ ERROR unshare (Invalid argument)
>
> Any pointers or advice? Are there any logfiles I can check?

Perhaps your kernel is too old for unshare?
Try putting XBPS_CHROOT_CMD=uchroot into etc/conf.

-- 
Christian Neukirchen  <chneuk...@gmail.com>  http://chneukirchen.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issues setting up void-packages on Beaglebone Black
  2015-08-15 17:58 ` Christian Neukirchen
@ 2015-08-15 20:35   ` Vorell
  0 siblings, 0 replies; 4+ messages in thread
From: Vorell @ 2015-08-15 20:35 UTC (permalink / raw)
  To: voidlinux; +Cc: dark...


[-- Attachment #1.1: Type: text/plain, Size: 782 bytes --]

That did it, compiling aircrack-ng now.

I pulled the 20150713 void-beaglebone image, not sure how it can be too 
dated already.

On Saturday, August 15, 2015 at 12:55:09 PM UTC-5, Christian Neukirchen 
wrote:
>
> Vorell <dar...@gmail.com <javascript:>> writes: 
>
> > So then the result I am getting is: 
> > 
> > $ [*] Updating `http://repo.voidlinux.eu/current/armv7l-repodata' ... 
> > $ [*] Updating `http://repo.voidlinux.eu/current/nonfree/armv7l-repodata' 
> ... 
> > $ ERROR unshare (Invalid argument) 
> > 
> > Any pointers or advice? Are there any logfiles I can check? 
>
> Perhaps your kernel is too old for unshare? 
> Try putting XBPS_CHROOT_CMD=uchroot into etc/conf. 
>
> -- 
> Christian Neukirchen  <chne...@gmail.com <javascript:>>  
> http://chneukirchen.org 
>

[-- Attachment #1.2: Type: text/html, Size: 3069 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Issues setting up void-packages on Beaglebone Black
  2015-08-15 17:15 Issues setting up void-packages on Beaglebone Black Vorell
  2015-08-15 17:58 ` Christian Neukirchen
@ 2015-08-16  7:01 ` Juan RP
  1 sibling, 0 replies; 4+ messages in thread
From: Juan RP @ 2015-08-16  7:01 UTC (permalink / raw)
  To: voidlinux


[-- Attachment #1.1: Type: text/plain, Size: 369 bytes --]


xbps-src by default uses xbps-uunshare(1) for chroot operations, that means 
that the linux kernel must support
user namespaces.

The beaglebone linux kernel in void is currently at 3.8.x, this branch does 
not support user namespaces.

As Christian Neukirchen said in this thread you'll have to switch to 
xbps-uchroot(1) instead in `void-packages/etc/conf`.

Cheers

[-- Attachment #1.2: Type: text/html, Size: 418 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-16  7:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-15 17:15 Issues setting up void-packages on Beaglebone Black Vorell
2015-08-15 17:58 ` Christian Neukirchen
2015-08-15 20:35   ` Vorell
2015-08-16  7:01 ` Juan RP

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).