ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: mookid@sigent.ru (Mikhail Zabaluev)
To: devel@linux.iplabs.ru
Subject: [devel] /boot/kernel.{h,ph}
Date: Tue, 5 Dec 2000 18:54:57 +0300
Message-ID: <20001205185457.A24454@localhost.localdomain> (raw)

Доброе время суток.

Обнаружилось, что 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 при этом
работает корректно, я проверил.

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

-- 
Stay tuned,
  MhZ                                    mailto:mookid@sigent.ru
-----------
QOTD:
	On a scale of 1 to 10 I'd say...  oh, somewhere in there.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel


             reply	other threads:[~2000-12-05 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-05 15:54 Mikhail Zabaluev [this message]
2000-12-05 22:52 ` Dmitry V. Levin

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=20001205185457.A24454@localhost.localdomain \
    --to=mookid@sigent.ru \
    --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