All of lore.kernel.org
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@citrix.com>,
	xen-devel@lists.xen.org
Subject: Re: [PATCH 5/8] raisin: Fix CentOS build
Date: Mon, 20 Apr 2015 10:04:44 +0100	[thread overview]
Message-ID: <5534C12C.8000800@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1504171111370.7690@kaball.uk.xensource.com>

On 04/17/2015 11:14 AM, Stefano Stabellini wrote:
> On Thu, 16 Apr 2015, George Dunlap wrote:
>> Add package dependencies for CentOS.  Also use PKGTYPE rather than
>> DISTRO to determine if we need rpm-build.
>>
>> I've tested this for xen but not for libvirt or grub.
>>
>> Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
>> ---
>> CC: Stefano Stabellini <stefano.stabellini@citrix.com>
>> ---
>>  components/grub    |  5 +++++
>>  components/libvirt |  7 +++++++
>>  components/xen     | 10 ++++++++--
>>  lib/commands.sh    |  2 +-
>>  4 files changed, 21 insertions(+), 3 deletions(-)
>>
>> diff --git a/components/grub b/components/grub
>> index 563a28c..af396d9 100644
>> --- a/components/grub
>> +++ b/components/grub
>> @@ -12,6 +12,11 @@ function grub_check_package() {
>>      local DEP_Fedora_x86_32="$DEP_Fedora_common"
>>      local DEP_Fedora_x86_64="$DEP_Fedora_common glibc-devel.i686"
>>  
>> +    local DEP_CentOS_common="make gcc tar automake autoconf sysconftool bison flex \
>> +                             glibc-devel"
>> +    local DEP_CentOS_x86_32="$DEP_CentOS_common"
>> +    local DEP_CentOS_x86_64="$DEP_CentOS_common glibc-devel.i686"
> 
> Given that they are the same as Fedora, I think it is OK to:
> 
> local DEP_CentOS_common="$DEP_Fedora_common"

In a previous version of the patch I had
"DEP_RedHat_{common,x86_32,x86_64}" (to mean things that were common
between all RH decendants, like Fedora or CentOS); but I couldn't make
the include stuff work properly.  Maybe just have a DEP_RedHat_common,
and allow the x86-specific ones to include it?

>>  
>>      if [[ $ARCH != "x86_64" && $ARCH != "x86_32" ]]
>>      then
>> diff --git a/components/libvirt b/components/libvirt
>> index 5853950..aef1bc8 100644
>> --- a/components/libvirt
>> +++ b/components/libvirt
>> @@ -18,6 +18,13 @@ function libvirt_check_package() {
>>      local DEP_Fedora_x86_32="$DEP_Fedora_common"
>>      local DEP_Fedora_x86_64="$DEP_Fedora_common"
>>  
>> +    local DEP_CentOS_common="patch make gcc libtool autoconf gettext-devel     \
>> +                             python-devel libxslt yajl-devel libxml2-devel     \
>> +                             device-mapper-devel libpciaccess-devel            \
>> +                             libuuid-devel perl-XML-XPath"
>> +    local DEP_CentOS_x86_32="$DEP_CentOS_common"
>> +    local DEP_CentOS_x86_64="$DEP_CentOS_common"
> 
> Same here, also please test the libvirt build: the list of dependencies
> is pretty big, I worry that one of them might actually differ from Fedora

If there were something missing, it wouldn't be a regression (since
libvirt doesn't apply without this patch either).  Testing libvirt is on
my to-do list, but if I don't get to it, would you mind checking it in
as-is (once the series is in better shape)?  I'll definitely get libvirt
working before the release.

 -George

  reply	other threads:[~2015-04-20  9:04 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16 16:19 [PATCH 1/8] raisin: Fix non-verbose case George Dunlap
2015-04-16 16:19 ` [PATCH 2/8] Include actual config in package, not defconfig George Dunlap
2015-04-17 10:10   ` Stefano Stabellini
2015-04-16 16:19 ` [PATCH 3/8] raisin: Use fakeroot for mkdeb so we can build the package as non-root George Dunlap
2015-04-17  8:43   ` Ian Campbell
2015-04-17  9:39     ` Stefano Stabellini
2015-04-20 17:08       ` Stefano Stabellini
2015-04-20  8:57     ` George Dunlap
2015-04-20  9:09       ` Ian Campbell
2015-04-16 16:19 ` [PATCH 4/8] raisin: Use PKGTYPE rather than DISTRO to determine how to build a package George Dunlap
2015-04-17 10:10   ` Stefano Stabellini
2015-04-20 17:08     ` Stefano Stabellini
2015-04-16 16:19 ` [PATCH 5/8] raisin: Fix CentOS build George Dunlap
2015-04-16 16:23   ` George Dunlap
2015-04-17 10:14   ` Stefano Stabellini
2015-04-20  9:04     ` George Dunlap [this message]
2015-04-20 10:29       ` Stefano Stabellini
2015-04-20 17:08         ` Stefano Stabellini
2015-04-16 16:19 ` [PATCH 6/8] raisin: Break build into components and allow the sub-steps to be called individually George Dunlap
2015-04-17 10:18   ` Stefano Stabellini
2015-04-20  9:05     ` George Dunlap
2015-04-16 16:19 ` [PATCH 7/8] raisin: Rework component specification George Dunlap
2015-04-17 10:37   ` Stefano Stabellini
2015-04-20  9:17     ` George Dunlap
2015-04-20 10:26       ` Stefano Stabellini
2015-04-17 10:40   ` Stefano Stabellini
2015-04-20  9:19     ` George Dunlap
2015-04-20 17:08       ` Stefano Stabellini
2015-04-16 16:19 ` [PATCH 8/8] raisin: RFC Add blktap2 as an external tree George Dunlap
2015-04-17 10:50   ` Stefano Stabellini
2015-04-17 11:04     ` Ian Campbell
2015-04-20  9:38     ` George Dunlap
2015-04-20 10:08       ` Stefano Stabellini
2015-04-17 10:58   ` Stefano Stabellini
2015-04-20 10:59     ` George Dunlap
2015-04-20 17:05       ` Stefano Stabellini
2015-04-21  9:25         ` Ian Campbell
2015-04-21  9:49           ` George Dunlap
2015-04-21 10:09             ` Stefano Stabellini
2015-04-21 10:30               ` George Dunlap
2015-04-21 10:42                 ` Stefano Stabellini
2015-04-21 10:47                   ` George Dunlap
2015-04-21 11:01                   ` Dave Scott
2015-04-21 11:04                     ` Dave Scott
2015-04-21 11:06                       ` George Dunlap
2015-04-21 11:20                         ` Dave Scott
2015-04-21 10:06           ` Stefano Stabellini
2015-04-17 10:06 ` [PATCH 1/8] raisin: Fix non-verbose case Stefano Stabellini
2015-04-20  8:49   ` George Dunlap
2015-04-20 10:01     ` Stefano Stabellini
2015-04-20 17:07       ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5534C12C.8000800@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.