From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6458972999552860160 X-Received: by 10.28.175.138 with SMTP id y132mr69091wme.6.1503933604551; Mon, 28 Aug 2017 08:20:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.66.205 with SMTP id k74ls137257wmi.25.gmail; Mon, 28 Aug 2017 08:20:04 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4g3wlqEBQ69vuIoqwnv0vP8pqTk849wFnJOKHhUMzfi2B2dmA42Ey/0Eit4aPCBJlSs8t5 X-Received: by 10.28.137.141 with SMTP id l135mr71080wmd.5.1503933604040; Mon, 28 Aug 2017 08:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503933604; cv=none; d=google.com; s=arc-20160816; b=gGOHWbyJ4f75n5y724z8my4z4OgRxcAJ2YI4L6iMXBPGOOEUDZPliAdkJUq7jiPzgP dXfmrssU5Q21j/zRtaHEXyZGYNfxRlBWx+YY/7hFRl+jbRhQv/hGpRTrmbJX6Ob6UBS8 tFD8fw5HdS/dU1segU9jzukp/urOYgDRmIK1wNXIRkd+4q08GYCzhM3i3Olsh6/dSWxf X+IR3o0gcL/N+1GUhiaS2cLRPFXeplnHPDfLQV80VUvrfp76I9NFfHRoh+VpCxoCxQIu Jd4etBgbymlfOIRJqT/+pq8JfYixPcFH+VpPMtucW2VapKPL3qwnnov6YTatrz8HQCSo KueA== 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=ol0lyLaDZCb7D0hcuZRFoiQ+MDv6WDyXcrR27mMA6Ms=; b=zZTM0KhX/MlevTiez1iSqg4X/HqrUtl3Rw4b3RBYSzd5csvEBz1Vw3Hup39pTG0kbB 5jwyC/tCfGFxUhcp8SrQn9Uzae3BHpAwxN3NgpL8R0IOwJC3CkoRmEv3YFrq5+FQvNof 30vMFTzsXPaDr9XNNJan9QIB/LFSdQJ7jaK9j6HtyZP/Wpbxxnxs/jdHcSSOh1zuVGPX vgSttir+ouLihGCdC6gh8+gTxeSLmcd6NYZhkEH6oXeV5EyLIeirPhE4mBuqXQ7HJuMv aMiDow1HI67LvSrEk1uPhM+uqYm4898DZTOESk3mrULq1Eh4RYIXcxT1WUxX3Ppr4PiP 4uww== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) 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 v195si62834wmf.0.2017.08.28.08.20.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Aug 2017 08:20:04 -0700 (PDT) Received-SPF: neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.35.17.14 is neither permitted nor denied by best guess record for domain of henning.schild@siemens.com) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id v7SFK3qR026987 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 28 Aug 2017 17:20:03 +0200 Received: from md1em3qc ([139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id v7SFK3uk011359; Mon, 28 Aug 2017 17:20:03 +0200 Date: Mon, 28 Aug 2017 17:20:06 +0200 From: Henning Schild To: Alexander Smirnov Cc: , Baurzhan Ismagulov Subject: Re: [PATCH 2/6] classes/image: Provide /dev/null for Stretch apt Message-ID: <20170828172006.44dfa73b@md1em3qc> In-Reply-To: <20170827151339.12806-3-asmirnov@ilbers.de> References: <20170827151339.12806-1-asmirnov@ilbers.de> <20170827151339.12806-3-asmirnov@ilbers.de> X-Mailer: Claws Mail 3.13.2 (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: 8oV+m7fUcr+o Am Sun, 27 Aug 2017 18:13:35 +0300 schrieb Alexander Smirnov : > From: Baurzhan Ismagulov > > Signed-off-by: Alexander Smirnov > Signed-off-by: Baurzhan Ismagulov > --- > meta/classes/image.bbclass | 3 +++ > meta/recipes-devtools/buildchroot/files/configscript.sh | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass > index f42aa48..c2ff453 100644 > --- a/meta/classes/image.bbclass > +++ b/meta/classes/image.bbclass > @@ -20,11 +20,14 @@ do_populate() { > sudo mkdir -p "${S}/${DEBCACHEMNT}" > sudo mount -o bind "${DIR_CACHE}" "${S}/${DEBCACHEMNT}" > > + # apt-get http method, gpg require /dev/null > + # Otherwise, apt http method hangs on Stretch > sudo chroot "${S}" apt-get update -y > for package in ${IMAGE_INSTALL}; do > sudo chroot "${S}" apt-get install -t > "${DEBDISTRONAME}" -y \ --allow-unauthenticated "${package}" > done > + sudo umount "${S}/dev" I see a new umount and a comment, where is the new mount? Henning > sudo umount "${S}/${DEBCACHEMNT}" > else > diff --git a/meta/recipes-devtools/buildchroot/files/configscript.sh > b/meta/recipes-devtools/buildchroot/files/configscript.sh index > 5080ae1..08c818b 100644 --- > a/meta/recipes-devtools/buildchroot/files/configscript.sh +++ > b/meta/recipes-devtools/buildchroot/files/configscript.sh @@ -40,6 > +40,7 @@ export LC_ALL=C LANGUAGE=C > LANG=C /var/lib/dpkg/info/dash.preinst install > # apt-get http method, gpg require /dev/null > +# Otherwise, apt http method hangs on Stretch > mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev > > #configuring packages