ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Yustasov <snmon@server.by>
To: community@altlinux.ru
Subject: Re: [Comm] как установить исходники ядра в ALM 2.2
Date: Mon, 24 Nov 2003 19:32:35 +0200
Message-ID: <20031124173235.GA19484@server.by> (raw)
In-Reply-To: <200311242255.05771.lomov@math.nsc.ru>

On Mon, Nov 24, 2003 at 10:55:05PM +0600, Andrei Lomov wrote:
> В сообщении от 24 Ноябрь 2003 22:35 Alex Yustasov написал(a):
> > On Mon, Nov 24, 2003 at 10:04:52PM +0600, Andrei Lomov wrote:
> > > Казалось бы, все должно быть просто...
> > > Не пойму, как исходники ядра установить.
> > >
> > > Где-то я кривлю, не пойму, где.
> > >
> > >
> > > [root@main root]# rpm -qa|grep kernel|sort
> > > NVIDIA_kernel-up-2.4.20_1.0.4191-alt5
> > > kernel-headers-common-1.0-alt2
> > > kernel24-headers-2.4.20-alt5
> > > kernel24-up-2.4.20-alt5
> > >
> > > [root@main root]# apt-get source kernel24
> > > Reading Package Lists... Done
> > > Building Dependency Tree... Done
> > > E: Unable to find a source package for kernel24
> >
> > apt-get source kernel24-up#2.4.20-alt5 -d
> > или
> > apt-get source kernel24-up#2.4.20-alt5@i586 -d
> 
> Сработал только последний вариант: 

Было такое, если обновитесь из updates, будет работать первый вариант.

> 
> Get:1 cdrom://Master 2.2 CD 5 ALTLinux/main kernel24 2.4.20-alt5 (srpm) 
> [42.7MB]
> Fetched 42.7MB in 57s (743kB/s)
> Download complete and in download only mode
> 
> Опять тупик, не могу найти, куда apt исходники поместил...
> Ну и дела :(

В тот каталог, где запускали команду.
Потом из под пользователя apt-get install kernel..-src.rpm
создать каталоги
~/RPM/RPMS
~/RPM/SRPMS
чтобы "создались rpm-ки"

В ~/RPM/SPEC
rpm -ba kernel24.spec



  reply	other threads:[~2003-11-24 17:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-24 16:04 Andrei Lomov
2003-11-24 16:35 ` Alex Yustasov
2003-11-24 16:43   ` Andrei Lomov
2003-11-24 16:55   ` Andrei Lomov
2003-11-24 17:32     ` Alex Yustasov [this message]
2003-11-24 19:32     ` Andrey Rahmatullin
2003-11-24 21:23     ` Lebedev Sergey

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=20031124173235.GA19484@server.by \
    --to=snmon@server.by \
    --cc=community@altlinux.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