ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] arepo
Date: Tue, 1 Jul 2008 13:01:25 +0400
Message-ID: <20080701090125.GY4251@hell.fortress> (raw)
In-Reply-To: <4869521D.4000107@altlinux.org>


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

* Anton Gorlov <stalker@> [080701 01:47]:
> Хм..а як в  arepo  засунуть libmesa?
Туда надо совать не только mesa, но и xorg-server
(xorg-extensions-glx), fglrx_glx и nvidia_glx_*.  Патчи для
первых двух лежат у меня в git в ветке biarch.  Сейчас народ в
sisyphus@ это проверит, займусь остальными двумя.  Это всё лежит
у меня в people, но под Сизиф, не знаю насколько оно уехало от
бранча.

Смысл моих патчей в том, чтобы:

1. "Пути" симлинков от %_libdir/libGL.so.1 до реальной libGL.so.1
не должны пересекаться на разных архитектурах.
2. Скрипты из /usr/libexec/X11/drv.d/* должны обновлять линки на
библиотеки для обоих архитектур (/usr/lib/ и /usr/lib64/).

А самая настоящая задницца начнётся тогда, когда захочется
натравить arepo на маленькую локальную хашерницу ;-)  В аттаче
совершенно некрасивый кривохак, который немного работает в такой
ситуации, но не учитывает Сизифный x86_32.

-- 
Regards,
Sir Raorn.

[-- Attachment #1.2: arepo.hak --]
[-- Type: text/plain, Size: 1353 bytes --]

--- /usr/bin/arepo	2008-02-11 18:30:59 +0300
+++ bin/arepo	2008-06-28 19:15:01 +0400
@@ -559,12 +559,16 @@
         usage()
     read_config(args[0])
 
+    m_repo = Repo('Master', vars['m_origin'], vars['m_flavor'])
+    m_noarch = Arch(m_repo, 'noarch', [])
+    m_source = Arch(m_repo, vars['m_source'], [m_noarch])
+    m_target = Arch(m_repo, vars['m_target'], [m_noarch])
     repo = Repo('Sisyphus', vars['origin'], vars['flavor'])
     noarch = Arch(repo, 'noarch', [])
-    source = Arch(repo, vars['source'], [noarch])
-    target = Arch(repo, vars['target'], [noarch])
+    source = Arch(repo, vars['source'], [noarch,m_source,m_noarch])
+    target = Arch(repo, vars['target'], [noarch,m_target,m_noarch])
     shadow_repo = Repo('biarch', vars['shadow'], vars['flavor'])
-    shadow = Arch(shadow_repo, vars['source'], [source, noarch])
+    shadow = Arch(shadow_repo, vars['source'], [source, noarch, m_source, m_noarch])
 
     new_packages = False
 
@@ -588,7 +592,7 @@
 
     # Check that packages can be installed on a target machine.
     Log(1, "! checking that re-packages can be installed")
-    model = Arch(shadow_repo, vars['source'], [target, noarch])
+    model = Arch(shadow_repo, vars['source'], [target, noarch, m_target, m_noarch])
 
     for pkg in imap(shadow.mangle, pkgs):
         try:

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

  parent reply	other threads:[~2008-07-01  9:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 15:39 Anton Gorlov
2008-06-30 16:14 ` Alexey I. Froloff
2008-06-30 21:37   ` Anton Gorlov
2008-06-30 21:41     ` Led
2008-06-30 21:48       ` Anton Gorlov
2008-07-01  9:01     ` Alexey I. Froloff [this message]
2008-07-01  9:19       ` Anton Gorlov
2008-07-14  9:56       ` [devel] arepo, libmesa and patch for biarch Anton Gorlov
2008-07-14 10:15         ` Alexey I. Froloff
2008-07-14 10:17           ` Anton Gorlov

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=20080701090125.GY4251@hell.fortress \
    --to=raorn@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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