Skip to contentSkip to conversation

package/rauc: package/rauc: bump version to 1.5.1

PATCH New Bartosz Bilas 2 participants 2 messages Feb 6, 2021 – Feb 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rauc: package/rauc: bump version to 1.5.1

Removed patch applied upstream.

---
 ...c-mount.c-fix-build-with-kernel-4.14.patch | 43 -------------------
 package/rauc/rauc.hash                        |  4 +-
 package/rauc/rauc.mk                          |  2 +-
 3 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 package/rauc/0001-src-mount.c-fix-build-with-kernel-4.14.patch
package/rauc/0001-src-mount.c-fix-build-with-kernel-4.14.patch deleted +0 -43
deleted file mode 100644
index 9604e8878a..0000000000
@@ -1,43 +0,0 @@
-From f73eefdbc0577b125f7d36f54a27d8e95af831dd Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Tue, 22 Dec 2020 11:52:31 +0100
-Subject: [PATCH] src/mount.c: fix build with kernel < 4.14
-
-Build with kernel headers < 4.14 fails since version 1.5.0 and
-https://github.com/rauc/rauc/commit/527bf2f7f746e0253f7843542e19cb0fa0c7c869:
-
-src/mount.c: In function 'r_setup_loop':
-src/mount.c:201:25: error: 'LOOP_SET_BLOCK_SIZE' undeclared (first use in this function)
-  looprc = ioctl(loopfd, LOOP_SET_BLOCK_SIZE, 4096);
-                         ^
-
-Indeed, LOOP_SET_BLOCK_SIZE is only defined since
-https://github.com/torvalds/linux/commit/89e4fdecb51cf5535867026274bc97de9480ade5
-
-Fixes:
- - http://autobuild.buildroot.org/results/829ae7ed66686c11a941ac99bd08a06f754affb4
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://github.com/rauc/rauc/pull/673]
----
- src/mount.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/mount.c b/src/mount.c
-index 2e593ca..75acf49 100644
---- a/src/mount.c
-+++ b/src/mount.c
-@@ -11,6 +11,10 @@
- #include "mount.h"
- #include "utils.h"
- 
-+#ifndef LOOP_SET_BLOCK_SIZE
-+#define LOOP_SET_BLOCK_SIZE 0x4C09
-+#endif
-+
- gboolean r_mount_bundle(const gchar *source, const gchar *mountpoint, GError **error)
- {
- 	const unsigned long flags = MS_NODEV | MS_NOSUID | MS_RDONLY;
--- 
-2.29.2
-
package/rauc/rauc.hash +2 -2
index 73c1add995..a025257845 100644
@@ -1,4 +1,4 @@
 # Locally calculated, after verifying against
-# https://github.com/rauc/rauc/releases/download/v1.5/rauc-1.5.tar.xz.asc
-sha256  5dfbc46e808240c5014d318cfe64f0431307c37aa79cb2b013caa12daaf96d9d  rauc-1.5.tar.xz
+# https://github.com/rauc/rauc/releases/download/v1.5.1/rauc-1.5.1.tar.xz.asc
+sha256  d4ea009ce702bcb083d942398ccfedec959c6bbb7adc0fd77ae9314ce11d9d91  rauc-1.5.1.tar.xz
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
package/rauc/rauc.mk +1 -1
index 51087e9f36..4fb3ddde3e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-RAUC_VERSION = 1.5
+RAUC_VERSION = 1.5.1
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 package/rauc: package/rauc: bump version to 1.5.1

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bartosz" == Bartosz Bilas <[email protected]> writes:

Removed patch applied upstream.

Committed to 2020.02.x and 2020.11.x given the bugfixes, thanks.

Signature · 1 line
Bye, Peter Korsgaard