From: "Dmitry V. Levin" <ldv@fandra.org>
To: mandrake-russian@linuxteam.iplabs.ru
Subject: Re: [mdk-re] rpm & athlon
Date: Tue Feb 20 10:30:12 2001
Message-ID: <20010220101831.A13591@LDV.fandra.org> (raw)
In-Reply-To: <20010220043024.C3CCE4691@vezyolka.dgap.mipt.ru>; from yz-news@mail.ru on Tue, Feb 20, 2001 at 07:30:24AM +0300
[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]
On Tue, Feb 20, 2001 at 07:30:24AM +0300, Yury Zotov wrote:
> DVL> > Подскажите, пожалуйста, как сказать rpm'у что на i686 можно ставить
> DVL> пакеты
> DVL> > для athlon.
> DVL>
> DVL> Это действие, вообще говоря, некорректно.
> DVL>
> DVL> > Откуда rpm узнает, что у меня i686?
> DVL>
> DVL> Узнает системного вызова uname().
> DVL>
> DVL> Правила, согласно которым определяется совместимость архитектур, для
> DVL> rpm-3.X описывается в файле /usr/lib/rpm/rpmrc.
> DVL>
> DVL> В частности, про архитектуру athlon там написано, что для нее годятся
> DVL> пакеты, которые подходят для k6 и i686.
> DVL>
> DVL>
>
> Спасибо, стало понятно, куда копать.
> Поэтому, подскажите теперь, как собрать ядро, чтобы uname -m выдавала
> athlon, а не i686. Насколько я понимаю, задания --target=athlon
> недостаточно.
Для ядра 2.2.x это не так просто сделать.
См. "fgrep UTS_MACHINE linux/Makefile", linux/include/asm-i386/bugs.h
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@fandra.org
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2001-02-20 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-20 0:11 Yury Zotov
2001-02-20 3:27 ` Dmitry V. Levin
2001-02-20 7:30 ` Yury Zotov
2001-02-20 10:30 ` Dmitry V. Levin [this message]
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=20010220101831.A13591@LDV.fandra.org \
--to=ldv@fandra.org \
--cc=mandrake-russian@linuxteam.iplabs.ru \
/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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git