From: Michael Shigorin <mike@osdn.org.ua> To: devel-distro@lists.altlinux.org Subject: Re: [devel-distro] Мысли про создание дистрибутивов Date: Wed, 23 Nov 2011 15:09:01 +0200 Message-ID: <20111123130901.GO20742@osdn.org.ua> (raw) In-Reply-To: <201101062030.06496@ruslandh> On Thu, Jan 06, 2011 at 08:29:59PM +0300, Hihin Ruslan wrote: > Давно вьётся в голове мысль, пишу тебе, что-бы её зафиксировать. > Можно взять за основу построение rpm. > Пишем спес, в зависимостях у которого mkimage-profile. > В этом спеке выполнются действия по построению из готового > профайла конкретного дистрибутива. Типа, того, что а в аттаче. В принципе для подобного в сизифе уже всё есть. > В начестве сорцов кладём скрипты, для построения образа, > секция file - пустая, в спеке прописываем порядок запуска > скпиптов и т.п., в результате их работы, в %buildroot строится > образ. А зачем вообще rpm, если в %files пусто? Сборочные зависимости и в сам пакет с профилем прописать можно; дистрибутив в качестве _побочного_ эффекта сборки "пакета" смотрится немного странно. > Далее этот пакет можно поместить в git, использовать gear > скритпты и т.п. использовать хешер и т.д и.т.п Зачем? > Заодно rpm ругается на неустановленные пакеты, необходимые для > сбора образа. Уровень rpm -- всё-таки индивидуальные пакеты, а не репозитории. Такая проверка по большей части реализована в одном из скриптов в составе m-p-d (bin/check-pkg-list), но не интегрирована. Пробовал притереть к m-p, но по-хорошему это надо к mkimage. > %build > %autoreconf > %configure > arch=%_arch > conf= > > %configure --with-aptconf=$conf --with-version=%version_distro --with-distro=%distro --with-arch=$arch > %make_build Если целью была воспроизводимость сборки, то недостаёт как минимум фиксации снапшота репозитория; если целью была возможность понять, как именно была выполнена сборка -- предлагаю посмотреть пример build.log, который делает m-p: http://ftp.linux.kiev.ua/pub/Linux/ALT/people/mike/iso/mkimage-profiles/live-builder-20111121-x86_64.iso.log -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
prev parent reply other threads:[~2011-11-23 13:09 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-06 17:29 Hihin Ruslan 2011-01-06 19:34 ` Michael Shigorin 2011-01-06 22:47 ` Anton Farygin 2011-01-07 8:12 ` Anatoly Chernov 2011-01-07 15:56 ` Michael Shigorin 2011-01-12 16:12 ` Хихин Руслан 2011-01-12 22:04 ` Michael Shigorin 2011-11-23 13:09 ` Michael Shigorin [this message]
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=20111123130901.GO20742@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=devel-distro@lists.altlinux.org \ --cc=shigorin@gmail.com \ /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