From: "Alexey V. Vissarionov" <gremlin@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Cc: gremlin@altlinux.org Subject: Re: [devel] sisyphus-check требует избыточную зависимость Date: Mon, 2 Sep 2019 17:26:45 +0300 Message-ID: <20190902142645.GK12903@altlinux.org> (raw) In-Reply-To: <20190902134935.GE11132@imap.altlinux.org> On 2019-09-02 16:49:35 +0300, Michael Shigorin wrote: >> Как ему хотя бы сказать нужный Requires, чтобы проверялка не >> гавкала? Requires: %name = %version-%release не воспринимает, > %name-то у него свой будет, а не ядра. Вообще-то бить полагается по морде, а не по пачпорту. То есть, ядро - это не пакет kernel-как-его-там, а пакет, внутри которого есть (внезапно!) ядро. И опознавать его полагается по содержимому, командой file: % file /boot/linux-5.2.11 /boot/linux-5.2.11: Linux kernel x86 boot executable RO-rootFS, swap_dev 0x13, Normal VGA То есть, если `file %buildroot/boot/* | grep -q 'Linux kernel'` что-то нашло - значит, это пакет с ядром. >> ядерный бинарник в /boot искать, судя по всему, не обучена... > Остаётся /lib/modules/`uname -r`/ (соответствующий), других > префиксов в kernel-image-* нет. То, что модули опознаются по *.ko внутри /lib/modules - понятно. Осталось научить противоестественный интеллект опознавать ядра, в том числе с EFI stub ("MS-DOS executable, MZ for MS-DOS"). -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net
next prev parent reply other threads:[~2019-09-02 14:26 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-08-31 18:12 Alexey V. Vissarionov 2019-09-02 7:19 ` Alexey Gladkov 2019-09-02 7:52 ` Alexey V. Vissarionov 2019-09-02 9:05 ` Alexey Gladkov 2019-09-02 10:38 ` Anton Farygin 2019-09-02 13:21 ` Michael Shigorin 2019-09-02 13:34 ` Alexey V. Vissarionov 2019-09-02 13:49 ` Michael Shigorin 2019-09-02 14:26 ` Alexey V. Vissarionov [this message] 2019-09-02 14:45 ` Anton V. Boyarshinov 2019-09-02 15:30 ` Konstantin Lepikhov 2019-09-02 15:47 ` [devel] Policy для firmware Антон Мидюков 2019-09-02 16:01 ` Alexey Gladkov 2019-09-02 16:16 ` Konstantin Lepikhov 2019-09-02 16:40 ` Антон Мидюков 2019-09-02 17:45 ` Sergey Bolshakov 2019-09-02 19:16 ` Konstantin Lepikhov 2019-09-02 15:02 ` [devel] sisyphus-check требует избыточную зависимость Michael Shigorin 2019-09-02 18:49 ` Anton Farygin 2019-09-02 14:50 ` Alexey Gladkov 2019-09-02 14:32 ` Dmitry V. Levin 2019-09-02 14:34 ` Alexey V. Vissarionov 2019-09-02 14:41 ` Dmitry V. Levin 2019-09-02 15:02 ` Alexey Gladkov
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=20190902142645.GK12903@altlinux.org \ --to=gremlin@altlinux.org \ --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