Skip to contentSkip to conversation

mongodb: add mongo shell as a PACKAGECONF option

PATCH In review Vincent Prince 2 participants 3 messages Aug 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mongodb: add mongo shell as a PACKAGECONF option

---
 meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-dbs/mongodb/mongodb_git.bb +2 -2
index 7634e5d..ed05517 100644
@@ -45,6 +45,7 @@ PACKAGECONFIG_remove_armv6 = "tcmalloc"
 PACKAGECONFIG_remove_libc-musl = "tcmalloc"
 
 PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools,"
+PACKAGECONFIG[shell] = ",--js-engine=none,,"
 
 EXTRA_OESCONS = "--prefix=${D}${prefix} \
                  LIBPATH=${STAGING_LIBDIR} \
@@ -55,12 +56,11 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \
                  --disable-warnings-as-errors \
                  --use-system-pcre \
                  --use-system-zlib \
-                 --js-engine=none \
                  --nostrip \
                  --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
                  --wiredtiger=${@['off','on'][d.getVar('SITEINFO_BITS') != '32']} \
                  ${PACKAGECONFIG_CONFARGS} \
-                 mongod mongos"
+                 core"
 
 do_configure_prepend() {
         # tests use hex floats, not supported in plain C++
Signature · 1 line
2.7.4
#1 lore raw

meta-oe/recipes-dbs/mongodb/mongodb_git.bb EXTRA_OESCONS = "--prefix=${D}${prefix} \ · line 63

Quoted 4 lines · Vincent Prince

...

meta-oe/recipes-dbs/mongodb/mongodb_git.bb +1 -1
-                 mongod mongos"
+                 core"
...

Was this change unintended?

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw

Hi Adrian,

"core" target includes "mongod mongos" as before plus "mongo" (shell) so it is intended.

Regards,
Vincent

Quoted 19 lines · Adrian Bunk

meta-oe/recipes-dbs/mongodb/mongodb_git.bb EXTRA_OESCONS = "--prefix=${D}${prefix} \ · line 63

Quoted 4 lines · Vincent Prince

...

meta-oe/recipes-dbs/mongodb/mongodb_git.bb +1 -1
-                 mongod mongos"
+                 core"
...

Was this change unintended?

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed