summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/ostree
Commit message (Collapse)AuthorAgeFilesLines
* ostree: Upgrade 2024.4 -> 2024.5Jose Quaresma2024-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ git --no-pager log --oneline v2023.8...v2024.1 f3b66e8c (tag: v2024.5) Release 2024.5 756e2dad Merge pull request #3214 from cgwalters/checkout-overwrite-force bb6dfd3a checkout: Always replace existing content in overlay mode c314eaa9 Merge pull request #3213 from rborn-tx/fix-early-prune 4efb44f3 deploy: Ensure boot directory is open before accessing it 223a1af4 Merge pull request #3208 from HuijingHei/split-whitespace abc7d5b9 kargs: parse spaces in kargs input and keep quotes d95c2f8d Merge pull request #3206 from cgwalters/enable-new-naming 2fb7a048 sysroot: Turn on bootloader-naming-2 by default f1e663bd Merge pull request #3205 from cgwalters/fix-grub-probing e47b3709 bootloader/grub2: Don't do anything if we have static configs b4a1e383 Merge pull request #3204 from cgwalters/quiet-config-load 1a54d94f Merge pull request #3203 from dbnicholson/version-sigpipe bf811629 otcore: Drop config load print 422a2887 main: Ignore SIGPIPE when printing version 1b3ffe54 Merge pull request #3196 from cgwalters/fix-sepolicy-public 3ae7118e Merge pull request #3199 from travier/docs-fix a63f9516 docs: Cleanup title for historical OSTree README 4ae50658 docs: Move SPDX identifiers under first title cdb4cad4 Merge pull request #3197 from cgwalters/release 084e027d sepolicy: Fix publicity mismatch for ostree_sepolicy_host_enabled 14a5746d Post-release version bump Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2024.3 -> 2024.4Wang Mingyu2024-03-081-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Remove strace from ptest rdepsKhem Raj2024-02-271-2/+1
| | | | | | | | it checks for strace and then try fault injection if it exists. So, while it will be good to have strace port for rv32 it can be disabled for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2024.1 -> 2024.3Wang Mingyu2024-02-191-1/+1
| | | | | | | | | | | | | Changelog: =========== -prepare-root: Unify root.transient with composefs -libostree: write selinux xattr when on non-selinux systems -ostree.repo-config(5): Fix a typo -Expose MOUNT_ATTR_IDMAP detection result to C code -docs/atomic-rollbacks: Add a section on rollbacks Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.8 -> 2024.1Jose Quaresma2024-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ git --no-pager log --oneline v2023.8...v2024.1 3b4f5e36 (tag: v2024.1) Release 2024.1 19cd8cf1 Merge pull request #3135 from ericcurtin/aboot-documentation 6031f1c0 Merge pull request #3120 from jlebon/pr/state-overlays e233d023 build(deps): bump libglnx from `aff1eea` to `b415d046` 92b1a272 Add concept of state overlays 062cf603 Merge pull request #3136 from ericcurtin/pr-3134-feedback 477d472c status: Rename query-booted to is-default b79a2e16 Merge pull request #3134 from ericcurtin/query-boot-real 87a0aba9 Merge pull request #3133 from cgwalters/boot-complete-rollback 46bae54b status: Fix --skip-signatures description c13aef97 man: Add ostree admin status man page CLI options. 1397ee2b status: Introduce tool to quickly check if we are booted as default cd308d57 doc: Add section about ostree and aboot 501a0775 Merge pull request #3132 from ericcurtin/query-boot 852db038 systemd/ostree-boot-complete: Start earlier eb4fb917 systemd/ostree-boot-complete: Add `ConditionKernelCommandLine=ostree` 37971a9d status: Fix build without GPGME ac8638f3 Merge pull request #3131 from cgwalters/status-use-remote 4d06e98e Merge pull request #3130 from jlebon/pr/autoprune-aarch64-dtb e95109b3 status: Add an option to skip signature verification 24bf5b7d status: Pass correct remote name when verifying cc5747a6 lib/deploy: Add safety margin in early prune space check 4982306e lib/deploy: Round to block size in early prune space check 9faf5569 Merge pull request #3129 from cgwalters/fix-unlock-composefs-compat 6a339ac6 Merge pull request #3128 from cgwalters/hotfix-composefs dd33cc65 switchroot: use shared constant for unlock --hotfix a1c1c0b5 prepare-root: Fix composefs + ostree admin unlock --hotfix compat 40b143f4 Merge pull request #3127 from cgwalters/composefs-doc-toplevel-chattr ba12a168 Merge pull request #3119 from cgwalters/zipl-fix-nul-term 712eecad docs/composefs: Add note about toplevel dirs 888f29a6 Merge pull request #3125 from ericcurtin/explicit-sysroot-rw-ro-log e5498b94 switchroot: Be explicit about what could cause /sysroot to be ro 02915a3f Merge pull request #3124 from cgwalters/rust-features 798893b3 Merge pull request #3123 from cgwalters/deploy-log-space 6722c55f deploy: Log calculated needed space 8b6e96cf rust: Add missing feature versions 41c56b37 Merge pull request #3121 from fwilhe/patch-1 1c4420ed Link to gardenlinux/ostree-image-builder in README 5c7f42b8 Merge pull request #3116 from jmarrero/bootloader-doc ade0bd26 zipl: Convert to a data input stream 241597a8 zipl: NUL terminate buffer we're searching e9a2a2cf zipl: Fix error handling for read 876ddd32 zipl: Use O_CLOEXEC 5466e98c doc: Add section about ostree and bootloaders 234fa2ce Merge pull request #3117 from cgwalters/doc-root-transient 8f4beb4a docs: Add `var.md` a0f7b3c7 man: Document `root.transient` 071053d9 Merge pull request #3114 from cgwalters/root-ovl 8fbaebac prepare-root: Add support for root.transient 59cdd611 prepare-root: Add an autofree 6cb15c35 sysroot: Drop unused prototype 508b6ea6 Merge pull request #3112 from leonheldattoradex/main 3ff00e43 Update Torizon information 51a34a40 Merge pull request #3111 from cgwalters/release 56b268dd configure: post-release version bump Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.7 -> 2023.8Jose Quaresma2023-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ git --no-pager log --oneline v2023.8...v2023.7 5b23804a (tag: v2023.8) Release 2023.8 6e303318 Merge pull request #3106 from cgwalters/commit-reflink c3dff62e commit: Try reflinks for local commits by default 59b9f9a8 Merge pull request #3105 from cgwalters/sysroot-borrow-fd 09e32d61 Merge pull request #3107 from cgwalters/drop-userxattr-test bab87cbd tests: Drop bare-user on tmpfs negative test 15d0777b Merge pull request #3104 from cgwalters/s390x-target c3aa2958 bootloader/zipl: Run in target deployment as container if needed aa635bf5 sysroot: Expose deployment runner outside of selinux e794a0c0 Merge pull request #3103 from cgwalters/tmpfiles-factory-var d3190dbf sysroot: Add a method to borrow sysroot fd 74456972 sysroot: Support specifying bwrap arguments 791337fa sysroot: Expose deployment container executor internally 66064d96 tmpfiles: Copy `/usr/share/factory/var` to `/var` b0be2336 Merge pull request #3102 from cgwalters/deploy-cleanup-run 68cc1960 sysroot/deploy: Drop unnecessary g_ptr_array_free 31cbcc72 deploy: Use NULL terminated strv 5cc78fd7 Merge pull request #3100 from cgwalters/misc-finalization d3de3a0a tests: Add a dedicated finalization test d24714e3 Merge pull request #3101 from cgwalters/drop-redundant-includes 0c85e1ff main: Drop some redundant includes of `ot-main.h` 78905ffb man: Two finalization fixes 12cbb3dd Merge pull request #3090 from cgwalters/stabilize-locking 28cc7618 sysroot: Stabilize deployment finalization, add API and CLI 1ca4f02a status: Add error prefix for gpg verification b6f435fe tests: Turn off gpg verification for dev builds ff7e7f47 Merge pull request #3099 from markmc/man-sysroot-readonly 2cfa8aba man: improve sysroot.readonly docs cd1728a4 Merge pull request #3098 from jlebon/pr/abort-concurrent 8002983d ci: cancel previous build on PR update de22914e Merge pull request #3097 from cgwalters/symbol-cleanups 315cbdd3 lib: Don't hardcode year in sample symver section 76e4833d devel: Fix symbol versioning number 82392e3f Merge pull request #3095 from alexlarsson/fix-post-copy-symlinks acb88600 Fix admin post-copy handling of symlinks 508443f7 Merge pull request #3094 from alexlarsson/admin-deploy-post-copy accb1f06 Add `ostree admin post-copy` command 29973774 Merge pull request #3091 from cgwalters/fix-soup3 bc62fd51 unlock: Don't pass options again to overlayfs 331bc17e Merge pull request #3093 from cgwalters/rust-alias-stateroot c668a8c5 tests: Work around systemd regression for boot id parsing 3535b58f rust: Add a `stateroot()` alias in the Rust bindings ce2a33e8 build-sys: Enable libsoup3 by default if installed 2c774deb Merge pull request #3089 from cgwalters/fix-undeploy-parsing c3cf5b23 undeploy: Parse integer more properly e4b82c4a Merge pull request #3080 from nikita-dubrovskii/s390x_secure_boot c3a9a642 lib/bootloader-zipl: Check for Secure Boot before zipl 67ccf6e0 Merge pull request #3085 from cgwalters/s390x-units 75c7e51a bootloader/zipl: No-op if run as non-root cfb63b89 Merge pull request #3083 from cgwalters/release 36d96931 configure: post-release version bump Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.6 -> 2023.7Jose Quaresma2023-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a87e9069 Release 2023.7 98f1501c Merge pull request #3081 from jlebon/pr/log-selinux-refresh bdac515a lib/deploy: Log SELinux policy refresh 4085eee9 Merge pull request #2843 from jmarrero/retry 4fb6e6f5 ostree-repo-pull: add options to configure retry behavior b9e73a38 Merge pull request #3078 from HuijingHei/karg-delete-array 67160862 doc: add `ostree admin deploy` option `--karg-delete` 003cb99c karg-delete: support multiple times d788c5b5 Merge pull request #3075 from cgwalters/reenable-composefs 5d92407b Merge pull request #3077 from cgwalters/debug-finalization-lock ac69c707 deploy: Remove lock when re-staging 833251cb tests: Use ext4, re-enable composefs test 824ac1af Merge pull request #3074 from cgwalters/more-errcontext-composefs e75c5c6e Merge pull request #3073 from cgwalters/context-no-stateroot 4a3e43c7 composefs: Add more error prefixing 265b7f9e deploy: Improve error message for nonexistent stateroot 3894fe2a Merge pull request #3062 from alexlarsson/transient-etc f617a341 Support transient /etc cd0fc9f4 Merge pull request #3072 from alexlarsson/fix-whiteout-test 334f53d7 Merge pull request #3063 from cgwalters/label-usretc-as-etc 397a1176 tests: Fix whiteout test 81c08746 repo: Add an option to label /usr/etc as /etc 6cce2e23 Merge pull request #3067 from cgwalters/ci-composefs 734ea3ee ci: Disable composefs test for now 2f76b030 ci: Ensure composefs+openssl are is enabled on Fedora befd8443 Merge pull request #3060 from owtaylor/export-hardlinks 3b2fd6e9 When exporting, use hardlinks for duplicated files 8c25452c Merge pull request #3049 from jlebon/pr/revert-virtiofs-hack 2363de71 Merge pull request #3059 from cgwalters/zipl-default-s390x b8ce61ba Revert "ci: Run cosa unprivileged" c4dcfbae Merge pull request #3046 from ostreedev/dependabot/submodules/composefs-cca8be4 e3d93a85 repo: Default bootloader to zipl on s390x ec7bc823 Merge pull request #3058 from cgwalters/doc-authenticated-repos d4adb795 docs: Add authenticated-repos.md 13be0786 Merge pull request #3021 from cgwalters/insttest-composefs-binding 46b7821d Merge pull request #3053 from ericcurtin/add_overlay_and_erofs_to_initrd cecb59dd boot/dracut: Add erofs and overlayfs kernel modules 372cbd7a tests: Add an integration test for composefs signatures cd606aa6 Merge pull request #3051 from cgwalters/rust-tests-update 87c43678 Merge pull request #3052 from cgwalters/switch-libglnx-source 01a847a2 gitmodules: Use github GNOME mirror e3291ccc tests: Rework detection of trivial-httpd 878d6016 Merge pull request #3047 from ostreedev/dependabot/submodules/libglnx-aff1eea ff73bebc build(deps): bump libglnx from `54ad67d` to `aff1eea` 7916cfb6 build(deps): bump composefs from `af86742` to `cca8be4` 92d25eb5 Merge pull request #3039 from cgwalters/rust-switch-include 26dcd4f5 rust: Switch to using `include` b7e39eba Merge pull request #2054 from jlebon/pr/static-delta-fetch-no-scan cd116a1e lib/pull: Drop static delta superblocks references 2fe88f80 ci: Run cosa unprivileged fc5aef6f lib/pull: Don't scan commit objects we fetch via deltas c8ed1c7a lib/pull: Fix miscounting of missing metadata 3c2587b6 app/pull-local: Add `--disable-static-delta` 0ac87956 Merge pull request #3038 from cgwalters/rust-drop-composefs 6a948567 Merge pull request #3037 from cgwalters/add-labeler-flow 2db17d21 rust: Drop composefs from crate 749857df Merge pull request #3035 from cgwalters/release-rust 12996948 ci: Add an automatic labeler action 1714e837 Merge pull request #3030 from ostreedev/dependabot/submodules/composefs-af86742 e52530b5 rust/sys: Also bump semver for this 4d3621db build(deps): bump composefs from `d085fbf` to `af86742` 00c04aef Merge pull request #3028 from ostreedev/dependabot/submodules/composefs-d085fbf b0e32811 Merge pull request #3029 from cgwalters/bump-glib aee1ab2c rust: Bump semver to 0.19 cccc0f1a rust: Port to glib 0.18 b60036dd build(deps): bump composefs from `597a766` to `d085fbf` 5fe050f5 Merge pull request #3027 from cgwalters/drop-cap-std-public 9121297e ci: Move lints into main build 242a9015 rust: Bump rust-version = 1.70 eec67ec1 Drop cap-std from our public APIs e93ebd73 Merge pull request #3018 from ostreedev/dependabot/submodules/composefs-597a766 8d838230 Merge pull request #3012 from cgwalters/default-early-prune d5cfbed5 sysroot: Promote the "early prune" behavior to default c0014e00 Merge pull request #2968 from cgwalters/drop-global-syncfs-by-default d976ec56 Merge pull request #3024 from cgwalters/clang-analyzer-fixes-5 0d7b8ebc build(deps): bump composefs from `1aed878` to `597a766` 52dbed4d Merge pull request #3023 from ostreedev/dependabot/submodules/libglnx-54ad67d 4eb3caca commit: Quiet clang-analyzer warning 5e1b6983 keyfile-utils: Quiet a clang-analyzer warning 3001ef28 build(deps): bump libglnx from `c02eb59` to `54ad67d` 03a19888 Merge pull request #3020 from cgwalters/less-return-if-fail-1 5837f27f Merge pull request #3019 from cgwalters/more-analyzer-fixes-4 886f5800 mutable-tree: Change some `g_return_if_fail` to `g_assert()` db4ca6e7 mutable-tree: Quiet clang-analyzer warning d001729b Merge pull request #3017 from cgwalters/more-analyzer-fixes-3 6538b170 repo: Quiet clang-analyzer warning 369e4ddd commit: Quiet clang-analyzer warning 5fc9eac0 commit: Quiet clang-analyzer warning bfb7482a lib/commit: Quiet clang-analyzer warning ee8c13b1 lib/delta: Remove dead code 3acdbac0 Merge pull request #3016 from cgwalters/more-analyzer-fixes-2 89e13a95 Merge pull request #2994 from cgwalters/refactor-composefs-warnings 0beaf5c9 pull: Quiet clang-analyzer warning e2779a7c commit: Quiet clang-analyzer warning 5b40d4bb pull: Add assertions to quiet clang-analyzer 0cfa5e86 lib/repo-finder: Squash memory leak f8549a9e Merge pull request #3013 from cgwalters/more-analyzer-fixes 7c13631a Merge pull request #3006 from cgwalters/misc-c99-style-5 1a16a7d6 switchroot: Use g_new/g_free consistently d3ede20b sign/ed25519: Fix two memory leaks a87789e8 commit: Drop dead code d36bf35c switchroot: Lower config parser to otcore, add unit tests 38880bff composefs: Hard error except on ENOENT even in "optional" case e952b1bf prepare-root: Fold together composefs signature cases 1d316e31 prepare-root: Init composefs options earlier aa9b7c3b prepare-root: Drop redundant print about signature/digest 4dd3cb35 Merge pull request #3005 from cgwalters/release 97d83e62 configure: post-release version bump cce1814c cmd/show-remote-url: Port to C99 style 116fdc3c cmd/log: Port to C99 style e578c019 cmd/export: Fold libarchive error handling 88334b8f cmd/export: Port to C99 style fa69eaac deploy: Remove global `sync` by default Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: add ed25519-opensslJose Quaresma2023-10-271-0/+1
| | | | | | | | Upstream reference: https://github.com/ostreedev/ostree/commit/7b85adfbbd97054e4b14ca4365c11fbadf97c70c Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: drop trivial-httpd-cmdlineJose Quaresma2023-10-271-10/+0
| | | | | | | | Upstream reference: https://github.com/ostreedev/ostree/commit/0c36e8143d3c95d454b65c38f923cf71d08d5eb7 Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.5 -> 2023.6Jose Quaresma2023-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dab8051f Release 2023.6 bd91fda6 Merge pull request #3010 from cgwalters/more-composefs-fixes 3648c5ae build-sys: Really fix composefs check db3b286d Merge pull request #3009 from cgwalters/c9s-ci bcd4d026 Merge pull request #3007 from cgwalters/optin-new-bootloader-naming 33ef4ae6 build-sys: Look for both linux/mount.h and sys/mount.h bd8339bd ci: Add c9s build cbe36c3a Merge pull request #3008 from ostreedev/maybe_ostree 29423a89 prepare-root: If composefs is configured as "maybe" don't fail 02d41907 deploy: Add bootloader-naming-2 opt-init fb06d59e Merge pull request #3003 from cgwalters/prepare-root-oscore-and-units 20b8cb17 Move prepare-root karg helpers into otcore, add unit tests 44519492 Merge pull request #2997 from cgwalters/test-cleanups-1 37f247da Merge pull request #2999 from cgwalters/add-oscore-units aa8ad204 Merge pull request #3001 from cgwalters/misc-c99-style-4 75a43deb cmd/grub2-generate: Port to C99 style 767ca134 cmd/init: Port to C99 style e3ef72ea Merge pull request #3000 from cgwalters/test-inst-update 6eeb8b56 Merge pull request #2995 from ostreedev/dependabot/submodules/composefs-1aed878 e751dd9a Merge pull request #2998 from cgwalters/disable-composefs-too-old facb9a1a tests/inst: Update to latest ostree-ext 7c82340d Merge pull request #2975 from ostreedev/androidboot-single-slot-mode e3f0c4d4 tests: Add otcore unit tests 90e54619 build-sys: Disable composefs on too-old Linux headers 6e9e50d8 prepare-root: Changes made to find_proc_cmdline_key 650a0537 prepare-root: On a non-A/B androidboot system, boot system slot a 16b97d8a Merge pull request #2996 from cgwalters/misc-c99-style-3 578c87e7 tests/destructive: Port more to xshell 8f302f2a cli/set-origin: Port to C99 style 69d7d837 build(deps): bump composefs from `a6e827d` to `1aed878` ee1e585e Merge pull request #2993 from cgwalters/misc-c99-style-2 22b47781 checkout: Port to C99 style f7786e75 Merge pull request #2990 from cgwalters/init-is-stateroot 27266f90 lzma: Port to C99 style 722fc2d0 Merge pull request #2991 from cgwalters/misc-c99-style 9f39f78e remote-add: Port to c99 style 9036c96a admin: Port to c99 style f4e56b91 admin-deploy: Add `--stateroot` as alias for `--os` 9d5ccfef Add `ostree admin stateroot-init` as alias for `os-init` 9ac938c4 Merge pull request #2989 from cgwalters/lock-timeout-longer f4b42049 Merge pull request #2973 from ostreedev/dependabot/submodules/composefs-a6e827d e88ec69e repo: Bump lock timeout to 5 minutes 55121cc4 Merge pull request #2988 from cgwalters/prepare-root-binding-key d648eea6 Merge pull request #2987 from cgwalters/prefix-stage-deploy 94cb37cb prepare-root: Minor clarifications 25a458b9 deploy: Add some error prefixing 8712a467 Merge pull request #2985 from cgwalters/cleanup-proc-cmdline 083bad8c Merge pull request #2984 from alexlarsson/prepare-root-no-raw-key 28aed49d switchroot,generator: Only read /proc/cmdline once 0a79b3b1 prepare-root: Only support base64 formated public key files c94388f3 Merge pull request #2980 from cgwalters/prepare-root-minor 871d32a5 prepare-root: Use ptrarray, not linked list 678bfcd9 prepare-root: Check for empty string, not strlen > 0 bea5d897 prepare-root: Use declare-and-initialize 3620d3c7 Merge pull request #2979 from cgwalters/enabled-discussions d324f684 Merge pull request #2974 from alexlarsson/composefs-config-file f1c1f819 README.md: Drop dead mailing list, link to GH discussions 81fa2141 Read composefs configuration from initrd instead of commandline 2cc6b531 Merge pull request #2966 from cgwalters/ostree-admin-edit b108e24c build(deps): bump composefs from `1704f82` to `a6e827d` c57c0056 Merge pull request #2958 from cgwalters/deploy-loosen-etc-usretc 7f70614a Merge pull request #2969 from cgwalters/fix-sync-pthreads a31f7798 Merge pull request #2967 from cgwalters/drop-trivial-httpd-entrypoint 402e0428 deploy: Fix mutex locking for global sync timeout 60b46556 More fully drop `trivial-httpd` entrypoint 3cd3251a Add `admin set-default` 09160c1a Merge pull request #2962 from cgwalters/os-init-remount ac42e29d os-init: Create a mount namespace 113e575e Merge pull request #2963 from cgwalters/more-gfileinfo-fix 15cb0b47 composefs: Only call `_get_symlink_target()` on symlinks f44909f8 Merge pull request #2960 from ostreedev/dependabot/submodules/libglnx-c02eb59 a16a14a6 build(deps): bump libglnx from `07e3e49` to `c02eb59` fd968d59 Merge pull request #2957 from cgwalters/transaction-test-suppress-global-sync 0406fd39 deploy: Support an empty `/etc` and populated `/usr/etc` 6470429b tests/destructive: Turn off global sync() a2663e80 Merge pull request #2956 from cgwalters/finalize-more-verbose 3d881fee deploy: Be way more verbose about what we're doing 1aed5d7c Merge pull request #2954 from cgwalters/harden-gvariant-get-data 5b372596 checksum-utils: Add an assertion that `buf != NULL` 0392b546 core, switchroot: Harden a bit against `g_variant_get_data() == NULL` d7d66121 Merge pull request #2953 from samcday/patch-1 66e42553 Merge pull request #2930 from cgwalters/prepare-root-config3 b5397887 docs: update boot loader spec link af52a88d Merge pull request #2952 from cgwalters/silence-variant-lookup 13e7ae90 tree-wide: Consistently `(void)g_variant_lookup()` 34656260 prepare-root: Don't parse target root when composefs enabled 83d37d6d prepare-root: Default sysroot.readonly=true if composefs 22b8e4f9 prepare-root: Introduce `ostree/prepare-root.conf` 250c40a6 Merge pull request #2948 from cgwalters/composefs-more-cleanups 3f594b04 Merge pull request #2951 from cgwalters/errprefix-sysroot 5e2eedee Merge pull request #2949 from cgwalters/kargs-cleanup cf525ee6 repo: Clarify when we fail to parse a remote 70d790ab sysroot: Add a bit more error prefixing 82da0e16 Merge pull request #2950 from cgwalters/generator-cleanup d7fe9e54 kernel-args: Move private functions out of public header 303e7eb2 src/generator: Move all logic into libostree-1.so ec1109c7 generator: Stop creating `/run/ostree-booted` 64afbcde composefs: Use lowerdir in /run 4c0e5b1e Merge pull request #2942 from ostreedev/android-bootloader-parsing a035c2e2 Merge pull request #2946 from cgwalters/add-inode-fix-feature 8ce7bbe1 Add an always-on `inode64` feature c89baaed bootloader: fold all Android Bootloader specific logic into prepare-root 55936165 Merge pull request #2943 from cgwalters/mount-cleanup 253e7758 Merge pull request #2944 from cgwalters/prepare-root-more-cleanup e61226a8 prepare-root: Drop more dead code 41cda3bd prepare-root: Drop code mounting `/proc` b258375f Merge pull request #2938 from cgwalters/dedup-ostree-parsing b548ff74 Merge pull request #2939 from cgwalters/ed25519-cleanups 6966979c generator: Deduplicate ostree= karg parsing fc303da6 sign-ed25519: Don't set sk unless we've validated it 3a18a557 sign-ed25519: Add some comments for data structure fb40e559 sign-ed25519: More verbose errors for invalid length 1a2fac37 tests: Remove dead references to "SEED" 1c0fd7d4 Merge pull request #2937 from ericcurtin/ostree2androidboot.slot_suffix 355cd727 Remove steal_pointer and steal_pointer_impl as we link in glib now a6f0a571 android-boot: Remove dependency on ostree= karg, use androidboot.slot_suffix= 27a9fe30 Merge pull request #2936 from cgwalters/sign-from-file 7bbe13ca Merge pull request #2931 from cgwalters/prepare-root-man de81a7e7 Merge pull request #2929 from cgwalters/prepare-root-drop-pivot 8302a8ad Merge pull request #2927 from cgwalters/sysroot-errprefix-bootlinks 845d68d1 Merge pull request #2935 from cgwalters/prepare-root-config4 82d93491 commit: Add `--sign-from-file` d4ca834b prepare-root: Refactor composefs config handling 18d6f597 Merge pull request #2934 from cgwalters/enable-composefs-default 592351d1 build-sys: Enable composefs at *build time* by default 3d29f89c Merge pull request #2928 from cgwalters/prepare-root-config c1ac6bc3 Merge pull request #2932 from cgwalters/aboot-fix-nullderef c078e8be mount: Fix gcc -fanalyzer warning for parsing androidboot.slot_suffix c4f1d18a Merge pull request #2920 from ostreedev/dependabot/submodules/composefs-1704f82 1e4cb30c man: Add ostree-prepare-root 0eda15ce Use /run/ostree-booted metadata for sysroot-ro state passing 79806a68 prepare-root: Drop dead `pivot_root` code b8d66964 remount: Use new metadata in `/run/ostree-booted` for composefs 77acad24 remount: Don't overwrite /run/ostree-booted 93699cc5 prepare-root: Add metadata for composefs to `/run/ostree-booted` bafb5512 prepare-root: Use constant for ed25519 signature 6cdc5ce5 Merge pull request #2926 from cgwalters/otcore-cfs-constants 6769d66d sysroot: Add some error prefixing for bootversion 18cc4472 prepare-root: Drop unused verity flag querying 2b738a99 prepare-root: Use otutil and g_print 1b7b4fbd Add an internal constant for the composefs image name c0c2c9bd Merge pull request #2924 from cgwalters/drop-syntax-check 65912106 build: Drop `make syntax-check` 57fe33f0 Merge pull request #2921 from alexlarsson/composefs-sign-v2 c29f4193 ostree-prepare-root: Validate ed25519 signatures when requested b8ff2109 Factor out a libotcore 265cf7d7 build-sys: Add libsodium to OT_DEP_CRYPTO a6d9c714 Merge pull request #2922 from alexlarsson/openssl-ed25519 744967a6 libotutil: Link to crypto libs 474c2b10 CI: Enable --with-crypto=openssl on debian testing to test openssl signatures 7b85adfb sign-ed25519: Implement sign and verify using openssl 501575c1 sign-ed25519: Drop some uses of libsodium 5b727751 Merge pull request #2923 from alexlarsson/fix-composefs-test 62e4f376 tests: Fix composefs test eb011120 show: Add --print-hex 6056ec13 Merge pull request #2913 from cgwalters/tmpfile-not-on-revokefs 8a4a0c16 build(deps): bump composefs from `ac729b5` to `1704f82` 43fb2787 Merge pull request #2918 from ostreedev/dependabot/submodules/composefs-ac729b5 25120bd7 Merge pull request #2912 from cgwalters/itest-transactionality-debug 61720180 Merge pull request #1633 from cgwalters/pkglibexec-tests ba9c9ded fetcher: Always open tmpfiles in repo (except on FUSE) 9104c54f Merge pull request #2905 from cgwalters/prepare-root-static-split 01be14e6 build(deps): bump composefs from `412cb5e` to `ac729b5` 0c36e814 Drop "ostree trivial-httpd" CLI, move to tests directory 8ad8a79c Merge pull request #2916 from cgwalters/release b2cfee72 Merge pull request #2914 from cgwalters/doc-usergroups 5aadb6ec configure: post-release version bump 875915f6 prepare-root: Link to glib d6799ecc Separate prepare-root static path 786e64ce docs: Update user and group section 8bba482b tests: Enable mtime test 0b519c25 tests: Drop unused alias 54c73155 tests/transactionality: Port a bit to xshell Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: not compatible with riscv32 when ptest enabledKai Kang2023-09-131-0/+2
| | | | | | | | ostree-ptest rdepends on strace which is not compatible with riscv32. So when ptest is enabled, set ostree not compatible with riscv32. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.4 -> 2023.5Alex Kiernan2023-07-012-29/+1
| | | | | | | Drop upstreamed __off_t patch. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2023.3 -> 2023.4Alex Kiernan2023-06-203-37/+32
| | | | | | | Drop upstreamed gpg_strerror_r fix. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Fix build errors found with lld linkerKhem Raj2023-06-142-0/+32
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Add soup3 PACKAGECONFIG, rename soup to soup2Alex Kiernan2023-05-301-3/+4
| | | | | | | | | | | libsoup3 is now supported by ostree, add `soup2` to select the deprecated libsoup2 library and `soup3` for libsoup3. Drop `--disable-glibtest` from PACKAGECONFIG as it does nothing (nor does it appear to have ever done anything). Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2023.2 -> 2023.3Wang Mingyu2023-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== configure: post-release version bump treegen: Require at least one mutation ci: Turn off errors for deprecated-declarations ci: Drop workaround for fedora-release-container rust: Bump MSRV to 1.64 build-sys: Squash automake conditional warning re '.PHONY' Add clang formatting infrastructure lib: clang-format 'ostree.h' tree-wide: Fix various include ordering issues lib: Fix one include clang-format: Don't align backslashes tree-wide: Run clang-format ci: Validate clang-format tests/inst: Add xshell and use it in one place tests: Ensure real GIO backends aren't used ci: Add test configuration with soup3 fetcher/soup3: Rewrite without threads fetcher: add libsoup3 backend lib/sysroot-cleanup: Convert bootdir listing to dfd-relative lib/sysroot-cleanup: Make some static utility functions global lib/sysroot-cleanup: Drop dead code lib/sysroot-cleanup: Factor out bootfs cleanup lib/sysroot-cleanup: Make bootfs cleanup function global libotutil: add utility functions for calculating directory size lib/sysroot-deploy: Nuke 'finalize-failure.stamp' on successful finalization tests/kola: delete unused .gitignore tests/kolainst: Add 'make localinstall' lib/sysroot-deploy: Add experimental support for automatic early prune configure: post-release version bump lib/fetcher: Add some debugging messages to the libsoup request path Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: fix build without gobject-introspection-dataMartin Jansa2023-05-031-0/+3
| | | | | | | | | | | | | | | | | * add --disable-introspection to UNKNOWN_CONFIGURE_OPT_IGNORE to fix: http://errors.yoctoproject.org/Errors/Details/702779/ ERROR: QA Issue: ostree: configure was passed unrecognised options: --disable-introspection [unknown-configure-option] * add glib-2.0-native to DEPENDS to fix: http://errors.yoctoproject.org/Errors/Details/702787/ glib-mkenums \ --template ../libostree-2023.2/src/libostree/ostree-enumtypes.h.template \ ../libostree-2023.2/src/libostree/ostree-fetcher.h > src/libostree/ostree-enumtypes.h.tmp && mv src/libostree/ostree-enumtypes.h.tmp src/libostree/ostree-enumtypes.h /bin/bash: line 2: glib-mkenums: command not found make: *** [Makefile:9990: src/libostree/ostree-enumtypes.h] Error 127 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2023.1 -> 2023.2Wang Mingyu2023-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Add 'sysroot.bootprefix' option deploy: Use 'semodule --refresh' if available configure: post-release version bump Release rust/ bindings 0.17.1 rust-bindings: Regenerate for 2023.1 rust-bindings: 'Sysroot' is 'Send' itest-pull-space: Use mkfs.ext4, align to at least 512b tests: Set size on fileinfo Enable 'trust_return_value_nullability' Add docs and fix annotations for ostree-repo-file.c rust: Bump semver lib: Fix two nullable annotations repo: Fix nullability for remote options rust: Renerate bindings Revert "repo: Fix nullability for remote options" rust-bindings: Regenerate configure: post-release version bump build: Do not include private headers in the introspection libostree: Ignore new_and_connect in the introspection libostree: Enhance the annotation coverage core: Ensure glib standard::size attribute is always set ci: update for new kolaTestIso() lib/fetcher-util: Wake up main context when a request is complete Increase buffer size for create_regular_tmpfile_linkable_with_content tests: Ensure non-root users have access to libcap tools ostree_raw_file_to_content_stream: Make size default to 0 _ostree_zlib_file_header_new: Default size to 0 write_content_object: Don't assume file info has standard::size Use g_steal_fd() in preference to glnx_steal_fd() docs: Use upstream theme & update to 0.4.1 build(deps): bump libglnx from '4e44fd9' to '07e3e49' Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2022.7 -> 2023.1Alex Kiernan2023-02-183-70/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop upstreamed patches, switch to github-releases for upstream checks, update comments regarding making ptest pass as C.UTF-8 is default in glibc now. Alex Kiernan (2): lib/repo-checkout: Add ALLPERMS for musl tests: Handle musl's ERANGE mapping Benno Rice (1): Replace the radix64 crate with base64 Colin Walters (5): fetcher: Avoid too large queues for metadata processing configure: post-release version bump rust: Bump to 0.17 bindings: Consistently check for `dox` feature Release 2023.1 Dan Nicholson (16): tests/inst: Update hyper-staticfile to 0.9.4 Strip trailing whitespace on all C files repo: Add API to regenerate and sign repo metadata bin/summary: Use ostree_repo_regenerate_metadata commit: Allow skipping automatic summary generation repo: Create metadata commit in ostree_repo_regenerate_metadata lib: Provide internal summary signing with separate directory repo: Prevent publishing summary without matching signature bin: Cleanup documentation of --cache-dir option bin/refs: Sort listing bin/refs: Add option to print revisions bin/remote-refs: Add option to print revisions bin/show: Add options to list metadata keys ostree/dump: Add support for summary metadata keys bin/summary: Add options to show metadata bin/remote-summary: Add options to show metadata Eric Curtin (1): bootloader: Add an aboot (Android) bootloader backend Jonathan Lebon (1): ostree/prune: Calculate reachability under exclusive lock Luca BRUNO (4): lib: assert more invariants configure: use pkg-config with newer gpgme and gpg-error lib/repo: fix an 'unused-function' warning lib/sysroot-upgrader: add some 'nullable' annotations Tareque Md Hanif (1): docs: Fix link to ostree-rs Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Handle musl's ERANGE mappingAlex Kiernan2023-01-042-0/+30
| | | | | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Fix comments for configuration/ptestAlex Kiernan2023-01-041-8/+17
| | | | | | | | 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>
* ostree: Switch to fuse3 which is supported in ostree nowAlex Kiernan2023-01-041-1/+1
| | | | | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Use systemd_system_unitdir for systemd unitsAlex Kiernan2023-01-041-3/+3
| | | | | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade 2022.5 -> 2022.7Alex Kiernan2022-12-316-147/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert to tarballs which are now being published. Drop backported fixes, drop s390 bash patch (done differently upstream), drop glibc 2.36 sys/mount fix (done differently upstream), add patch for musl and ALLPERMS. v2022.7 (Some of these commits are actually only for the Rust bindings; will try to enhance the release flow to more clearly filter those out) On the feature front, there's new APIs for idempotent delete operations on kernel arguments, and for handling unshare() to manipulate (otherwise) read-only sysroot. A few very small memory leak fixes. Many people will be happy that we now retry HTTP requests after receiving HTTP 500 errors. There's a notable bugfix avoiding rebuilding SELinux policy when creating a first deployment. Thanks to all contributors! Colin Walters (18): Remove readdir-rand deploy: Don't rebuild selinux policy on first deployment ci: Bump memory for ISO testing flow rust: Update to cap-std 1.0 rust: Drop `openat` dependency ci: Fix case where cosa != buildroot rust: Update to gio 0.16 repo: Avoid potential double unwind when writing panic value Allow missing docs on two `glib::wrapper` functions sysroot: Add an API to initialize with mountns rust: Regenerate with latest gir and C sources tests/inst: Update to latest ostree-ext tests/inst: Drop nix dependency tests/inst: Update cap-std-ext to 1.0 tests/inst: Update sh-inline tests: Require OSTREE_TEST_SUDO to be set to use `sudo` ci: Add a flow that combines C build and Rust integration tests Release 2022.7 Jonathan Lebon (4): ci: Bump memory request, use fcosKolaTestIso ci: Drop unnecessary outer stage ci: Use new names for custom kola steps ci: bump cosaPod memory requirement to 5Gi Luca BRUNO (20): configure: post-release version bump lib/repo-checkout: fix typo in error message lib/bootloader-zipl: check for errors when opening initrd lib/static-delta: document and check parameters format rust/tests: fix static delta generation testcase lib/sign-ed25519: convert invariant checks to assertions rust: regenerate bindings after latest release (2022.6) ostree: manually patch generated files rust: update manual helpers ci/rust: bump linting toolchain to latest stable (1.64) lib/repo-refs: properly return an error value rust: update pinned gir tool to 0.15 rust/ostree-sys: regenerate for gtk-rs 0.15 rust/ostree: regenerate for gtk-rs 0.15 ci/rust: test from git using latest feature cargo: prepare ostree 0.16.0 and ostree-sys 0.11.0 copr: only use libostree tags ci: adjust git tags filtering cargo: bump minimum Rust version to 1.63 ostree: manually patch generated files Manuel Stühn (1): Add test for generating static delta to file Philip Withnall (4): ot-builtin-commit: Fix a typo in a command line help string ot-builtin-commit: Don’t mention a C function name in a help string lib/pull: Fix a small leak when a variable is reused ot-builtin-pull: Fix a minor leak with progress reporting Rafael Garcia Ruiz (2): ostree_kernel_args_contains for OstreeKernelArgs Idempotent delete operation for OstreeKernelArgs Ricardo Noriega (2): Enabling retry for HTTP 500 internal server error Add tests for cases under random 500s Simon McVittie (2): readdir-rand: Copy full size of struct dirent Replace calls to g_memdup() with g_memdup2() dependabot[bot] (2): build(deps): bump libglnx from `26375b5` to `e701578` build(deps): bump libglnx from `e701578` to `4e44fd9` 2022.6 This release contains a collection of bugfixes and enhancements. Notable fixes concern finalize-staged, which should now better support automounted partitions and skip waiting for termination signal. A file descriptor leak has been fixed in the commit logic. The codebase has also been fixed to avoid conflicting declarations when building with latest glibc (>= 2.36). Thanks @GeorgesStavracas for both fixes! On the feature side, there is now basic support for handling overlayfs whiteouts on checkout through a new --process-passthrough-whiteouts flag. This is useful for users that need to carry container storage embedded into ostree commits. Thanks @mangelajo for that! The ostree rev-parse command gained a new --single flag to better support repositories containing exactly one commit. Overall, the s390x Secure Execution (SE) logic has been reworked to stop relying on glue scripts. Thanks to all contributors! Andrea Perotti (1): Fix recursive git archive reference Colin Walters (12): configure: post-release version bump rust-bindings: Fix `cargo fmt` deny.toml: Add `Unicode-DFS-2016` Remove unused `linux/fs.h` includes Move FIFREEZE/FITHAW ioctl invocations into linuxfsutil.c cli/rev-parse: Port to new code style cli/rev-parse: Add `--single` option rust: Update to latest git ci: Also drop seccomp on debian testing rust: Bind `ostree_repo_list_commits_starting_with` finalize-staged: Don't listen to `SIGTERM`, just let kernel exit us README.md: Link otto Dan Nicholson (3): main: Factor out sysroot loading finalize-staged: Ensure /boot automount doesn't expire lib/pull: Fix max-metadata-size documentation Georges Basile Stavracas Neto (1): lib/commit: Unref repo on success Huijing Hei (1): Fix `ostree admin kargs edit-in-place` assertion when deployments are pending Jon Oster (1): docs: Add aktualizr and TorizonCore to related projects Jonathan Lebon (3): lib/commit: Directly use FICLONE for payload link tests/kolainst/staged-deploy: parse `rpm-ostree status --json` instead docs: Add section about staged deployments Luca BRUNO (7): libostree: fix a typo in annotation lib/bootloader: assert invariants lib/mtree: drop redundant name checks otutil: add error handling to variant builders lib/sign: convert invariant checks to assertions lib/repo: properly initialize boolean variable lib/sysroot-deploy: explicitly handle `g_variant_lookup` results Lukas Kalbertodt (1): Update to `libtest-mimic` 0.5.0 Miguel Angel Ajo (1): Support overlayfs whiteouts on checkout Nikita Dubrovskii (3): s390x: ensure both 'root' and 'boot' luks keys exist s390x: simplify 's390x-se-luks-gencpio' script s390x: use 'libarchive' to modify initrd in SE case Sam James (1): buildutil/glibtests.m4: fix bashism dependabot[bot] (1): build(deps): bump libglnx from `c59eb27` to `26375b5` git-bruh (1): ostree-fetcher-curl: check for HTTP2 support before trying to use it Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: replace libsoup-2.4 by curlMarkus Volk2022-12-101-3/+3
| | | | | | | like it is done in fedora Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: fix selinux policy rebuild error on first deploymentYi Zhao2022-11-252-0/+45
| | | | | | | | | Backport a patch to fix selinux policy rebuild error on first deployment. See: https://github.com/ostreedev/ostree/issues/2758 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: add runtime dependency bubblewrap for PACKAGECONFIG[selinux]Yi Zhao2022-11-231-1/+1
| | | | | | | | | | Since 2022.3, ostree has a runtime dependency on bubblewrap when enable selinux feature[1]. [1] https://github.com/ostreedev/ostree/commit/edb4f3893474736156c654aa43bdbf3784991811 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Cleanup PACKAGECONFIGsAlex Kiernan2022-08-121-3/+4
| | | | | | | | Add ed25519-libsodium to PACKAGECONFIG, mark glib/gnutls/openssl as mutual conflicts. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: Upgrade to 2022.5 releaseKhem Raj2022-08-064-1/+100
| | | | | | Backport a fix for building with glibc 2.36+ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: prevent ostree-native depending on target virtual/kernel to provide ↵Martin Jansa2022-05-141-1/+1
| | | | | | | kernel-module-overlay Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2021.6 -> 2022.2wangmy2022-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== 2022.02: lib/util: add syslog.h for ot_journal_print() lib/bootloader: use ot_journal_print() instead of sd-journal main: Also support CLI extensions in '/usr/libexec/libostree/ext' sysroot: Add a public '#define OSTREE_PATH_BOOTED' deploy: Add a 5s max timeout on global filesystem 'sync()' deploy: Also log to journal if we time out global sync() core: Mark 'ostree_create_directory_metadata' as '(not nullable)' lib/tar: Add some error prefixing build-sys: Drop '-Werror=aggregate-return' mtree: Use declare-and-initialize style mtree: Load traversed subdirs when creating parents Release 2022.2 configure: post-release version bump github: Workaround glib/seccomp issue on Ubuntu impish lib/repo: Add commit version metadata to summary metadata .lgtm.yml: Fix gpgme dependency lib/deploy: When deleting staged deployment, delete any lock ostree/deploy: Test finalization locking tests/kolainst: Avoid recursive symlinks ci/libbuild.sh: drop yum/CentOS support ci/make-git-snapshot.sh: fix archive name ci/make-git-snapshot.sh: auto-initialize submodules ci/make-git-snapshot.sh: xz the archive Add COPR integration Makefile lib/gpg-verify-result: Add missing floating annotation configure: post-release version bump libotutil: avoid leaking builder memory on error ostree: check g_setenv return value libostree/sepolicy: get rid of a g_setenv() call lib/commit: always validate metadata lib/commit: reject empty metadata keys builtin: use GCancellable and GError everywhere lib/repo: open file only if required lib/commit: clean up assertions lib/core: introduce two new object types for split xattrs lib/core: introduce 'bare-split-xattrs' mode lib/repo: read split xattrs content from file-xattrs-link objects lib/commit: disallow writing content in 'bare-split-xattrs' mode tests/basic-bare-split-xattrs: add fixture, check read logic man: Fix typo in ostree-admin-switch man: Fix typo in ostree-find-remotes s390x: add "IBM Secure Execution for Linux" support s390x: add LUKS keyfile to 'sd-boot' Fix marking static delta commits as partial lib/repo-refs: Remove misleading newline src/ostree: Add --commit-only option to ostree prune man/prune, bash: Add --commit-only flag for ostree prune tests/test-prune.sh: expand testing for --commit-only tests/test-prune.sh: Use TAP API libotutil: Avoid infinite recursion during error unwinding Update submodule: libglnx build(deps): bump libglnx from '803adaf' to '88da8dd' build(deps): bump libglnx from '88da8dd' to 'c71f7ae' 2022.01: repo: Change locking for summary regeneration to be shared soup-uri: Fix clang-analyzer warning by dropping dead code tests: Fix clang-analyzer not seeing through `g_error()` Update FSF license notices to use URL instead of address lib: misc static analysis fixes lib/repo: assert that writable state and error agree lib/repo: do no return an arbitrary mode on failure lib/repo: do no return a NULL on failure tests: assert mandatory values are present main: add support for CLI extensions via external binaries tests/cli-extensions: tweak test logic lib: use ostree-content-writer header bsdiff: bump submodule, pick up fix for CVE-2014-9862 lib/static-delta: throw a proper error on bspatch failure github: add dependabot config rofiles-fuse: Build using FUSE 3 if possible, falling back to FUSE 2 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: workaround compile error with option gcc option -OgHongxu Jia2021-12-021-0/+8
| | | | | | | | | | | While DEBUG_BUILD = "1" in local.conf, `-Og' is added to cfalgs by Yocto, it broke ostree build with `-Werror=aggregate-return' (the -Werror=aggregate-return is added by ostree configure.ac) So remove -Og and use -O2 as workaround Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: use Yocto mirrorHongxu Jia2021-12-011-4/+0
| | | | | | | | | | | | | Clean up PREMIRRORS setting, the Yocto mirror is updated $ mkdir ./ostree && cd ./ostree $ wget http://downloads.yoctoproject.org/mirror/sources/git2_github.com.ostreedev.ostree.tar.gz $ tar -xvf git2_github.com.ostreedev.ostree.tar.gz $ git show f1155c8d283c3c85d74d5e1050b0dcf8198f750a --oneline f1155c8d (tag: v2021.6) Release 2021.6 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: add nativesdk supportHongxu Jia2021-12-011-1/+17
| | | | | | | | | | # Changed in V2: s/$OECORE_NATIVE_SYSROOT/\$OECORE_NATIVE_SYSROOT/ for # ostree wrapper of nativesdk Refer the impment of native, use the same PACKAGECONFIG, EXTRA_OECONF and similar create_wrapper for ostree Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2021.5 -> 2021.6wangmy2021-11-291-1/+1
| | | | | | | | | | | | | | | | Changelog: This is a bugfix release. Most of the fixes are related to warnings highlighted by gcc -fanalyzer static source analysis. Performance of pruning logic has been improved, avoiding unnecessary trips through redundant serialization (#2484). A regression has been fixed so that ostree is properly behaving again when used from the initramfs, at a point where /sysroot may not be mounted yet (#2486). A race condition related to sysroot.readonly has been addressed by directly setting up sysroot readonly in initramfs (#2187). Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: update to 2021.5Oleksandr Kravchuk2021-10-161-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Fix override syntaxKhem Raj2021-08-061-1/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-20/+20
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* ostree: upgrade 2021.2 -> 2021.3zhengruoqin2021-07-161-1/+1
| | | | | | | | | | | | | | | Changelog: This release adds new repository-locking methods to the API, in order to make lock handling more granular and better suited for multi-threaded consumers of the library. Several bugs have been fixed related to service unit ordering and enablement. Pulling from remotes with unknown schemes now produces more friendly error messages. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: switch from default master branch to main to fix do_fetch failureMartin Jansa2021-05-121-1/+1
| | | | | | | * branch was renamed in upstream repo Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyyaml: Do not check for meta-pythonKhem Raj2021-04-261-1/+1
| | | | | | | Its in OE-core now Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* ostree: upgrade 2021.1 -> 2021.2zangrc2021-04-231-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2020.8 -> 2021.1zangrc2021-04-011-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2020.7 -> 2020.8zangrc2020-11-271-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2020.6 -> 2020.7Zang Ruochen2020-11-021-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2020.5 -> 2020.6Zang Ruochen2020-09-101-1/+1
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: upgrade 2020.4 -> 2020.5Alex Kiernan2020-08-191-1/+1
| | | | | Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ostree: update to 2020.4Oleksandr Kravchuk2020-07-281-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>