Date: Mon, 25 Nov 2013 09:13:13 -0600 From: Mark Felder <feld@FreeBSD.org> To: sbruno@freebsd.org Cc: freebsd-pkg@freebsd.org Subject: Re: i386/amd64 coexistence Message-ID: <255FFBC1-421D-4A2C-8838-D64D38293F54@FreeBSD.org> In-Reply-To: <1385326078.47935.24.camel@powernoodle.corp.yahoo.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Nov 24, 2013, at 14:47, Sean Bruno <sean_bruno@yahoo.com> wrote:
> I'm trying to understand two things simultaneously.
>
> 1. How to build a useable emulators/wine with poudriere.
> I *think* I have to build this in an i386 jail for this and it does
> build there. I keep being pointed at i386-wine though, so I'm very
> confused as to what am I supposed to use here.
>
What we currently have in ports (i386-wine) is a precompiled package for amd64. Building it requires a 32bit chroot or jail and then packaging up not only wine but all of its 32bit dependencies. It is very tedious and the guy who is doing it has it down to a science. We can’t really build this in poudriere as the resulting package will be 32bit and you won’t be able to install it on amd64 because pkg will notice the arch difference.
> 2. How to maintain and use an i386 & amd64 repo locally on my machine.
> If I need to use a i386 pkg repo locally, how do I innstall from it if
> my machine is amd64? I'm super happy with poudriere thus far and am
> looking to figure out how to install from a second repo if I want to.
> Currently, my pkg.conf defines:
>
> PACKAGESITE :
> file:///usr/local/poudriere/data/packages/11amd64-default
You can use multiple repos, but I don’t think you will be able to use a different architecture.
If you want to use multiple repos, however, you should also move to the new pkg configuration format:
/usr/local/etc/pkg/repos/*.conf
You can put all of your repos into their own config files. Format looks like this:
FreeBSD: {
url: "http://pkg.FreeBSD.org/${ABI}/latest”,
mirror_type: "srv”,
enabled: yes
}
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQEcBAEBCgAGBQJSk2kJAAoJEJg7ZFAfE+JSf8oH/2C4aKthoSkBRwIXXI98+K7+
Yqr653MV8a/E7aq278VAJeSYMGKWKite1YiOWxR9DtYD1x4i6gGkHUrrreLWrWYE
y0KayO0oZrFQuW8TXY6LC8BGFSlAqBtBDjOq6bF/bPVgaKJ5Ml8TlGRajTWfDCux
ev2OEUeZmXpyA5lAJtnVreD3iklKdH6Y2GyUxprZIjr2Wwg0Rhk969SKaQ2bPMYu
eSl3fCvlwjWPW/mFRnB9xobUViamZe1+2zCJkW1KnLuG3yzRlg3Dp43+YLD/KasS
72A7Ai+3jCaCWEpOCPc/khyiPVvqqUiJaix2WQEDmGcXKKssUxfHtisXL/2hkh8=
=To3K
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?255FFBC1-421D-4A2C-8838-D64D38293F54>
