From: "Антон Мидюков" <midyukov-anton@ya.ru> To: Distributions development <devel-distro@lists.altlinux.org> Subject: [devel-distro] Суффикс @KFLAVOUR в списках пакетов mkimage-profiles Date: Mon, 25 Mar 2024 21:46:18 +0700 Message-ID: <ea2f0667-348b-4867-9076-fb0561e87eb2@ya.ru> (raw) Приветствую Добавил возможность указывать суффикс @KFLAVOUR в списках пакетов, который раскрывается в несколько строк со значениями из переменной KFLAVOURS. Пример. KFLAVOURS='std-def un-def' Список пакетов в метапрофиле: kernel-modules-virtualbox-@KFLAVOUR kernel-headers-@KFLAVOUR Список пакетов в сгенерированном профиле: kernel-modules-virtualbox-std-def kernel-modules-virtualbox-un-def kernel-headers-std-def kernel-headers-un-def Это удобно не только, когда в образе два ядра, но и для адаптации профиля для других архитектур. Достаточно задать правильный KFLAVOURS или не задавать его вовсе. Также добавил список kernel-headers, теперь достаточно указать в профиле: @(call add,MAIN_LISTS,kernel-headers) и никаких проблем со сборкой на экзотических архитектурах не будет. Коммиты: 5739103f Expand @KFLAVOUR in package lists 9f89bb08 pkg.in/lists: add kernel-headers -- С уважением, Антон Мидюков <antohami@altlinux.org>
reply other threads:[~2024-03-25 14:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ea2f0667-348b-4867-9076-fb0561e87eb2@ya.ru \ --to=midyukov-anton@ya.ru \ --cc=devel-distro@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 Distributions development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/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-distro devel-distro/ http://lore.altlinux.org/devel-distro \ devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com public-inbox-index devel-distro Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-distro AGPL code for this site: git clone https://public-inbox.org/public-inbox.git