README: Add dependencies per Platform

Message ID 1517406665-17298-1-git-send-email-debmc@linux.vnet.ibm.com
State Accepted
Headers show
Series
  • README: Add dependencies per Platform
Related show

Commit Message

Deb McLemore Jan. 31, 2018, 1:51 p.m.
Add platform distro dependency specifics (per architecture).

Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
---
 README | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Comments

Colin Ian King Jan. 31, 2018, 1:54 p.m. | #1
On 31/01/18 13:51, Deb McLemore wrote:
> Add platform distro dependency specifics (per architecture).
> 
> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
> ---
>  README | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/README b/README
> index 521bd86..1c5951c 100644
> --- a/README
> +++ b/README
> @@ -6,7 +6,18 @@ Quick Start Guide
>  
>  1) Dependencies:
>  
> -	autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
> +Ubuntu Distro x86_64
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
> +	libjson-c-dev flex bison dkms libfdt-dev
> +
> +Ubuntu Distro ppc64el
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
> +	flex bison dkms libfdt-dev device-tree-compiler
> +
> +RHEL Distro ppc64el
> +	autoconf automake kernel-devel libtool flex flex-devel bison dkms
> +	libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
> +	pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>  
>  2) To build and install (only if building from source)
>  
> 
Always useful to have, thanks Deb!

Acked-by: Colin Ian King <colin.king@canonical.com>
Jeffrey Hugo Jan. 31, 2018, 3:36 p.m. | #2
On 1/31/2018 6:51 AM, Deb McLemore wrote:
> Add platform distro dependency specifics (per architecture).
> 
> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
> ---
>   README | 13 ++++++++++++-
>   1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/README b/README
> index 521bd86..1c5951c 100644
> --- a/README
> +++ b/README
> @@ -6,7 +6,18 @@ Quick Start Guide
>   
>   1) Dependencies:
>   
> -	autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
> +Ubuntu Distro x86_64
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
> +	libjson-c-dev flex bison dkms libfdt-dev
> +
> +Ubuntu Distro ppc64el
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
> +	flex bison dkms libfdt-dev device-tree-compiler
> +
> +RHEL Distro ppc64el
> +	autoconf automake kernel-devel libtool flex flex-devel bison dkms
> +	libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
> +	pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>   
>   2) To build and install (only if building from source)
>   
> 

What about ARM64?
Jeffrey Hugo Jan. 31, 2018, 5:39 p.m. | #3
On 1/31/2018 8:36 AM, Jeffrey Hugo wrote:
> On 1/31/2018 6:51 AM, Deb McLemore wrote:
>> Add platform distro dependency specifics (per architecture).
>>
>> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
>> ---
>>   README | 13 ++++++++++++-
>>   1 file changed, 12 insertions(+), 1 deletion(-)
>>
>> diff --git a/README b/README
>> index 521bd86..1c5951c 100644
>> --- a/README
>> +++ b/README
>> @@ -6,7 +6,18 @@ Quick Start Guide
>>   1) Dependencies:
>> -    autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, 
>> libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
>> +Ubuntu Distro x86_64
>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
>> +    libjson-c-dev flex bison dkms libfdt-dev
>> +
>> +Ubuntu Distro ppc64el
>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
>> +    flex bison dkms libfdt-dev device-tree-compiler
>> +
>> +RHEL Distro ppc64el
>> +    autoconf automake kernel-devel libtool flex flex-devel bison dkms
>> +    libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 
>> pcre2-devel
>> +    pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel 
>> zlib-devel
>>   2) To build and install (only if building from source)
>>
> 
> What about ARM64?
> 

Maybe a better question, what is the value in delineating by arch?

Ok, I see powerPC needs the device tree compiler.  Why is that only 
needed for powerPC, and what is the argument against listing that for 
Ubuntu on all arches?

I see the value of specifying a tailored list by distro, but adding an 
arch to the matrix seems like a massive amount of effort to generate and 
maintain the various variants, for little gain.
Deb McLemore Jan. 31, 2018, 5:40 p.m. | #4
Ubuntu Distro X86_64 ARM64 is the suggestion ?

I can update ... any other distro's or arch's ?


On 01/31/2018 09:36 AM, Jeffrey Hugo wrote:
> On 1/31/2018 6:51 AM, Deb McLemore wrote:
>> Add platform distro dependency specifics (per architecture).
>>
>> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
>> ---
>>   README | 13 ++++++++++++-
>>   1 file changed, 12 insertions(+), 1 deletion(-)
>>
>> diff --git a/README b/README
>> index 521bd86..1c5951c 100644
>> --- a/README
>> +++ b/README
>> @@ -6,7 +6,18 @@ Quick Start Guide
>>     1) Dependencies:
>>   -    autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
>> +Ubuntu Distro x86_64
>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
>> +    libjson-c-dev flex bison dkms libfdt-dev
>> +
>> +Ubuntu Distro ppc64el
>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
>> +    flex bison dkms libfdt-dev device-tree-compiler
>> +
>> +RHEL Distro ppc64el
>> +    autoconf automake kernel-devel libtool flex flex-devel bison dkms
>> +    libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
>> +    pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>>     2) To build and install (only if building from source)
>>  
>
> What about ARM64?
>
Deb McLemore Jan. 31, 2018, 5:45 p.m. | #5
I'm not sure the history on why the distro specifics were not identified before, but the

