From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7156423422897029120 X-Received: by 2002:a05:600c:3512:b0:3cb:a973:23aa with SMTP id h18-20020a05600c351200b003cba97323aamr2642483wmq.42.1666792986962; Wed, 26 Oct 2022 07:03:06 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:2257:b0:3c6:efd6:9cd8 with SMTP id a23-20020a05600c225700b003c6efd69cd8ls1034615wmm.0.-pod-control-gmail; Wed, 26 Oct 2022 07:03:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ZLljnVXRG+SpAQBaJFia0YPR79zDlzojSu3NnMtOs9hlJ6ThOWkSbzJLR82TBnRqCU9fD X-Received: by 2002:a05:600c:358f:b0:3c6:da94:66f9 with SMTP id p15-20020a05600c358f00b003c6da9466f9mr2555397wmq.142.1666792985799; Wed, 26 Oct 2022 07:03:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666792985; cv=none; d=google.com; s=arc-20160816; b=0fCfNp1LjMdzI1CNw9I3Jcu3/wh9CPn3rU5xdF8XO7xWMjApl65IGOpD/3G+nTApzJ gGEeG9St6sJajDuWRMM5fyhvA2OvfQo7JCQkENdInw6NTrqZyg4NIN57FGcTc4iG97BY nl5N0/CNEpA328+nc9p6CHUy0U9X7hRW+Ofc7U21e4PDJy1u6yOfIjwW0uLBe790ZjHG s62NUx28TgIBcPZPRXK3gkcwbrmQpRuOSo07es6BIAMdR8NYZIkE8KoEO5EMfwOzdJap jYW8s0d0FewIQtGrHUkjCONMO/FyKWuia73y1I3FBqWgDNj0zcciWlJCRiORlUZ9bq3p doFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id; bh=hxq0mlRPlWB2lK6GGPwCBQHiTQPYINsPSQbLyqLTjlk=; b=IUB/fxsCW/lMk+5nJL62c83wfVgiZpdMtYxaSeTGVKhAx5L07v58rSZpveNNWRGDjb De0RGUBR/hW+aFfvEQIbKWIsPNap/+4/VpYKufrwfpq0TsDzhkg6B3QSRlWqVmOpwpiI Guo8VPLvTC8IpO+eVaYe+CK9GWr15L9FeEw286dYcKm6HGz51UhBvBIGRpIfIrMB8bsH y1/vCYXA5GYoWPy3EHgztCAuFf2fqNPav8LTDUyHhWVkev+244voS0aDdnQMGVGGnjpj DIstFtCfSiBpiNuUvht53L6Qylvks72ot/nx2tB/OICYW8blv4ESZr3VQT/RlN4Gl21U Yt3A== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id k128-20020a1ca186000000b003a66dd18895si178063wme.4.2022.10.26.07.03.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Oct 2022 07:03:05 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 29QE33f6024345 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 16:03:04 +0200 Message-ID: Date: Wed, 26 Oct 2022 17:03:03 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] fix systemd-boot for non x64 targets Content-Language: en-US To: Felix Moessbauer , isar-users@googlegroups.com Cc: jan.kiszka@siemens.com References: <20221020025657.1458548-1-felix.moessbauer@siemens.com> From: Anton Mikanovich In-Reply-To: <20221020025657.1458548-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: HPT/GKcFe5eu 20.10.2022 05:56, Felix Moessbauer wrote: > With the recently introduced cross-imaging, all imager dependencies are > installed for the build architecture but not the target / distro > architecture. This is correct for tools, but not for architecture > specific files that are copied into the target rootfs. > By that, arm64 targets got bootx64.efi loaders installed, making it > impossible to boot the image. > > For grub, we already have architecture specific support based on package > names. This patch introduces the same for systemd-boot. Here, the > architecture is not encoded in the package name, but in the architecture > field. To avoid conflicts with other packages in the buildchroot-host, > from bookworm on, we only depend on systemd-boot-efi, > as this package provides the efi stubs and is co-installable for > multiple architectures. For older releases, this is not possible but > depending on systemd works as well. > > In theory this could conflict with a build-arch systemd installed into > the buildchroot-host, but as almost all dependencies are now installed > using sbuilder and schroot, this case is very unlikely. > In this case, a user still can disable cross for the imaging. > > Signed-off-by: Felix Moessbauer Applied to next, thanks.