diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2020-02-21 18:18:32 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-02-21 14:21:52 -0800 |
commit | 4e8fb9dfceaedc5e0b80f6fc61f127b632e100e5 (patch) | |
tree | f88c9ba515e2d40e9bd1ec08d8fb163e8a6dbad6 /meta-oe/recipes-extended/ostree | |
parent | aa90c0920e9fd0857dc94a9d5bdb5e310ece3ca5 (diff) | |
download | meta-openembedded-4e8fb9dfceaedc5e0b80f6fc61f127b632e100e5.tar.gz |
ostree: upgrade 2019.6 -> 2020.2
Also expose glib and gpgme in PACKAGECONFIG (which were always on).
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/ostree')
-rw-r--r-- | meta-oe/recipes-extended/ostree/ostree_2020.2.bb (renamed from meta-oe/recipes-extended/ostree/ostree_2019.6.bb) | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree_2019.6.bb b/meta-oe/recipes-extended/ostree/ostree_2020.2.bb index bcf511b902..78f4cf588c 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2019.6.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2020.2.bb @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" DEPENDS = " \ glib-2.0 \ - gpgme \ e2fsprogs \ libcap \ zlib \ @@ -26,7 +25,7 @@ SRC_URI = " \ gitsm://github.com/ostreedev/ostree \ file://run-ptest \ " -SRCREV = "43706202f7de2ce0c829a46caab350ae1656f6ad" +SRCREV = "c6085ebd5e27da35f43165eb614190665468f13a" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)" @@ -36,11 +35,11 @@ inherit autotools bash-completion gobject-introspection gtk-doc manpages pkgconf # Package configuration - match ostree defaults, but without rofiles-fuse # otherwise we introduce a dependendency on meta-filesystems -# -# If running with ptest, both soup (for trivial-httpd) and xattr are required PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ + glib \ + gpgme \ soup \ " @@ -49,6 +48,7 @@ PACKAGECONFIG ??= " \ PACKAGECONFIG_class-native ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ builtin-grub2-mkconfig \ + gpgme \ soup \ " @@ -56,8 +56,10 @@ PACKAGECONFIG[avahi] = "--with-avahi, --without-avahi, avahi" PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, --without-builtin-grub2-mkconfig" PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl" PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut" +PACKAGECONFIG[glib] = "--with-crypto=glib" PACKAGECONFIG[gjs] = "ac_cv_path_GJS=${bindir}/gjs" PACKAGECONFIG[gnutls] = "--with-crypto=gnutls, , gnutls" +PACKAGECONFIG[gpgme] = "--with-gpgme, --without-gpgme, gpgme" PACKAGECONFIG[libarchive] = "--with-libarchive, --without-libarchive, libarchive" PACKAGECONFIG[libmount] = "--with-libmount, --without-libmount, util-linux" PACKAGECONFIG[manpages] = "--enable-man, --disable-man, libxslt-native docbook-xsl-stylesheets-native" @@ -144,9 +146,21 @@ RDEPENDS_${PN} = " \ RDEPENDS_${PN}-dracut = "bash" RDEPENDS_${PN}-mkinitcpio = "bash" RDEPENDS_${PN}_class-target = " \ - gnupg \ + ${@bb.utils.contains('PACKAGECONFIG', 'gpgme', 'gnupg', '', d)} \ ${PN}-switchroot \ " + +# +# Note that to get ptest to pass you also need: +# +# xattr in DISTRO_FEATURES +# static ostree-prepare-root (PACKAGECONFIG_append_pn-ostree = " static") +# meta-python in your layers +# overlayfs in your kernel (KERNEL_EXTRA_FEATURES += "features/overlayfs/overlayfs.scc") +# busybox built statically +# /var/tmp as a real filesystem (not a tmpfs) +# Sufficient disk space (IMAGE_ROOTFS_SIZE = "524288") and RAM (QB_MEM = "-m 1024") +# RDEPENDS_${PN}-ptest += " \ attr \ bash \ @@ -157,7 +171,10 @@ RDEPENDS_${PN}-ptest += " \ grep \ python3-core \ python3-multiprocessing \ + strace \ tar \ + util-linux \ + xz \ ${PN}-trivial-httpd \ ${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'python3-pyyaml', '', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'gjs', 'gjs', '', d)} \ @@ -165,7 +182,6 @@ RDEPENDS_${PN}-ptest += " \ RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils glibc-localedata-en-us" RRECOMMENDS_${PN} += "kernel-module-overlay" -RRECOMMENDS_${PN}-ptest += "strace" SYSTEMD_SERVICE_${PN} = "ostree-remount.service ostree-finalize-staged.path" SYSTEMD_SERVICE_${PN}-switchroot = "ostree-prepare-root.service" |