thought was to add what we know today and what is useful and maintain going forward.

If arch is not deemed helpful, that can be removed.  I have insight for ppc64le, I'll need other

input on how best to format for coverage on the previous arch's/distro's.


On 01/31/2018 11:39 AM, Jeffrey Hugo wrote:
> On 1/31/2018 8:36 AM, Jeffrey Hugo wrote:
>> On 1/31/2018 6:51 AM, Deb McLemore wrote:
>>> Add platform distro dependency specifics (per architecture).
>>>
>>> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
>>> ---
>>>   README | 13 ++++++++++++-
>>>   1 file changed, 12 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/README b/README
>>> index 521bd86..1c5951c 100644
>>> --- a/README
>>> +++ b/README
>>> @@ -6,7 +6,18 @@ Quick Start Guide
>>>   1) Dependencies:
>>> -    autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
>>> +Ubuntu Distro x86_64
>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
>>> +    libjson-c-dev flex bison dkms libfdt-dev
>>> +
>>> +Ubuntu Distro ppc64el
>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
>>> +    flex bison dkms libfdt-dev device-tree-compiler
>>> +
>>> +RHEL Distro ppc64el
>>> +    autoconf automake kernel-devel libtool flex flex-devel bison dkms
>>> +    libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
>>> +    pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>>>   2) To build and install (only if building from source)
>>>
>>
>> What about ARM64?
>>
>
> Maybe a better question, what is the value in delineating by arch?
>
> Ok, I see powerPC needs the device tree compiler.  Why is that only needed for powerPC, and what is the argument against listing that for Ubuntu on all arches?
>
> I see the value of specifying a tailored list by distro, but adding an arch to the matrix seems like a massive amount of effort to generate and maintain the various variants, for little gain.
>
Colin Ian King Jan. 31, 2018, 5:55 p.m. | #6
On 31/01/18 17:45, Deb McLemore wrote:
> I'm not sure the history on why the distro specifics were not identified before, but the
> 
> thought was to add what we know today and what is useful and maintain going forward.
> 
> If arch is not deemed helpful, that can be removed.  I have insight for ppc64le, I'll need other
> 
> input on how best to format for coverage on the previous arch's/distro's.

I'd rather have some distro package info than none for sure.  Let's go
with what we have here and I'll try and figure out if there any
differences for other arches and I'll update the README as and when.

Colin

> 
> 
> On 01/31/2018 11:39 AM, Jeffrey Hugo wrote:
>> On 1/31/2018 8:36 AM, Jeffrey Hugo wrote:
>>> On 1/31/2018 6:51 AM, Deb McLemore wrote:
>>>> Add platform distro dependency specifics (per architecture).
>>>>
>>>> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
>>>> ---
>>>>   README | 13 ++++++++++++-
>>>>   1 file changed, 12 insertions(+), 1 deletion(-)
>>>>
>>>> diff --git a/README b/README
>>>> index 521bd86..1c5951c 100644
>>>> --- a/README
>>>> +++ b/README
>>>> @@ -6,7 +6,18 @@ Quick Start Guide
>>>>   1) Dependencies:
>>>> -    autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
>>>> +Ubuntu Distro x86_64
>>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
>>>> +    libjson-c-dev flex bison dkms libfdt-dev
>>>> +
>>>> +Ubuntu Distro ppc64el
>>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
>>>> +    flex bison dkms libfdt-dev device-tree-compiler
>>>> +
>>>> +RHEL Distro ppc64el
>>>> +    autoconf automake kernel-devel libtool flex flex-devel bison dkms
>>>> +    libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
>>>> +    pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>>>>   2) To build and install (only if building from source)
>>>>
>>>
>>> What about ARM64?
>>>
>>
>> Maybe a better question, what is the value in delineating by arch?
>>
>> Ok, I see powerPC needs the device tree compiler.  Why is that only needed for powerPC, and what is the argument against listing that for Ubuntu on all arches?
>>
>> I see the value of specifying a tailored list by distro, but adding an arch to the matrix seems like a massive amount of effort to generate and maintain the various variants, for little gain.
>>
> 
>
Jeffrey Hugo Jan. 31, 2018, 6:37 p.m. | #7
On 1/31/2018 10:55 AM, Colin Ian King wrote:
> On 31/01/18 17:45, Deb McLemore wrote:
>> I'm not sure the history on why the distro specifics were not identified before, but the
>>
>> thought was to add what we know today and what is useful and maintain going forward.
>>
>> If arch is not deemed helpful, that can be removed.  I have insight for ppc64le, I'll need other
>>
>> input on how best to format for coverage on the previous arch's/distro's.
> 
> I'd rather have some distro package info than none for sure.  Let's go
> with what we have here and I'll try and figure out if there any
> differences for other arches and I'll update the README as and when.
> 

