ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: devel@linux.iplabs.ru
Subject: Re: [devel] /boot/kernel.{h,ph}
Date: Wed, 6 Dec 2000 01:52:45 +0300
Message-ID: <20001206015245.A20066@LDV.fandra.org> (raw)
In-Reply-To: <20001205185457.A24454@localhost.localdomain>; from mookid@sigent.ru on Tue, Dec 05, 2000 at 06:54:57PM +0300

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

On Tue, Dec 05, 2000 at 06:54:57PM +0300, Mikhail Zabaluev wrote:
> Обнаружилось, что Perl'у для полного счастья нужен заголовочный файл
> /boot/kernel.ph, сконвертированный из /boot/kernel.h. Для этого предлагаю
> добавить в /etc/rc.d/init.d/kheader, в команды после создания
> самого kernel.h, следующее:
> 
> 	[ -n "$(type -p h2ph)" ] && (
> 			cd /boot
> 			h2ph -d /boot -l -Q kernel.h
> 		)
> 
> Если /boot/kernel.h существует как symlink на /var/run/boot/kernel.h,
> то и /boot/kernel.ph, возможно, следует оформить так же. h2ph при этом
> работает корректно, я проверил.

Правило хорошего тона - монтировать раздел /boot readonly.
Поэтому будет /boot/kernel.ph --> /var/run/boot/kernel.ph

Файл /boot/kernel.ph будет в kernel-headers (как и /boot/kernel.h),
А initscripts я сейчас поправлю.

> Насчет самого kernel.h: при сборке ядра custom хорошо бы оформлять
> символ, данный как макрос %custom, в таблице поиска вариантов ядра в
> скрипте kheader и в шаблоне для kernel.h. Иначе после установки
> custom-ядра генерируется неправильный kernel.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 --]

      reply	other threads:[~2000-12-05 22:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-05 15:54 Mikhail Zabaluev
2000-12-05 22:52 ` 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=20001206015245.A20066@LDV.fandra.org \
    --to=ldv@fandra.org \
    --cc=devel@linux.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 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