ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alex Gorbachenko <agent_007@immo.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] vmware on x86_64
Date: Fri, 23 Mar 2007 14:47:25 +0300
Message-ID: <20070323144725.5a44d7bc@satellite> (raw)
In-Reply-To: <20070323101219.GA22862@cryo.net.ru>

[-- Attachment #1: Type: text/plain, Size: 1667 bytes --]

On Fri, 23 Mar 2007 13:12:19 +0300
Pavlov wrote:

>У нас apt такое ниасилит.

в дебиане асиливает. там есть пакет ia32_libs, представляющий собой
chroot с 32-битныыми библиотеками.

у нас это осилит hasher. технология простая. итак.

- cp /etc/apt/apt.conf /etc/apt/hasher_ia32_apt.conf
- в /etc/apt/hasher_ia32_apt.conf дописываем последней строкой
Dir::Etc::sourcelist "hasher_ia32_sources.list";

- редактируем /etc/apt/hasher_ia32_sources.list на предмет подключения
32-битного репозитария. например:
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus i586
classic
rpm [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus
noarch classic
rpm-src [alt] ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus
i586 classic

- кладём в /etc/ld.so.conf.d файл emul_ia32.conf следующего содержания:
/var/lib/emul_ia32/chroot/lib
/var/lib/emul_ia32/chroot/usr/lib

далее. apt-get install hasher ; hasher-useradd <some_user> 

- mkdir /var/lib/emul_ia32 ;
- chown root:hashman /var/lib/emul_ia32 ; chmod 775 /var/lib/emul_ia32
- в /etc/hasher-priv/system меняем prefix на /var/lib

- от пользователя <someuser> запускается: 
setarch i586 hsh /var/lib/emul_ia32 --save-fakeroot
--apt-config=/etc/apt/hasher_ia32_apt.conf --verbose --initroot-only
--pkg-build-list='basesystem,rpm-build,sisyphus_check,time,libX11,libXtst,libXext,libXrender'

ln -vs /var/lib/emul_ia32/chroot/lib/ld-linux.so.2 /lib ; /sbin/ldconfig

после чего спокойно ставится и работает (!) vmware x86_64. опробовано
на себе.

осталось завести wine и counter-strike для полного счастья.

-- 
np: In Flames - Only For The Weak

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-03-23 11:47 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 21:25 Вадим
2007-03-20 21:32 ` Nick S. Grechukh
2007-03-21  6:22   ` Вадим
2007-03-21  8:00     ` Andrey Rahmatullin
2007-03-21  9:04       ` Вадим
2007-03-21 21:20         ` Pavlov Konstantin
2007-03-22  6:40           ` Вадим
2007-03-22 10:30             ` Alex Gorbachenko
2007-03-22 11:32               ` Pavlov Konstantin
2007-03-23  6:55                 ` Alex Gorbachenko
2007-03-23  8:23                   ` Вадим
2007-03-23 10:12                   ` Pavlov Konstantin
2007-03-23 11:40                     ` [sisyphus] 32-bit libs " Alex V. Myltsev
2007-03-23 12:18                       ` Alex Gorbachenko
2007-03-23 12:27                       ` Pavlov Konstantin
2007-03-26  9:41                       ` Epiphanov Sergei
2007-03-26 10:55                         ` Alex Gorbachenko
2007-03-23 11:47                     ` Alex Gorbachenko [this message]
2007-04-02 11:57                       ` [sisyphus] vmware " Вадим
2007-04-02 13:56                         ` Alex Gorbachenko
2007-04-02 14:00                           ` Вадим
2007-04-03  8:22                             ` Alex Gorbachenko
2007-04-03  8:57                               ` Вадим
2007-04-04  6:27                                 ` Alex Gorbachenko
2007-04-04  6:26                         ` Alex Gorbachenko
2007-04-06  5:38                           ` Вадим
2007-04-12 18:25                       ` Sergey
2007-04-13 10:32                         ` Alex Gorbachenko
2007-04-13 11:04                           ` sergey ivanov
2007-04-13 11:13                             ` sergey ivanov
2007-04-16  5:20                             ` Alex Gorbachenko
2007-04-16 14:06                               ` Sergey
2007-04-16 14:24                                 ` Alex Gorbachenko
2007-04-16 15:07                                   ` Sergey
2007-04-16 15:28                                     ` Alex Gorbachenko
2007-04-16 18:05                                       ` Sergey
2007-04-17  5:42                                         ` Alex Gorbachenko
2007-03-22 10:29           ` Denis Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070323144725.5a44d7bc@satellite \
    --to=agent_007@immo.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git