* [ISSUE] [WIP] i686 chroot
@ 2022-01-11 8:27 Anachron
2022-01-11 18:00 ` Duncaen
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Anachron @ 2022-01-11 8:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
New issue by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/34988
Description:
I'm currently testing a `i686` repo on `r32` with the following.
`wine` needs an ugly wrapper so far:
```
#!/bin/sh
export WINEDLLPATH="/lib/wine/i386-unix"
sudo -E chroot /r32 "/usr/libexec/wine/wine" "${@}"
```
`/usr/libexec/wine/wine` needs to be symlinked to this script in order for `/bin/wine` (see https://github.com/void-linux/void-packages/blob/master/srcpkgs/wine/files/wine) to find it.
I've put `/usr/bin/chroot /r32` inside my `sudoers` file to not need to type any password for chroots on this path.
The tool `bottles` can now find and launch wine on `32bit`:
```
$ bottles
2022-01-11 09:13:38 INFO: Dxvk found: [dxvk-1.9.2]
2022-01-11 09:13:38 INFO: Vkd3d found: [vkd3d-proton-2.5]
2022-01-11 09:13:38 INFO: Nvapi found: [dxvk-nvapi-v0.5.1]
2022-01-11 09:13:38 INFO: Runners found: [sys-wine-7.0-rc5
|caffe-6.23]
2022-01-11 09:13:41 INFO: Bottles gestartet!
```
This is a WIP.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [WIP] i686 chroot
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
@ 2022-01-11 18:00 ` Duncaen
2022-01-12 5:53 ` Anachron
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2022-01-11 18:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/issues/34988#issuecomment-1010220711
Comment:
Why is this relevant?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [WIP] i686 chroot
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
2022-01-11 18:00 ` Duncaen
@ 2022-01-12 5:53 ` Anachron
2022-04-13 2:08 ` github-actions
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Anachron @ 2022-01-12 5:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/34988#issuecomment-1010662740
Comment:
Because Chocimir and sgn are talking about removing multilib in favor for this.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [WIP] i686 chroot
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
2022-01-11 18:00 ` Duncaen
2022-01-12 5:53 ` Anachron
@ 2022-04-13 2:08 ` github-actions
2022-04-13 5:32 ` Anachron
2022-04-13 5:32 ` [ISSUE] [CLOSED] " Anachron
4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2022-04-13 2:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 293 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/issues/34988#issuecomment-1097477254
Comment:
Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [WIP] i686 chroot
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
` (2 preceding siblings ...)
2022-04-13 2:08 ` github-actions
@ 2022-04-13 5:32 ` Anachron
2022-04-13 5:32 ` [ISSUE] [CLOSED] " Anachron
4 siblings, 0 replies; 6+ messages in thread
From: Anachron @ 2022-04-13 5:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/34988#issuecomment-1097576702
Comment:
Closing this for now.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ISSUE] [CLOSED] [WIP] i686 chroot
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
` (3 preceding siblings ...)
2022-04-13 5:32 ` Anachron
@ 2022-04-13 5:32 ` Anachron
4 siblings, 0 replies; 6+ messages in thread
From: Anachron @ 2022-04-13 5:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2248 bytes --]
Closed issue by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/34988
Description:
I'm currently testing a `i686` repo on `/r32` with the following.
`wine` needs an ugly wrapper so far:
```
#!/bin/sh
export WINEDLLPATH="/lib/wine/i386-unix"
sudo -E chroot /r32 "/usr/libexec/wine/wine" "${@}"
```
`/usr/libexec/wine/wine` needs to be symlinked to this script in order for `/bin/wine` (see https://github.com/void-linux/void-packages/blob/master/srcpkgs/wine/files/wine) to find it.
I've put `/usr/bin/chroot /r32` inside my `sudoers` file to not need to type any password for chroots on this path.
The tool `bottles` (see https://github.com/void-linux/void-packages/pull/27066) can now find and launch wine on `32bit`:
```
$ bottles
2022-01-11 09:13:38 INFO: Dxvk found: [dxvk-1.9.2]
2022-01-11 09:13:38 INFO: Vkd3d found: [vkd3d-proton-2.5]
2022-01-11 09:13:38 INFO: Nvapi found: [dxvk-nvapi-v0.5.1]
2022-01-11 09:13:38 INFO: Runners found: [sys-wine-7.0-rc5
|caffe-6.23]
2022-01-11 09:13:41 INFO: Bottles gestartet!
```
For convinience I wrote a little `xp32` helper to handle packages inside the `x86` chroot:
```sh
#!/bin/sh
export XBPS_ARCH="i686"
pl=$(xbps-query -p repository -s multilib | sed 's/-[^:-]*: .*//g')
test -z "${pl}" || {
printf '%s\n' "${pl}" > xp32-pkg.list
xbps-remove ${pl}
}
test -d "/r32" || {
mkdir -v /r32
repo="http://alpha.de.repo.voidlinux.org/current"
xbps-install -S -R "${repo}" -r /r32 base-system || rm -rfv /r32
unlink /lib32
rm -rf /usr/lib32
test -L /lib32 || ln -s /r32/lib /lib32
test -L /usr/lib32 || ln -s /r32/lib /usr/lib32
rm /r32/dev/null
rmdir /r32/{dev,home,mnt,media,proc,sys,tmp}
}
case "${1}" in
c|reconf) shift; xbps-reconfigure -r /r32 "${@}";;
d|pkgdb) shift; xbps-pkgdb -r /r32 "${@}";;
i|install) shift; xbps-install -r /r32 "${@}";;
q|query) shift; xbps-query -r /r32 "${@}";;
r|remove) shift; xbps-remove -r /r32 "${@}";;
w|wine)
shift
test -e /r32/bin/wine || xbps-install -r /r32 wine
ln -vs <PATH-TO-WINEWRAPPER> /usr/libexec/wine/wine
;;
esac
```
(Don't blindly run this, it will eat you alive)
This is a WIP.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-13 5:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 8:27 [ISSUE] [WIP] i686 chroot Anachron
2022-01-11 18:00 ` Duncaen
2022-01-12 5:53 ` Anachron
2022-04-13 2:08 ` github-actions
2022-04-13 5:32 ` Anachron
2022-04-13 5:32 ` [ISSUE] [CLOSED] " Anachron
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).