From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 2406D7761C for ; Tue, 6 Sep 2016 15:26:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u86FQ95s012874; Tue, 6 Sep 2016 16:26:09 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4ITMj-czOMik; Tue, 6 Sep 2016 16:26:09 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u86FQ5Yg012871 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 6 Sep 2016 16:26:06 +0100 Message-ID: <1473175565.20226.54.camel@linuxfoundation.org> From: Richard Purdie To: Nicolas Dechesne , Joshua Lock Date: Tue, 06 Sep 2016 16:26:05 +0100 In-Reply-To: References: <387803c1b2b8c0f2b3b29b55be61c27b52b4e7f0.1472225461.git.joshua.g.lock@intel.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Cc: Patches and discussions about the oe-core layer Subject: Re: [PATCH 2/2] oe.path: preserve xattr in copytree() and copyhardlinktree() X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 15:26:15 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2016-09-06 at 17:22 +0200, Nicolas Dechesne wrote: > What happens is that I am installing coreutils in my images, and i > have a copy of 'cp' in my sysroot *and* I don't have xattrs in > DISTRO_FEATURES. As a consequence the 'cp' command which is invoked > does not have xattrs support, while my host 'cp' command has it... > > e.g. > > ~/work/oe-rpb-master/build-rpb$ > tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin/cp -afl --preserve=xattr > foo bar > tmp-rpb-glibc/sysroots/x86_64-linux/usr/bin/cp: cannot preserve > extended attributes, cp is built without xattr support > > while this one works fine: > > ~/work/oe-rpb-master/build-rpb$ cp -afl --preserve=xattr foo bar > > Should we revert these patches or am I missing anything? Did you have: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=92fc3ef9738165300a4daed4c90526dbbad43149 Cheers, Richard