From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6566315014247940096 X-Received: by 2002:aa7:c6d7:: with SMTP id b23-v6mr2279895eds.0.1528965605376; Thu, 14 Jun 2018 01:40:05 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:fd17:: with SMTP id i23-v6ls2910649eds.6.gmail; Thu, 14 Jun 2018 01:40:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLDncuT0VlIbpId8+2IvIPj2BD0OrdiadCW6uGcYqFELGJbdaqDx1ibICiUE++dPgVHcUxT X-Received: by 2002:aa7:c0cd:: with SMTP id j13-v6mr2268874edp.12.1528965604960; Thu, 14 Jun 2018 01:40:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528965604; cv=none; d=google.com; s=arc-20160816; b=W/jTd6wAlLDfrtxsLOAw5RMXmmGMSURRvlvhs0k5aLhV8fpM/KXyxZ3UD/v1vDsQmJ 7hEihT4h6PP418J6WpvQkxCj90oJ2iNUiMiAt4/lOLJ0rELxI5clLZMF1XeR2W6dD2MO jIPJMFH38Nj5IZX+/k27K5giRE9lWfvQSPHQzXUCpT8ODUtZ6aYmMGxJLGQ/c+EwVoHV J0da6n5rTwxdpUDq6mjJct9J7QWcd+oSKUYIFu4PpHac7SStNcb2A7B/qaACnPFDIriR oohutZFg33yP4th6NF3GJYPoKJntpZ7MiHYUeKs2Trc3hhdllcBilqk8gfVN3TCAkKea Jd+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=juHIj9Wiu5pkT5N0UDZJy1ihWSHzkzhXkEH9gWRfSPQ=; b=Om0IErlJah23ZFkTaxc4bg+44Ky587jEb5ojdDUE9TRH8PnAhZNipKY+MROkBgsCuI cWGINlo+nPPATTpvrN1CZdhSMF7RmRLoR3C5ou7Z3seQKHzaDNhD5uSaObltW7LjrhYS hScbEhWCiD9TdmWJEmfAzfRojBq9hzbKVpbp5D2k7ND0Vkg4FZz6hEcVmllVsXiY7QZ7 /cJoqN8S1DUGeXmuBZUddx6yeqagRCOPYAjqGi7LKnSQJj2wia10+ZxY5H7tSqiCbQE7 zQN4l+bvqytqgcizIta8ajiPEETnQklLvtUuXxXCk++fuYgkIRRlAcKT6laXWqBc+XjM wAgQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id x7-v6si210218edh.5.2018.06.14.01.40.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 01:40:04 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w5E8e4Xu002433 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 14 Jun 2018 10:40:04 +0200 Received: from md1pvb1c.ad001.siemens.net (md1pvb1c.ad001.siemens.net [139.25.68.40] (may be forged)) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w5E8e4Hh020510; Thu, 14 Jun 2018 10:40:04 +0200 Date: Thu, 14 Jun 2018 10:40:03 +0200 From: Henning Schild To: "[ext] Jan Kiszka" Cc: isar-users Subject: Re: [PATCH] Fix mounting of downloads dir into buildchroot Message-ID: <20180614104003.09186edc@md1pvb1c.ad001.siemens.net> In-Reply-To: <5e078304-29a8-460f-9859-84a7bfeb13b1@siemens.com> References: <5e078304-29a8-460f-9859-84a7bfeb13b1@siemens.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: eI6uza6UU9XK Am Tue, 12 Jun 2018 23:35:48 +0200 schrieb "[ext] Jan Kiszka" : > setup_root_file_system() mounts most of the required paths buildchroot > needs into its rootfs - except for the downloads dir. But do_build() > of dpkg-base cannot not detect this gap because it tests for isar-apt > being mounted. > > To close the gap without causing duplicate mounts, just add the > missing mount to the end of buildchroot do_build(). I am not sure i understand why you need that directory mounted in the first place. You build deps or recipe SRC_URI should provide you with everything you need. Can you please provide an example? Henning > Signed-off-by: Jan Kiszka > --- > meta/recipes-devtools/buildchroot/buildchroot.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-devtools/buildchroot/buildchroot.bb > b/meta/recipes-devtools/buildchroot/buildchroot.bb index > 538c577..2ed5cf2 100644 --- > a/meta/recipes-devtools/buildchroot/buildchroot.bb +++ > b/meta/recipes-devtools/buildchroot/buildchroot.bb @@ -78,4 +78,6 @@ > do_build() { # Configure root filesystem > sudo install -m 755 ${WORKDIR}/configscript.sh ${BUILDCHROOT_DIR} > sudo chroot ${BUILDCHROOT_DIR} /configscript.sh > + > + sudo mount --bind ${DL_DIR} ${BUILDCHROOT_DIR}/downloads > }