From: Andrew Borodin <aborodin@vmail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Не найден конфиг ядра при сборке regular
Date: Sun, 07 Dec 2025 13:49:04 +0300
Message-ID: <web-720255434@box.vrn.ru> (raw)
In-Reply-To: <b97c6566-fe79-445e-ba7a-d0e595534ac4@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 2298 bytes --]
On Sun, 7 Dec 2025 09:15:52 +0300 Anton Midyukov <antohami@altlinux.org> wrote:
> Для сборки образов есть рассылка devel-distro.
Мне бы не хотелось ради разовой задачи подписываться на рассылку и потом отписываться.
> По mkimage-profiles есть документация:
> https://nightly.altlinux.org/docs/mkimage-profiles.html
>
> Очень полезная глава в данном случае:
> https://nightly.altlinux.org/docs/mkimage-profiles.html#_переменная_branch
Спасибо. По mkimage-profiles я читал всё, что написано в altwiki.
> После правильной настройки окружения нужно собирать так:
> make regular-jeos-sysv.iso BRANCH=p10
>
> Проблема в том, что в Сизифе другой дефолт ядра, чем в p10.
В mkimage-profiles я переключился в бранч workstation-p10 и думал, что этого
достаточно. В каком бранче надо делать сборку?
С указанием BRANCH (сборка по-прежнему в бранче workstation-p10) то же самое:
[andrew@myhost mkimage-profiles]$ make regular-jeos-sysv.iso BRANCH=p10
** goal: regular-jeos-sysv.iso
** BRANCH/ARCH: p10/x86_64
13:23:41 initializing BUILDDIR: build/
13:23:41 preparing distro config
13:23:59 starting image build (coffee time)
13:28:11 failed, see log: build/build.log
13:28:11 (you might want to rerun with DEBUG=1)
** error: no stage1 kernel config found in /boot
make[1]: *** [lib/build.mk:80: build-image] Ошибка 2
make: *** [Makefile:61: regular-jeos-sysv.iso] Ошибка 1
Немного изменил скрипт, чтобы увидеть диагностику ошибки:
====================
diff --git a/features.in/stage2/stage1/scripts.d/03-test-kernel b/features.in/stage2/stage1/scripts.d/03-test-kernel
index f8af5615..80f1ec71 100755
--- a/features.in/stage2/stage1/scripts.d/03-test-kernel
+++ b/features.in/stage2/stage1/scripts.d/03-test-kernel
@@ -21,7 +21,7 @@ configured()
fi
}
-ls $CONFIGS >&/dev/null || fatal "no stage1 kernel config found in /boot"
+ls $CONFIGS || fatal "no stage1 kernel config found in /boot"
# test for installer-required filesystems support
configured "OVERLAY_FS=[my]" || configured "AUFS_FS=[my]" ||
====================
Лог сборки с DEBUG=1 прилагаю.
> Сборка происходит в чруте, хост значения не имеет.
Да, это же hasher, но мало ли.
А откуда в чтрутовом /boot возьмётся конфиг ядра, если сам пакет kernel-image
там, судя по логу, ещё не установлен?
--
С уважением,
А. Бородин.
[-- Attachment #2: build.log.gz --]
[-- Type: application/gzip, Size: 17061 bytes --]
next prev parent reply other threads:[~2025-12-07 10:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-06 18:04 Andrew Borodin
2025-12-06 19:33 ` Michael Shigorin
2025-12-07 6:15 ` Anton Midyukov
2025-12-07 10:49 ` Andrew Borodin [this message]
2025-12-07 11:48 ` Anton Midyukov
2025-12-07 12:17 ` Andrew Borodin
2025-12-07 12:19 ` Anton Midyukov
2025-12-07 14:15 ` Andrew Borodin
2025-12-07 14:20 ` Anton Midyukov
2025-12-07 15:07 ` Andrew Borodin
2025-12-07 15:10 ` Anton Midyukov
2025-12-08 7:26 ` Andrew Borodin
2025-12-08 7:32 ` Anton Midyukov
2025-12-08 8:46 ` Michael Shigorin
2025-12-08 8:51 ` Anton Midyukov
2025-12-08 9:54 ` Andrew Borodin
2025-12-08 10:00 ` Anton Midyukov
2025-12-08 10:04 ` Michael Shigorin
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=web-720255434@box.vrn.ru \
--to=aborodin@vmail.ru \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git