Skip to contentSkip to conversation

package/rauc: version bump to 1.0

PATCH New David J. Fogle 3 participants 7 messages Jan 7, 2019 – Jan 12, 2019

lore
Share & tools
lore
#0 lore raw

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

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com
---
 ...mmc-add-workaround-for-older-kernels.patch |  33 -----
 ...eMMC-boot-partition-support-optional.patch | 116 ------------------
 package/rauc/rauc.hash                        |   2 +-
 package/rauc/rauc.mk                          |   3 +-
 4 files changed, 2 insertions(+), 152 deletions(-)
 delete mode 100644 package/rauc/0001-emmc-add-workaround-for-older-kernels.patch
 delete mode 100644 package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch
package/rauc/0001-emmc-add-workaround-for-older-kernels.patch deleted +0 -33
deleted file mode 100644
index 23c9484e61..0000000000
@@ -1,33 +0,0 @@
-From 7c67c0ef267d470fcec950d2be49507255f39fc5 Mon Sep 17 00:00:00 2001
-From: "Yann E. MORIN" <[email protected]>
-Date: Sun, 13 May 2018 14:17:44 +0200
-Subject: [PATCH] emmc: add workaround for older kernels
-
-Kernels up to (and including 3.3) forgot to include types.h in their
-mmc/ioctl.h, and thus __u32 (and others) are not defined, causing
-compilation errors:
-
-    http://autobuild.buildroot.org/results/621/621587906bd2bb27c43b6fcbb051d75f20e32e7c/build-end.log
-
-Fix that by explicitly including types.h before mmc/ioctl.h.
-
-Signed-off-by: "Yann E. MORIN" <[email protected]>
----
- src/emmc.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/emmc.c b/src/emmc.c
-index e8b0b05..2ce3373 100644
---- a/src/emmc.c
-+++ b/src/emmc.c
-@@ -4,6 +4,7 @@
- #include <fcntl.h>
- #include <glib/gstdio.h>
- #include <linux/major.h>
-+#include <linux/types.h> /* kernel < 3.4 forgot that in mmc/ioctl.h */
- #include <linux/mmc/ioctl.h>
- #include <string.h>
- #include <sys/ioctl.h>
--- 
-2.14.1
-
package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch deleted +0 -116

116 lines not on this page · raw message

package/rauc/rauc.hash +1 -1
index a16340f185..54c6c93229 100644
@@ -1,3 +1,3 @@
 # Locally calculated, after verifying against
 # https://github.com/rauc/rauc/releases/download/v0.4/rauc-0.4.tar.xz.asc
-sha256 89656b6330ac1f31293d450f5179896397c588ab52e77ec229382a6abd125d35 rauc-0.4.tar.xz
+sha256 8875ab0d02b4cb38a211b236855361c18b874b385e6f18dde394ac699f2cf2aa rauc-1.0.tar.xz
package/rauc/rauc.mk +1 -2
index 36119c061d..6ca39e820e 100644
@@ -4,12 +4,11 @@
 #
 ################################################################################
 
-RAUC_VERSION = 0.4
+RAUC_VERSION = 1.0
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
 RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
-# 0002-build-make-eMMC-boot-partition-support-optional.patch
 RAUC_AUTORECONF = YES
 
 ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y)
Signature · 1 line
2.19.2
#1 lore raw

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

Hi David,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com

[...]

Quoted 6 lines
package/rauc/rauc.mk +0 -0
index 36119c061d..6ca39e820e 100644
@@ -4,12 +4,11 @@
 #

package/rauc/rauc.mk line 12

Quoted 10 lines
package/rauc/rauc.mk +1 -2
 ################################################################################
 
-RAUC_VERSION = 0.4
+RAUC_VERSION = 1.0
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
 RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
-# 0002-build-make-eMMC-boot-partition-support-optional.patch
 RAUC_AUTORECONF = YES

Is autoreconf still necessary?

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

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

I am not sure, tbh. I have a working rauc 1.0 system I can test on though, if need be.

Sent from Samsung Focus

-------- Original message --------
From: Baruch Siach <[email protected]>
Date: 1/7/19 10:39 PM (GMT-06:00)
To: "David J. Fogle" <[email protected]>
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hi David,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com

[...]

Quoted 6 lines
package/rauc/rauc.mk +0 -0
index 36119c061d..6ca39e820e 100644
@@ -4,12 +4,11 @@
 #

package/rauc/rauc.mk line 12

Quoted 10 lines
package/rauc/rauc.mk +1 -2
 ################################################################################
 
-RAUC_VERSION = 0.4
+RAUC_VERSION = 1.0
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
 RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
-# 0002-build-make-eMMC-boot-partition-support-optional.patch
 RAUC_AUTORECONF = YES

