summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/ostree/ostree/0001-lib-deploy-Use-off_t-not-__off_t.patch27
-rw-r--r--meta-oe/recipes-extended/ostree/ostree_2023.5.bb (renamed from meta-oe/recipes-extended/ostree/ostree_2023.4.bb)3
2 files changed, 1 insertions, 29 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree/0001-lib-deploy-Use-off_t-not-__off_t.patch b/meta-oe/recipes-extended/ostree/ostree/0001-lib-deploy-Use-off_t-not-__off_t.patch
deleted file mode 100644
index a64d9de5ef..0000000000
--- a/meta-oe/recipes-extended/ostree/ostree/0001-lib-deploy-Use-off_t-not-__off_t.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 6d690ebf64ce640afce3085f01da8694a04853a9 Mon Sep 17 00:00:00 2001
2From: Alex Kiernan <alex.kiernan@gmail.com>
3Date: Tue, 20 Jun 2023 19:24:04 +0100
4Subject: [PATCH] lib/deploy: Use off_t not __off_t
5
6Not clear why this was __off_t which is the sole appearance in the code
7base, but it breaks musl builds.
8
9Upstream-Status: Submitted [https://github.com/ostreedev/ostree/pull/2896]
10Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
11---
12 src/libostree/ostree-sysroot-deploy.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/libostree/ostree-sysroot-deploy.c b/src/libostree/ostree-sysroot-deploy.c
16index 8fcd5e802758..2454a5877d94 100644
17--- a/src/libostree/ostree-sysroot-deploy.c
18+++ b/src/libostree/ostree-sysroot-deploy.c
19@@ -2536,7 +2536,7 @@ get_kernel_layout_size (OstreeSysroot *self, OstreeDeployment *deployment, guint
20 /* This is a roundabout but more trustworthy way of doing a space check than
21 * relying on statvfs's f_bfree when you know the size of the objects. */
22 static gboolean
23-dfd_fallocate_check (int dfd, __off_t len, gboolean *out_passed, GError **error)
24+dfd_fallocate_check (int dfd, off_t len, gboolean *out_passed, GError **error)
25 {
26 /* If the requested size is 0 then return early. Passing a 0 len to
27 * fallocate results in EINVAL */
diff --git a/meta-oe/recipes-extended/ostree/ostree_2023.4.bb b/meta-oe/recipes-extended/ostree/ostree_2023.5.bb
index d2a7b04562..3028c4c92a 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2023.4.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2023.5.bb
@@ -21,9 +21,8 @@ DEPENDS = " \
21GITHUB_BASE_URI = "https://github.com/ostreedev/ostree/releases" 21GITHUB_BASE_URI = "https://github.com/ostreedev/ostree/releases"
22SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libostree-${PV}.tar.xz \ 22SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libostree-${PV}.tar.xz \
23 file://run-ptest \ 23 file://run-ptest \
24 file://0001-lib-deploy-Use-off_t-not-__off_t.patch \
25 " 24 "
26SRC_URI[sha256sum] = "7cee8ace6aae3c778527927a85abefbfbd491c021f52ae229c51ca3077f9c5d1" 25SRC_URI[sha256sum] = "bc593afb31fe1ac3d50419f917fafe321a0a3561d7bb2ba498a83740fe3adb14"
27 26
28S = "${WORKDIR}/libostree-${PV}" 27S = "${WORKDIR}/libostree-${PV}"
29 28