From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Re: kernel Date: Thu, 24 Jul 2003 17:51:27 +0300 Message-ID: <20030724145127.GB17290@sam-solutions.net> (raw) In-Reply-To: <1059057745.19542.10.camel@mysql.eltel.net> On Thu, Jul 24, 2003 at 06:42:26PM +0400, Peter V. Saveliev wrote: > В ??, 24.07.2003, в 18:31, Sergey Vlasov пишет: > > On 24 Jul 2003 18:26:36 +0400 > > "Peter V. Saveliev" <peet@eltel.net> wrote: > > > > > Единственное, что меня смущает, так это то, как заставить rpm собирать > > > ядро _без_ какого-либо патча, у меня vserver не дружит с 0(1) скедулером > > > ни в какую, а оный планировщик калёным железом не вытравить, даже > > > несмотря на то, что он нигде в спеке не упомянут :| тотальный find с > > > поголовным grep тоже не дал просветления. > > > > Как это нигде не упомянут? В какой-нибудь из строк с %add_patch_list > > точно есть - вот её и править. > > Супер! Дело в том, что я стараюсь не убивать строчки, которые мне мешают > в исходном спеке, а комментировать их. Так вот, оказалось, что > /^#.*%add_patch_list.*$/ отрабатывает, несмотря на # в начале строки... Напишите %%add_patch_list, это известное свойство RPM, макросы раскрываются всегда, вне зависимости от их местоположения, если только % не экранирована (%%). > "Поубывал бы"... Или я неверно решил, будто бы # означает комментарий до > конца строки? Смотря для кого. Для RPM все, что имеет значение -- это его теги и макросы. Остальное -- синтаксис программы, которая получается после раскрытия макросов. И ее проверяет тот интерпретатор, который запускает RPM уже после раскрытия макросов для выполнения программы. И не обязательно это будет unix shell (хотя в 100% случаев это именно он :), Вы можете создать свои макросы и писать спеки хоть на Brainfuck, благо язык этот Turing complete. -- / Alexander Bokovoy --- Unless you love someone, nothing else makes any sense. -- e.e. cummings
next prev parent reply other threads:[~2003-07-24 14:51 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-07-24 14:17 [sisyphus] kernel Serhiy Brytskyy 2003-07-24 14:26 ` Peter V. Saveliev 2003-07-24 14:31 ` [sisyphus] kernel Sergey Vlasov 2003-07-24 14:42 ` Peter V. Saveliev 2003-07-24 14:51 ` Alexander Bokovoy [this message] 2003-07-29 15:26 ` Michael Shigorin 2003-07-29 15:40 ` Serhiy Brytskyy 2003-07-29 16:19 ` Michael Shigorin 2003-07-29 16:22 ` Serhiy Brytskyy 2003-07-29 16:31 ` Sergey Vlasov
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=20030724145127.GB17290@sam-solutions.net \ --to=a.bokovoy@sam-solutions.net \ --cc=sisyphus@altlinux.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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git