ALT Linux Distributions development
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: Distributions development <devel-distro@lists.altlinux.org>
Subject: Re: [devel-distro] mkimage-profiles 1.4.24-alt1
Date: Fri, 31 Dec 2021 12:59:50 +0100
Message-ID: <20211231115950.2gkax4zp4rpvxrtv@example.org> (raw)
In-Reply-To: <17c885a5-e3f2-3cf8-ba38-c4fc4241eaa3@ya.ru>

On Fri, Dec 31, 2021 at 04:30:46PM +0700, Антон Мидюков wrote:
> 31.12.2021 15:55, Konstantin Lepikhov пишет:
> > Hi Антон!
> > 
> > On 12/31/2021, at 09:29:58 AM you wrote:
> > 
> >> 31.12.2021 03:07, Konstantin Lepikhov пишет:
> >>> Hi Антон!
> >>>
> >>> On 12/30/2021, at 11:21:24 PM you wrote:
> >>>
> >>>> С наступающим новым годом!
> >>>>
> >>> ...
> >>>> - В фиче vmguest обновлён список модулей для initrd iso образов для поддержки Hyper-V второго
> >>>>   поколения. Добавил все модули, которые собраны для поддержки Hyper-V. Надеюсь, что этого достаточно.
> >>>>
> >>> Как насчет выкладки qcow2 образов, пока в процессе?
> >>>
> >>
> >> Руки не дошли. Давайте ещё раз уточним. Достаточно одного минимального qcow2 с включенным console=ttyS0,115200
> >> с systemd и пакетом apt-repo, ядро std-def. Для архитектуры x86_64. Так?
> > Да, как-то так. Если grub уже пофикшен, то даже консоль включать не нужно, т.к. у него уже
> > есть fallback в текстовый терминал.
> > 
> 
> Хорошо.
> 
> > И можете пнуть тех, кто собирает vm/cloud-* образы, будут ли они
> > публиковать примеры с cloud-init? Т.к. сейчас в этих сборках отключена
> > сеть.
> > 
> 
> Хорошо, спрошу.
> 
> > Вот мой пример сборки таргета для gitlab-runner'а (use/tty/S0 думаю уже не
> > нужен):
> > 
> > +# can't use vm/cloud-systemd cause it's broken by design
> > +vm/gitlab-runner: vm/systemd-net use/vmguest/kvm use/tty/S0 \
> > +       use/deflogin use/gitlab-runner/defuser use/net/networkd/resolved
> > +       @$(call set,KFLAVOURS,lks-wks)
> > +       @$(call add,BASE_PACKAGES,hasher nfs-clients git rpm-build kernel-build-tools gear)
> > +       @$(call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes)
> > +       @$(call add,DEFAULT_SERVICES_ENABLE,nfs-client.target)
> > +       @$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
> > +       @$(call set,VM_SIZE,21474836480)
> > 
> > 
> 
> Так может такой vm/gitlab-runner и собирать? Правда он не собирается:
> 
> mki-image-scripts: Run: `/tmp/.private/antohami/mkimage-profiles.build.riPg6LG/image-scripts.d/60-gitlab-install'
> mki-run: has started executing.
> hsh-run: changed working directory to `/tmp/.private/antohami/mkimage-profiles.build.riPg6LG/.work/chroot/.work'
> hsh-run: Locked working directory `/tmp/.private/antohami/mkimage-profiles.build.riPg6LG/.work/chroot/.work'
> hsh-run: Acquiring lock for config file `/etc/hasher-priv/user.d/antohami'...
> hsh-run: Locked config file `/etc/hasher-priv/user.d/antohami'
> <86>Dec 31 09:22:57 useradd[2393210]: new group: name=gitlab-runner, GID=500
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> ^M  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: gitlab-runner-downloads.s3.amazonaws.com
> mki-image-scripts: /tmp/.private/antohami/mkimage-profiles.build.riPg6LG/image-scripts.d/60-gitlab-install: unable to run script.
> mki-invalidate-cache: has started executing for 'mki'.
> make[2]: *** [/usr/share/mkimage/targets.mk:58: run-image-scripts] Error 1
> 
> 
> Нужно сеть разрешать из hasher?

Да. Там внутри идёт скачивание раннера с серверов github.

-- 
Rgrds, legion



  reply	other threads:[~2021-12-31 11:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 16:21 Антон Мидюков
2021-12-30 16:22 ` Michael Shigorin
2021-12-30 16:34   ` Антон Мидюков
2021-12-30 20:07 ` Konstantin Lepikhov
2021-12-31  2:29   ` Антон Мидюков
2021-12-31  8:55     ` Konstantin Lepikhov
2021-12-31  9:30       ` Антон Мидюков
2021-12-31 11:59         ` Alexey Gladkov [this message]
2021-12-31 14:29           ` Dmitry V. Levin
2022-01-13 12:00       ` Антон Мидюков
2022-01-16  8:58         ` Konstantin Lepikhov

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=20211231115950.2gkax4zp4rpvxrtv@example.org \
    --to=legion@altlinux.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