[oe] postgresql: use util-linux's uuid

Message ID 20180831144201.5100-1-ross.burton@intel.com
State New
Headers show
Series
  • [oe] postgresql: use util-linux's uuid
Related show

Commit Message

Ross Burton Aug. 31, 2018, 2:42 p.m.
Postgreqsql was configured to use ossp-uuid but ossp-uuid is dead and everyone
will be building util-linux anyway, so use the libuuid.so from there.

Confusing the option is called e2fs because the library originated in e2fsprogs.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Comments

Khem Raj Aug. 31, 2018, 4:35 p.m. | #1
its already in see
http://git.openembedded.org/meta-openembedded/commit/?id=140bf68e37

On Fri, Aug 31, 2018 at 7:42 AM Ross Burton <ross.burton@intel.com> wrote:
>

> Postgreqsql was configured to use ossp-uuid but ossp-uuid is dead and everyone

> will be building util-linux anyway, so use the libuuid.so from there.

>

> Confusing the option is called e2fs because the library originated in e2fsprogs.

>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>  meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc

> index 1301060ee5..44a1b30fe0 100644

> --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc

> +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc

> @@ -59,7 +59,7 @@ PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"

>  PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"

>  PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"

>  PACKAGECONFIG[python] = "--with-python,--without-python,python,python"

> -PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid,"

> +PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux,"

>  PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"

>  PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"

>  PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"

> --

> 2.11.0

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ross Burton Sept. 3, 2018, 9:24 a.m. | #2
Sorry!

On 31 August 2018 at 17:35, Khem Raj <raj.khem@gmail.com> wrote:
> its already in see

> http://git.openembedded.org/meta-openembedded/commit/?id=140bf68e37

>

> On Fri, Aug 31, 2018 at 7:42 AM Ross Burton <ross.burton@intel.com> wrote:

>>

>> Postgreqsql was configured to use ossp-uuid but ossp-uuid is dead and everyone

>> will be building util-linux anyway, so use the libuuid.so from there.

>>

>> Confusing the option is called e2fs because the library originated in e2fsprogs.

>>

>> Signed-off-by: Ross Burton <ross.burton@intel.com>

>> ---

>>  meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +-

>>  1 file changed, 1 insertion(+), 1 deletion(-)

>>

>> diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc

>> index 1301060ee5..44a1b30fe0 100644

>> --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc

>> +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc

>> @@ -59,7 +59,7 @@ PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"

>>  PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"

>>  PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"

>>  PACKAGECONFIG[python] = "--with-python,--without-python,python,python"

>> -PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid,"

>> +PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux,"

>>  PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"

>>  PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"

>>  PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"

>> --

>> 2.11.0

>>

>> --

>> _______________________________________________

>> Openembedded-devel mailing list

>> Openembedded-devel@lists.openembedded.org

>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 1301060ee5..44a1b30fe0 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -59,7 +59,7 @@  PACKAGECONFIG ??= "${enable_pam} openssl python uuid libxml tcl nls libxml perl"
 PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"
 PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl,"
 PACKAGECONFIG[python] = "--with-python,--without-python,python,python"
-PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid,"
+PACKAGECONFIG[uuid] = "--with-uuid=e2fs,--without-uuid,util-linux,"
 PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
 PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
 PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2"