ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] build kernel modules & System.map
@ 2009-05-11 16:35 Led
  2009-05-11 17:28 ` Anton Farygin
  0 siblings, 1 reply; 13+ messages in thread
From: Led @ 2009-05-11 16:35 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Есть ядерные модули, которым для сборки требуется (кроме 
kernel-header-modules) ещё и System.map от ядра, для которого они собираются.
Получается два неприятных момента:
1) Приходится ставить kernel-image в BuildRequires - но это хоть 
и "некрасиво", но возможно
2) ls -ld /boot
drwx------ 2 root root 1144 May 11 16:26 /boot
(в том числе и в хэшере). Таким образом доступа к /boot/System.map на этапе 
сборки получить всё равно не получается. 711 вместо 700 - проходит.

Про хук наподобие:

$ cat ~/.hasher/install/post
#!/bin/sh
chmod go+x /boot

я в курсе, с этим работает. Но это всё же локальный хук:(

P.S. 700 на /boot и /lib/modules - это AFAIR чисто ALT'овская параноидальная 
фича с непонятным назначением. Уже неоднократно приходилось городить вокруг 
этого костыли:(

-- 
Led

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-05-15 14:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 16:35 [devel] build kernel modules & System.map Led
2009-05-11 17:28 ` Anton Farygin
2009-05-11 21:44   ` Dmitry V. Levin
2009-05-11 21:59     ` Led
2009-05-15  8:31       ` Michael Shigorin
2009-05-15 11:10         ` Led
2009-05-15 11:31           ` Michael Shigorin
2009-05-15 12:54             ` Led
2009-05-15 14:21               ` Michael Shigorin
2009-05-15 14:25                 ` Led
2009-05-15 14:32                   ` Michael Shigorin
2009-05-15 14:36                     ` Led
2009-05-12  6:28     ` Mikhail Gusarov

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