From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6559152404745420800 X-Received: by 2002:a1c:5c82:: with SMTP id q124-v6mr986748wmb.6.1527504113709; Mon, 28 May 2018 03:41:53 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:5411:: with SMTP id i17-v6ls5242128wmb.8.canary-gmail; Mon, 28 May 2018 03:41:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJuH7Q0MEJcGITLoTCZirtJOX+uaZRJWkhtFbZ2P74EhaeSncXW/jtUKPqdqKhYYkuTjAkd X-Received: by 2002:a1c:32c1:: with SMTP id y184-v6mr1081037wmy.4.1527504113212; Mon, 28 May 2018 03:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527504113; cv=none; d=google.com; s=arc-20160816; b=yF5QbyEfguCYm+TPUaxh15dAHz4nh4Wtj1Q2NY6dZklSE/0jeOVatujuKOlV+f1jsE Jb5zxVOQPW2mBKPJe+i5q7fGscn5m0lTU85TBs0jYhze0Vc3cCv0A5VvWvDV1g/5+fpJ iISYlSW9a9QxeLCp7phyz+c/G9S1vIBh98yhK3Tv5M/yLzVOxpSqZFiGQ7ZkLEvvlBb0 /1nK9BNwpfhHUcACgsVh5GjLGtEGIAJvQX5pYD79lvv4ILa4oDF8JR5KarWiyCL2jTTJ 1vGDpCjPJnPZIfqBIkEv1fY+Ceu/NMsHFDa8IR0fq8FHjl4k10mJ2bmNEBmSRc/eb7qb sYpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:subject:user-agent :references:in-reply-to:message-id:date:cc:to:from :arc-authentication-results; bh=ujcysoLGrFWW/lReGitS2i5WoRxRG1Vit1KHmeRKhsc=; b=YjQ6TjUFWgrJpxcv0Re1ESeoBJ1wgtLUFzrJ18smr/O6/E4AB0eSIMb212tsABZm09 J/kUXLZqK7Q/ztigIr/WuLwdZPrOSj9pQNFIJH43UrtVBEJ/m6R5gLU1UVbFAehOLjya Wj6FREe/oRICK6v4AK1M13hj+WRtXFvYh6lTEgfqKcwGi8aDS+i5PTy2gKBe5i8rW9WQ q5cSiDVtMzu4gJb384TC488TKz37ciLPVIPBqeEl6Py1wJRIARZebWo9sA9lBT/L+ER9 0PTKA1TMUlUGFMamYmiA3tG15FJTHB3EkotB9K7YGk/+XXYQ+wAiEM644BlG7aJPjqBX HxRg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id o4-v6si302273wrm.1.2018.05.28.03.41.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 May 2018 03:41:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [100.87.196.51] ([188.170.80.27]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w4SAfmiD021778; Mon, 28 May 2018 12:41:50 +0200 From: Alexander Smirnov To: , CC: Claudius Heine Date: Mon, 28 May 2018 13:41:59 +0300 Message-ID: <163a65720f0.27ac.034a6b0541ed39b7fb4e17f4ac219eaa@ilbers.de> In-Reply-To: <20180524142112.5679-2-claudius.heine.ext@siemens.com> References: <20180524142112.5679-1-claudius.heine.ext@siemens.com> <20180524142112.5679-2-claudius.heine.ext@siemens.com> User-Agent: AquaMail/1.15.0-916 (build: 101500003) Subject: Re: [PATCH v5 1/1] meta-isar/isar-image-base: added removal of qemu-*-static binaries MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-TUID: LSg9rWxEbykV claudius.heine.ext@siemens.com 24 мая 2018 г. 17:21:26 написал: > From: Claudius Heine > > After the image has finished building, the qemu-*-static binaries that > are installed by quemu-debootstrap can be removed because they are no > longer needed. > > If this binary is overwritten by installing qemu-user-static into the > image, then this binary is not removed. (This is possible if the > binfmt_misc entry for this architecture has the 'F' flag. In that case > qemu-*-static shouldn't even be deployed by qemu-debootstrap.) > > Reported-by: Henning Schild > Signed-off-by: Claudius Heine Applied to next, thanks. Alex > --- > meta-isar/recipes-core/images/isar-image-base.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta-isar/recipes-core/images/isar-image-base.bb > b/meta-isar/recipes-core/images/isar-image-base.bb > index 5ad6df3..1239f72 100644 > --- a/meta-isar/recipes-core/images/isar-image-base.bb > +++ b/meta-isar/recipes-core/images/isar-image-base.bb > @@ -41,6 +41,9 @@ do_rootfs() { > # Cleanup > sudo rm "${IMAGE_ROOTFS}/${DISTRO_CONFIG_SCRIPT}" > sudo rm "${IMAGE_ROOTFS}/etc/apt/sources.list.d/isar-apt.list" > + test ! -e "${IMAGE_ROOTFS}/usr/share/doc/qemu-user-static" && \ > + sudo find "${IMAGE_ROOTFS}/usr/bin" \ > + -maxdepth 1 -name 'qemu-*-static' -type f -delete > sudo umount -l ${IMAGE_ROOTFS}/isar-apt > sudo rmdir ${IMAGE_ROOTFS}/isar-apt > sudo umount -l ${IMAGE_ROOTFS}/dev > -- > 2.17.0 > > -- > You received this message because you are subscribed to the Google Groups > "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to isar-users+unsubscribe@googlegroups.com. > To post to this group, send email to isar-users@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/isar-users/20180524142112.5679-2-claudius.heine.ext%40siemens.com. > For more options, visit https://groups.google.com/d/optout.