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 bcf511b90..78f4cf588 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" | |||
10 | 10 | ||
11 | DEPENDS = " \ | 11 | DEPENDS = " \ |
12 | glib-2.0 \ | 12 | glib-2.0 \ |
13 | gpgme \ | ||
14 | e2fsprogs \ | 13 | e2fsprogs \ |
15 | libcap \ | 14 | libcap \ |
16 | zlib \ | 15 | zlib \ |
@@ -26,7 +25,7 @@ SRC_URI = " \ | |||
26 | gitsm://github.com/ostreedev/ostree \ | 25 | gitsm://github.com/ostreedev/ostree \ |
27 | file://run-ptest \ | 26 | file://run-ptest \ |
28 | " | 27 | " |
29 | SRCREV = "43706202f7de2ce0c829a46caab350ae1656f6ad" | 28 | SRCREV = "c6085ebd5e27da35f43165eb614190665468f13a" |
30 | 29 | ||
31 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)" | 30 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+)" |
32 | 31 | ||
@@ -36,11 +35,11 @@ inherit autotools bash-completion gobject-introspection gtk-doc manpages pkgconf | |||
36 | 35 | ||
37 | # Package configuration - match ostree defaults, but without rofiles-fuse | 36 | # Package configuration - match ostree defaults, but without rofiles-fuse |
38 | # otherwise we introduce a dependendency on meta-filesystems | 37 | # otherwise we introduce a dependendency on meta-filesystems |
39 | # | ||
40 | # If running with ptest, both soup (for trivial-httpd) and xattr are required | ||
41 | PACKAGECONFIG ??= " \ | 38 | PACKAGECONFIG ??= " \ |
42 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ | 39 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ |
43 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ | 40 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ |
41 | glib \ | ||
42 | gpgme \ | ||
44 | soup \ | 43 | soup \ |
45 | " | 44 | " |
46 | 45 | ||
@@ -49,6 +48,7 @@ PACKAGECONFIG ??= " \ | |||
49 | PACKAGECONFIG_class-native ??= " \ | 48 | PACKAGECONFIG_class-native ??= " \ |
50 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ | 49 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ |
51 | builtin-grub2-mkconfig \ | 50 | builtin-grub2-mkconfig \ |
51 | gpgme \ | ||
52 | soup \ | 52 | soup \ |
53 | " | 53 | " |
54 | 54 | ||
@@ -56,8 +56,10 @@ PACKAGECONFIG[avahi] = "--with-avahi, --without-avahi, avahi" | |||
56 | PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, --without-builtin-grub2-mkconfig" | 56 | PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, --without-builtin-grub2-mkconfig" |
57 | PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl" | 57 | PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl" |
58 | PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut" | 58 | PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut" |
59 | PACKAGECONFIG[glib] = "--with-crypto=glib" | ||
59 | PACKAGECONFIG[gjs] = "ac_cv_path_GJS=${bindir}/gjs" | 60 | PACKAGECONFIG[gjs] = "ac_cv_path_GJS=${bindir}/gjs" |
60 | PACKAGECONFIG[gnutls] = "--with-crypto=gnutls, , gnutls" | 61 | PACKAGECONFIG[gnutls] = "--with-crypto=gnutls, , gnutls" |
62 | PACKAGECONFIG[gpgme] = "--with-gpgme, --without-gpgme, gpgme" | ||
61 | PACKAGECONFIG[libarchive] = "--with-libarchive, --without-libarchive, libarchive" | 63 | PACKAGECONFIG[libarchive] = "--with-libarchive, --without-libarchive, libarchive" |
62 | PACKAGECONFIG[libmount] = "--with-libmount, --without-libmount, util-linux" | 64 | PACKAGECONFIG[libmount] = "--with-libmount, --without-libmount, util-linux" |
63 | PACKAGECONFIG[manpages] = "--enable-man, --disable-man, libxslt-native docbook-xsl-stylesheets-native" | 65 | PACKAGECONFIG[manpages] = "--enable-man, --disable-man, libxslt-native docbook-xsl-stylesheets-native" |
@@ -144,9 +146,21 @@ RDEPENDS_${PN} = " \ | |||
144 | RDEPENDS_${PN}-dracut = "bash" | 146 | RDEPENDS_${PN}-dracut = "bash" |
145 | RDEPENDS_${PN}-mkinitcpio = "bash" | 147 | RDEPENDS_${PN}-mkinitcpio = "bash" |
146 | RDEPENDS_${PN}_class-target = " \ | 148 | RDEPENDS_${PN}_class-target = " \ |
147 | gnupg \ | 149 | ${@bb.utils.contains('PACKAGECONFIG', 'gpgme', 'gnupg', '', d)} \ |
148 | ${PN}-switchroot \ | 150 | ${PN}-switchroot \ |
149 | " | 151 | " |
152 | |||
153 | # | ||
154 | # Note that to get ptest to pass you also need: | ||
155 | # | ||
156 | # xattr in DISTRO_FEATURES | ||
157 | # static ostree-prepare-root (PACKAGECONFIG_append_pn-ostree = " static") | ||
158 | # meta-python in your layers | ||
159 | # overlayfs in your kernel (KERNEL_EXTRA_FEATURES += "features/overlayfs/overlayfs.scc") | ||
160 | # busybox built statically | ||
161 | # /var/tmp as a real filesystem (not a tmpfs) | ||
162 | # Sufficient disk space (IMAGE_ROOTFS_SIZE = "524288") and RAM (QB_MEM = "-m 1024") | ||
163 | # | ||
150 | RDEPENDS_${PN}-ptest += " \ | 164 | RDEPENDS_${PN}-ptest += " \ |
151 | attr \ | 165 | attr \ |
152 | bash \ | 166 | bash \ |
@@ -157,7 +171,10 @@ RDEPENDS_${PN}-ptest += " \ | |||
157 | grep \ | 171 | grep \ |
158 | python3-core \ | 172 | python3-core \ |
159 | python3-multiprocessing \ | 173 | python3-multiprocessing \ |
174 | strace \ | ||
160 | tar \ | 175 | tar \ |
176 | util-linux \ | ||
177 | xz \ | ||
161 | ${PN}-trivial-httpd \ | 178 | ${PN}-trivial-httpd \ |
162 | ${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'python3-pyyaml', '', d)} \ | 179 | ${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-python', 'python3-pyyaml', '', d)} \ |
163 | ${@bb.utils.contains('PACKAGECONFIG', 'gjs', 'gjs', '', d)} \ | 180 | ${@bb.utils.contains('PACKAGECONFIG', 'gjs', 'gjs', '', d)} \ |
@@ -165,7 +182,6 @@ RDEPENDS_${PN}-ptest += " \ | |||
165 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils glibc-localedata-en-us" | 182 | RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-utils glibc-localedata-en-us" |
166 | 183 | ||
167 | RRECOMMENDS_${PN} += "kernel-module-overlay" | 184 | RRECOMMENDS_${PN} += "kernel-module-overlay" |
168 | RRECOMMENDS_${PN}-ptest += "strace" | ||
169 | 185 | ||
170 | SYSTEMD_SERVICE_${PN} = "ostree-remount.service ostree-finalize-staged.path" | 186 | SYSTEMD_SERVICE_${PN} = "ostree-remount.service ostree-finalize-staged.path" |
171 | SYSTEMD_SERVICE_${PN}-switchroot = "ostree-prepare-root.service" | 187 | SYSTEMD_SERVICE_${PN}-switchroot = "ostree-prepare-root.service" |