diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2023-01-02 22:42:33 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-04 15:33:58 -0800 |
| commit | f3b1b4bbd6425c1f4f281ba8643954d8bda72d36 (patch) | |
| tree | 6bd235fa69bac214f51b0e849ffa8d4cfa7932c5 | |
| parent | 5548aaad17b7c1b1446c405173b77e40a5020643 (diff) | |
| download | meta-openembedded-f3b1b4bbd6425c1f4f281ba8643954d8bda72d36.tar.gz | |
ostree: Fix comments for configuration/ptest
The comments and recipe had diverged, bring them back into line. Update
the instructions on how to get ptest to pass.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/ostree/ostree_2022.7.bb | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree_2022.7.bb b/meta-oe/recipes-extended/ostree/ostree_2022.7.bb index 9cc1bd8018..2683c4f245 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2022.7.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2022.7.bb | |||
| @@ -39,7 +39,9 @@ BUILD_OPTIMIZATION:remove = "-Og" | |||
| 39 | BUILD_OPTIMIZATION:append = " -O2" | 39 | BUILD_OPTIMIZATION:append = " -O2" |
| 40 | 40 | ||
| 41 | # Package configuration - match ostree defaults, but without rofiles-fuse | 41 | # Package configuration - match ostree defaults, but without rofiles-fuse |
| 42 | # otherwise we introduce a dependendency on meta-filesystems | 42 | # otherwise we introduce a dependendency on meta-filesystems and swap |
| 43 | # soup for curl to avoid bringing in deprecated libsoup2 (though | ||
| 44 | # to run ptest requires that you have soup). | ||
| 43 | PACKAGECONFIG ??= " \ | 45 | PACKAGECONFIG ??= " \ |
| 44 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ | 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ |
| 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ | 47 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ |
| @@ -48,7 +50,7 @@ PACKAGECONFIG ??= " \ | |||
| 48 | curl \ | 50 | curl \ |
| 49 | " | 51 | " |
| 50 | 52 | ||
| 51 | # We include soup because ostree can't (currently) be built without | 53 | # We include curl because ostree can't (currently) be built without |
| 52 | # soup or curl - https://github.com/ostreedev/ostree/issues/1897 | 54 | # soup or curl - https://github.com/ostreedev/ostree/issues/1897 |
| 53 | PACKAGECONFIG:class-native ??= " \ | 55 | PACKAGECONFIG:class-native ??= " \ |
| 54 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ | 56 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ |
| @@ -175,13 +177,20 @@ RDEPENDS:${PN}:class-target = " \ | |||
| 175 | # | 177 | # |
| 176 | # Note that to get ptest to pass you also need: | 178 | # Note that to get ptest to pass you also need: |
| 177 | # | 179 | # |
| 178 | # xattr in DISTRO_FEATURES | 180 | # xattr in DISTRO_FEATURES (default) |
| 179 | # static ostree-prepare-root (PACKAGECONFIG:append:pn-ostree = " static") | 181 | # static ostree-prepare-root |
| 180 | # meta-python in your layers | 182 | # ostree-trivial-httpd (requires soup - note soup and curl can coexist) |
| 181 | # overlayfs in your kernel (KERNEL_EXTRA_FEATURES += "features/overlayfs/overlayfs.scc") | 183 | # overlayfs in your kernel |
| 182 | # busybox built statically | 184 | # busybox built statically |
| 183 | # /var/tmp as a real filesystem (not a tmpfs) | 185 | # C.UTF-8 locale available |
| 184 | # Sufficient disk space (IMAGE_ROOTFS_SIZE = "524288") and RAM (QB_MEM = "-m 1024") | 186 | # Sufficient disk space/RAM (e.g. core-image-sato-sdk) |
| 187 | # | ||
| 188 | # Something like this in your local.conf: | ||
| 189 | # | ||
| 190 | # PACKAGECONFIG:append:pn-ostree = " static soup" | ||
| 191 | # KERNEL_EXTRA_FEATURES:append = " features/overlayfs/overlayfs.scc" | ||
| 192 | # TARGET_CFLAGS:append:pn-busybox = " -static" | ||
| 193 | # IMAGE_LINGUAS:append:libc-glibc = " c" | ||
| 185 | # | 194 | # |
| 186 | RDEPENDS:${PN}-ptest += " \ | 195 | RDEPENDS:${PN}-ptest += " \ |
| 187 | attr \ | 196 | attr \ |
