From patchwork Tue Oct 31 13:51:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 10034589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6C2DC602B9 for ; Tue, 31 Oct 2017 14:00:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B56828174 for ; Tue, 31 Oct 2017 14:00:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5006228ACB; Tue, 31 Oct 2017 14:00:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E18F628AAE for ; Tue, 31 Oct 2017 14:00:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9X3k-0003TE-KP; Tue, 31 Oct 2017 13:58:28 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9X3j-0003SM-FA for xen-devel@lists.xenproject.org; Tue, 31 Oct 2017 13:58:27 +0000 Received: from [85.158.143.35] by server-9.bemta-6.messagelabs.com id 02/5F-30115-28188F95; Tue, 31 Oct 2017 13:58:26 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrEIsWRWlGSWpSXmKPExsXitHSDvW5T449 Igy3XRS2+b5nM5MDocfjDFZYAxijWzLyk/IoE1owNr5ezFWxjr/g88yJbA2MPWxcjJ4eEgL/E 0wPHmEBsNgFliZ+dvWBxEQE9iaYDzxlBbGYBO4nmRx9YQGxhAU+JLSc+gtWwCKhKNC1ewQxi8 wpYSnxZ/oMdYqa8xK62i6wgNidQfP3TJrC4kICFxL1l3xkhbAWJjukQe3kFBCVOznzCArFLQu LgixfMExh5ZyFJzUKSWsDItIpRvTi1qCy1SNdQL6koMz2jJDcxM0fX0MBMLze1uDgxPTUnMal YLzk/dxMjMHQYgGAH487nTocYJTmYlER5dzp+jxTiS8pPqcxILM6ILyrNSS0+xCjDwaEkwevQ 8CNSSLAoNT21Ii0zBxjEMGkJDh4lEd7DIGne4oLE3OLMdIjUKUZ7jmObLv9h4rjx8DqQ7Lh5F 0g+m/m6gVmIJS8/L1VKnPcRSJsASFtGaR7cUFjUXWKUlRLmZQQ6U4inILUoN7MEVf4VozgHo5 IwryvIFJ7MvBK43a+AzmICOstLAuyskkSElFQDo7HpxBzXymBLnt/BjnHX1ri1XT3jccg30bi 2anoE4xWGlG+Vn05Z6szOSFpm0bNimbDxNscPM51SbXbpdeyqna7C0Htu8aQwtbKi0ldXJmye a7TBWvbd5h0CS5YI6R+Z/vLOnpx+xaltl4vOy/5dsWb7qxPnL310fCCQNGV+SBpfYewHq2XLt iuxFGckGmoxFxUnAgBWbPectQIAAA== X-Env-Sender: prvs=470789eaf=wei.liu2@citrix.com X-Msg-Ref: server-13.tower-21.messagelabs.com!1509458298!73901128!4 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 21533 invoked from network); 31 Oct 2017 13:58:26 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-13.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 31 Oct 2017 13:58:26 -0000 X-IronPort-AV: E=Sophos;i="5.44,324,1505779200"; d="scan'208";a="457036587" From: Wei Liu To: Xen-devel Date: Tue, 31 Oct 2017 13:51:56 +0000 Message-ID: <20171031135203.11537-13-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171031135203.11537-1-wei.liu2@citrix.com> References: <20171031135203.11537-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: ian.jackson@eu.citrix.com, Wei Liu Subject: [Xen-devel] [OSSTEST PATCH v2 12/19] ts-xen-build-prep: install e2fslibs-dev X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The in-tree libfsimage ext2fs implementation can't handle 64bit enabled ext4, which is the default in stretch. Installing e2fslibs-dev causes libfsimage to pick up the packaged ext2fs implementation. Signed-off-by: Wei Liu --- ts-xen-build-prep | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 80bfb30..8b4b08a 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -225,6 +225,12 @@ sub prep () { push(@packages, qw(texinfo autopoint libpciaccess-dev)); } + # The in-tree ext4 support in libfsimage can't cope with 64bit ext4 on + # 32bit build. Use the packaged library. + if ($ho->{Suite} !~ m/squeeze|wheezy|jessie/) { + push(@packages, qw(e2fslibs-dev)); + } + target_install_packages($ho, @packages); target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates"); # workaround for Debian #595728