From: Led <ledest@gmail.com> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] build kernel modules & System.map Date: Mon, 11 May 2009 19:35:45 +0300 Message-ID: <200905111935.45174.ledest@gmail.com> (raw) Есть ядерные модули, которым для сборки требуется (кроме 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
next reply other threads:[~2009-05-11 16:35 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-05-11 16:35 Led [this message] 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
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=200905111935.45174.ledest@gmail.com \ --to=ledest@gmail.com \ --cc=devel@lists.altlinux.org \ /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