ALT Linux Distributions development
 help / color / mirror / Atom feed
From: "Дмитрий Терехин" <jqt4@basealt.ru>
To: Distributions development <devel-distro@lists.altlinux.org>
Subject: Re: [devel-distro] Сборка образа для aarch64 на хосте x86_64
Date: Mon, 13 Apr 2020 16:26:44 +0300
Message-ID: <838491586784138@sas1-229a7e5e75ed.qloud-c.yandex.net> (raw)
In-Reply-To: <20200413130422.7950eb6f@table.localdomain>

Здравствуйте!

13.04.2020, 16:04, "Anton V. Boyarshinov" <boyarsh@altlinux.org>:
> Добрый день
>
> Вроде ничего не менял (не считая того, что у basalt-a 7 админов,а у 7
> админов хост без обновлений), собираю тем же скриптом, что и раньше, по
> тому же профилю, но получаю:
>
> hsh-initroot: Unpacked initial package list.
> hasher-priv: slave: chrootuid: execve: /bin/touch: Exec format error

Насколько я понимаю, данная ошибка означает, что на x86_64 хосте не настроен binfmt для aarch64.

Я настраивал так (от root):
echo ":aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/.host/qemu-aarch64:" > /etc/binfmt.d/quemu-aarch64-for-hasher.conf
systemctl restart systemd-binfmt

С уважением
Дмитрий Терёхин

> hsh-initroot: Failed to create fakedata.
>
> Видимо, что-то сломалось в запуске через qemu, но, может быть, у
> кого-нибудь есть идеи: что именно и как это чинить...
> _______________________________________________
> devel-distro mailing list
> devel-distro@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-distro


      reply	other threads:[~2020-04-13 13:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 13:04 Anton V. Boyarshinov
2020-04-13 13:26 ` Дмитрий Терехин [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=838491586784138@sas1-229a7e5e75ed.qloud-c.yandex.net \
    --to=jqt4@basealt.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