Is autoreconf still necessary?

baruch

--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190109/897044bf/attachment.html>

#3 lore raw

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

Hi David,

Quoted 2 lines · David J. Fogle

I am not sure, tbh. I have a working rauc 1.0 system I can test on though, if need be.

You only need to verify that the package still builds without autoreconf.

baruch

Quoted 50 lines

-------- Original message --------
From: Baruch Siach <[email protected]>
Date: 1/7/19 10:39 PM (GMT-06:00)
To: "David J. Fogle" <[email protected]>
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hi David,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com

[...]

Quoted 6 lines
package/rauc/rauc.mk +0 -0
index 36119c061d..6ca39e820e 100644
@@ -4,12 +4,11 @@
 #

package/rauc/rauc.mk line 12

Quoted 10 lines
package/rauc/rauc.mk +1 -2
 ################################################################################
 
-RAUC_VERSION = 0.4
+RAUC_VERSION = 1.0
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
 RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
-# 0002-build-make-eMMC-boot-partition-support-optional.patch
 RAUC_AUTORECONF = YES

Is autoreconf still necessary?

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#4 lore raw

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

Yes, it appears to build and function as it should. I simply set AUTORECONF = NO and ran make rauc-dirclean and then made a new rootfs and tested and update process with that binary.

________________________________
From: Baruch Siach <[email protected]>
Sent: Wednesday, January 9, 2019 12:35:08 AM
To: David J. Fogle
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hi David,

Quoted 2 lines · David J. Fogle

I am not sure, tbh. I have a working rauc 1.0 system I can test on though, if need be.

You only need to verify that the package still builds without autoreconf.

baruch

Quoted 49 lines

-------- Original message --------
From: Baruch Siach <[email protected]>
Date: 1/7/19 10:39 PM (GMT-06:00)
To: "David J. Fogle" <[email protected]>
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hi David,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com

[...]

Quoted 6 lines
package/rauc/rauc.mk +0 -0
index 36119c061d..6ca39e820e 100644
@@ -4,12 +4,11 @@
 #

package/rauc/rauc.mk line 12

Quoted 10 lines
package/rauc/rauc.mk +1 -2
 ################################################################################
 
-RAUC_VERSION = 0.4
+RAUC_VERSION = 1.0
 RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION)
 RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz
 RAUC_LICENSE = LGPL-2.1
 RAUC_DEPENDENCIES = host-pkgconf openssl libglib2
-# 0002-build-make-eMMC-boot-partition-support-optional.patch
 RAUC_AUTORECONF = YES

Is autoreconf still necessary?

Quoted 1 line

baruch

--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190110/c274daae/attachment.html>

#5 lore raw

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

In reply to David J. Fogle

Hello,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com
Quoted 8 lines
---
 ...mmc-add-workaround-for-older-kernels.patch |  33 -----
 ...eMMC-boot-partition-support-optional.patch | 116 ------------------
 package/rauc/rauc.hash                        |   2 +-
 package/rauc/rauc.mk                          |   3 +-
 4 files changed, 2 insertions(+), 152 deletions(-)
 delete mode 100644 package/rauc/0001-emmc-add-workaround-for-older-kernels.patch
 delete mode 100644 package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch

Applied to master after dropping AUTORECONF = YES, as noticed by Baruch. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author Applied
#6 lore raw

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

Awesome! Thank you kindly, I will let the RAUC guys know the patch is in. Have a great weekend!

David Fogle

CTO - Exit Strategy

-------- Original message --------
From: Thomas Petazzoni <[email protected]>
Date: 1/12/19 11:37 AM (GMT-06:00)
To: "David J. Fogle" <[email protected]>
Cc: buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hello,

Quoted 16 lines · David J. Fogle

For details see [1]

This bump also deleted the two patch files for the RAUC package. These were related to eMMC support being made optional, and workaround for olde kernel. Both of these patch sets have been merged into upsteam in the rauc git repos.

Older kernel workaound:
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1

Make eMMC selectable:
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738

[1] https://github.com/rauc/rauc/releases/tag/v1.0

Signed-off-by David J Fogle dave at exitstrategytech.com
Quoted 8 lines
---
 ...mmc-add-workaround-for-older-kernels.patch |  33 -----
 ...eMMC-boot-partition-support-optional.patch | 116 ------------------
 package/rauc/rauc.hash                        |   2 +-
 package/rauc/rauc.mk                          |   3 +-
 4 files changed, 2 insertions(+), 152 deletions(-)
 delete mode 100644 package/rauc/0001-emmc-add-workaround-for-older-kernels.patch
 delete mode 100644 package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch

Applied to master after dropping AUTORECONF = YES, as noticed by Baruch. Thanks!

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190112/94039afd/attachment.html>