Works for me.  For Ubuntu on ARM64 (specifically 16.04.3 on QDF2400), 
the default list we have in the tree today works for me.  I don't know 
if that can be pared down, but I don't need to add anything to it.

> Colin
> 
>>
>>
>> On 01/31/2018 11:39 AM, Jeffrey Hugo wrote:
>>> On 1/31/2018 8:36 AM, Jeffrey Hugo wrote:
>>>> On 1/31/2018 6:51 AM, Deb McLemore wrote:
>>>>> Add platform distro dependency specifics (per architecture).
>>>>>
>>>>> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
>>>>> ---
>>>>>    README | 13 ++++++++++++-
>>>>>    1 file changed, 12 insertions(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/README b/README
>>>>> index 521bd86..1c5951c 100644
>>>>> --- a/README
>>>>> +++ b/README
>>>>> @@ -6,7 +6,18 @@ Quick Start Guide
>>>>>    1) Dependencies:
>>>>> -    autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
>>>>> +Ubuntu Distro x86_64
>>>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
>>>>> +    libjson-c-dev flex bison dkms libfdt-dev
>>>>> +
>>>>> +Ubuntu Distro ppc64el
>>>>> +    autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
>>>>> +    flex bison dkms libfdt-dev device-tree-compiler
>>>>> +
>>>>> +RHEL Distro ppc64el
>>>>> +    autoconf automake kernel-devel libtool flex flex-devel bison dkms
>>>>> +    libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
>>>>> +    pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>>>>>    2) To build and install (only if building from source)
>>>>>
>>>>
>>>> What about ARM64?
>>>>
>>>
>>> Maybe a better question, what is the value in delineating by arch?
>>>
>>> Ok, I see powerPC needs the device tree compiler.  Why is that only needed for powerPC, and what is the argument against listing that for Ubuntu on all arches?
>>>
>>> I see the value of specifying a tailored list by distro, but adding an arch to the matrix seems like a massive amount of effort to generate and maintain the various variants, for little gain.
>>>
>>
>>
> 
>
Alex Hung Feb. 8, 2018, 1:03 a.m. | #8
On 2018-01-31 05:51 AM, Deb McLemore wrote:
> Add platform distro dependency specifics (per architecture).
> 
> Signed-off-by: Deb McLemore <debmc@linux.vnet.ibm.com>
> ---
>   README | 13 ++++++++++++-
>   1 file changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git a/README b/README
> index 521bd86..1c5951c 100644
> --- a/README
> +++ b/README
> @@ -6,7 +6,18 @@ Quick Start Guide
>   
>   1) Dependencies:
>   
> -	autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
> +Ubuntu Distro x86_64
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
> +	libjson-c-dev flex bison dkms libfdt-dev
> +
> +Ubuntu Distro ppc64el
> +	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
> +	flex bison dkms libfdt-dev device-tree-compiler
> +
> +RHEL Distro ppc64el
> +	autoconf automake kernel-devel libtool flex flex-devel bison dkms
> +	libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
> +	pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
>   
>   2) To build and install (only if building from source)
>   
> 

Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/README b/README
index 521bd86..1c5951c 100644
--- a/README
+++ b/README
@@ -6,7 +6,18 @@  Quick Start Guide
 
 1) Dependencies:
 
-	autoconf, automake, libglib2.0-dev, libtool, libpcre3-dev, libjson0-dev | libjson-c-dev, flex, bison, dkms, libfdt-dev
+Ubuntu Distro x86_64
+	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson0-dev
+	libjson-c-dev flex bison dkms libfdt-dev
+
+Ubuntu Distro ppc64el
+	autoconf automake libglib2.0-dev libtool libpcre3-dev libjson-c-dev
+	flex bison dkms libfdt-dev device-tree-compiler
+
+RHEL Distro ppc64el
+	autoconf automake kernel-devel libtool flex flex-devel bison dkms
+	libfdt libfdt-devel dtc json-c json-c-devel pcre-devel pcre2 pcre2-devel
+	pcre2-utf16 pcre2-utf32 glib2 glib2-devel pciutils pciutils-devel zlib-devel
 
 2) To build and install (only if building from source)