ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Oleg Lukashin <security@rega.ru>
To: Alexandre Prokoudine <mandrake-russian@altlinux.ru>
Subject: [mdk-re] Re: [mdk-re] Свежее ядро
Date: Fri Mar  1 18:12:25 2002
Message-ID: <69805880.20020301181847@rega.ru> (raw)
In-Reply-To: <813775207.20020301180059@pub.tmb.ru>

Hello Alexandre,

Friday, March 01, 2002, 6:00:59 PM, you wrote:

AP> Привет всем!

AP> только что вернулся из дружественного Инет-кафе с сабжем на болванке.
AP> Поскольку никогда не собирал ядро из source.rpm, ткните, пожалуйста, в
AP> доку, в которой написано, чего и как именно с файлом делать.

Лично я никогда не ставлю собраное ядро, а делаю вот как.
Берем src.rpm
говорим rpm -Uvh kernel.src.rpm
говорим rpm -bp kernel.spec - это наложит патчи и создаст в
/usr/src/RPM/BUILD ядро, такое как оно будет если распаковать tar.gz
архив, но с наложенными патчами от Alt'ов.
далее переносим из /usr/src/rpm/build в /usr/src/linux-...
делаем симлинк ~linux на эту директорию
далее по документации:
make mrproper
make menuconfig (необходимо, чтобы стоял пакет libncurces)
здесь выбираешь то что тебе нужно, что не нужно - не выбираешь :)
make dep
make bzImage
make modules
make modules_install
make install - это автоматом создаст system.map в /boot и пропишет в
lilo.conf.
останется только отредактировать lilo (если хочешь свой label на ядро)
и запустить /sbin/lilo
Единственное, перед make install нужно зайти в ~linux/arch/boot
и сделать install.sh запускаемым. Не знаю почему, во всех ядрах от
AltLinux с которыми я сталкивался этот script не executable, поэтому
make install не проходит.
далее reboot и выбираем новое ядро.

-- 
Best regards,
Oleg Lukashin,
phd@rega.ru




      parent reply	other threads:[~2002-03-01 18:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01 17:48 Alexandre Prokoudine
2002-03-01 18:10 ` Yura Zotov
2002-03-01 18:12 ` cornet
2002-03-01 20:27   ` [mdk-re] Re[2]: " Alexandre Prokoudine
2002-03-04 21:55     ` Konstantin Volckov
2002-03-05 13:37       ` Re[2]: [mdk-re] Re[2]: [mdk-re] ó×ÅÖÅÅ ÑÄÒÏ Serge Skorokhodov
2002-03-01 18:12 ` Oleg Lukashin [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=69805880.20020301181847@rega.ru \
    --to=security@rega.ru \
    --cc=mandrake-russian@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