From: "Антон Мидюков" <midyukov-anton@ya.ru> To: devel-distro@lists.altlinux.org Subject: Re: [devel-distro] How to build custom minimal livecd with m-p Date: Wed, 27 Nov 2024 18:36:13 +0300 Message-ID: <2407f15c-45b3-4bf4-bb34-c4f4eb699cec@ya.ru> (raw) In-Reply-To: <CANM4Rug6GRc_y081DABWgd1yS9vKzYHvGzN9ChkZ-Ym_BZFsLQ@mail.gmail.com> 27.11.2024 11:56, Eugene Prokopiev пишет: > Здравствуйте! > > Научите меня, пожалуйста, собирать кастомный минимальный livecd (без > etcnet, livecd-специфичных пакетов и т.д.) средствами m-p > По-моему, вы хотите странного - не использовать фичу use/live. Если не нужен etcnet, не добавляйте его. Чем могли помешать livecd-специфичные пакеты непонятно. Без фичи live вы не соберёте live. Там makefile добавляются. > Ознакомившись с https://www.altlinux.org/Mkimage-profiles/howto, > пытаюсь в отдельной цели унаследоваться прямо от distro/.base и > дотянуть только то, что вроде бы необходимо для загрузки: > > git clone -b p11 git://git.altlinux.org/gears/m/mkimage-profiles.git m-p > cd m-p > cat > conf.d/mini-live.mk <<EOF > distro/mini-live: distro/.base \ > use/stage2 use/stage2/ata use/stage2/hid use/stage2/usb > sub/rootfs@live sub/stage2@live \ > use/syslinux/live.cfg use/grub/live.cfg use/syslinux/timeout/0 > use/grub/timeout/0 use/isohybrid > EOF > make mini-live.iso > ** goal: mini-live.iso > ** BRANCH/ARCH: p11/x86_64 > 11:41:10 initializing BUILDDIR: build/ > 11:41:10 preparing distro config > 11:41:23 starting image build (coffee time) > 11:42:49 failed, see log: build/build.log > 11:42:49 (you might want to rerun with DEBUG=1) > make[3]: *** No rule to make target 'stage2cfg.mk'. Stop. > make[1]: *** [lib/build.mk:80: build-image] Error 2 > make: *** [Makefile:61: mini-live.iso] Error 1 > > Что я упустил и как вообще сейчас принято собирать кастомный livecd, в > котором (по возможности) не будет ничего кроме init и его собственных > зависимостей? > -- С уважением, Антон Мидюков <antohami@altlinux.org>
next prev parent reply other threads:[~2024-11-27 15:36 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-11-27 8:56 Eugene Prokopiev 2024-11-27 15:36 ` Антон Мидюков [this message] 2024-11-28 9:31 ` Eugene Prokopiev 2024-11-28 9:43 ` Антон Мидюков 2024-11-29 5:57 ` Eugene Prokopiev 2024-11-29 8:20 ` Антон Мидюков 2024-11-29 9:03 ` Eugene Prokopiev 2024-11-29 9:16 ` Антон Мидюков 2024-11-29 9:42 ` Eugene Prokopiev 2024-11-29 9:57 ` Антон Мидюков
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=2407f15c-45b3-4bf4-bb34-c4f4eb699cec@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