package/rauc: version bump to 1.0

Message ID 2dcda5ba55a548c5a61cb30db7686ba9@exitstrategytech.com
State Accepted
Headers show
Series
  • package/rauc: version bump to 1.0
Related show

Commit Message

David J. Fogle Jan. 7, 2019, 10:44 p.m.
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@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

Comments

Baruch Siach Jan. 8, 2019, 4:41 a.m. | #1
Hi David,

David J. Fogle writes:

> 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@exitstrategytech.com

[...]

> diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
> index 36119c061d..6ca39e820e 100644
> --- a/package/rauc/rauc.mk
> +++ b/package/rauc/rauc.mk
> @@ -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

Is autoreconf still necessary?

baruch
David J. Fogle Jan. 9, 2019, 4:31 a.m. | #2
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 <baruch@tkos.co.il>
Date: 1/7/19 10:39 PM (GMT-06:00)
To: "David J. Fogle" <Dave@exitstrategytech.com>
Cc: buildroot@busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hi David,

David J. Fogle writes:

> 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@exitstrategytech.com

[...]

> diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
> index 36119c061d..6ca39e820e 100644
> --- a/package/rauc/rauc.mk
> +++ b/package/rauc/rauc.mk
> @@ -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

Is autoreconf still necessary?

baruch

--
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>I am not sure, tbh. I have a working rauc 1.0 system I can test on though, if need be.
</div>
<br>
<br>
<div style="font-size:75%; color:#252525">Sent from Samsung Focus</div>
<br>
<br>
<div>-------- Original message --------</div>
<div>From: Baruch Siach &lt;baruch@tkos.co.il&gt; </div>
<div>Date: 1/7/19 10:39 PM (GMT-06:00) </div>
<div>To: &quot;David J. Fogle&quot; &lt;Dave@exitstrategytech.com&gt; </div>
<div>Cc: buildroot@busybox.net </div>
<div>Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0 </div>
<div><br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi David,<br>
<br>
David J. Fogle writes:<br>
<br>
&gt; For details see [1]<br>
&gt;<br>
&gt; This bump also deleted the two patch files for the RAUC package. These<br>
&gt; were related to eMMC support being made optional, and workaround for<br>
&gt; olde kernel. Both of these patch sets have been merged into upsteam in<br>
&gt; the rauc git repos.<br>
&gt;<br>
&gt; Older kernel workaound:<br>
&gt; <a href="https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1">
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1</a><br>
&gt;<br>
&gt; Make eMMC selectable:<br>
&gt; <a href="https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738">
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738</a><br>
&gt;<br>
&gt; [1] <a href="https://github.com/rauc/rauc/releases/tag/v1.0">https://github.com/rauc/rauc/releases/tag/v1.0</a><br>
&gt;<br>
&gt; Signed-off-by: David J Fogle dave@exitstrategytech.com<br>
<br>
[...]<br>
<br>
&gt; diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk<br>
&gt; index 36119c061d..6ca39e820e 100644<br>
&gt; --- a/package/rauc/rauc.mk<br>
&gt; &#43;&#43;&#43; b/package/rauc/rauc.mk<br>
&gt; @@ -4,12 &#43;4,11 @@<br>
&gt;&nbsp; #<br>
&gt;&nbsp; ################################################################################<br>
&gt;&nbsp; <br>
&gt; -RAUC_VERSION = 0.4<br>
&gt; &#43;RAUC_VERSION = 1.0<br>
&gt;&nbsp; RAUC_SITE = <a href="https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION">
https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION</a>)<br>
&gt;&nbsp; RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz<br>
&gt;&nbsp; RAUC_LICENSE = LGPL-2.1<br>
&gt;&nbsp; RAUC_DEPENDENCIES = host-pkgconf openssl libglib2<br>
&gt; -# 0002-build-make-eMMC-boot-partition-support-optional.patch<br>
&gt;&nbsp; RAUC_AUTORECONF = YES<br>
<br>
Is autoreconf still necessary?<br>
<br>
baruch<br>
<br>
-- <br>
&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://baruch.siach.name/blog/">http://baruch.siach.name/blog/</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~. .~&nbsp;&nbsp; Tk Open Systems<br>
=}------------------------------------------------ooO--U--Ooo------------{=<br>
&nbsp;&nbsp; - baruch@tkos.co.il - tel: &#43;972.52.368.4656, <a href="http://www.tkos.co.il">http://www.tkos.co.il</a> -<br>
</div>
</span></font>
</body>
</html>
Baruch Siach Jan. 9, 2019, 6:35 a.m. | #3
Hi David,

On Wed, Jan 09, 2019 at 04:31:08AM +0000, David J. Fogle wrote:
> 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

> -------- Original message --------
> From: Baruch Siach <baruch@tkos.co.il>
> Date: 1/7/19 10:39 PM (GMT-06:00)
> To: "David J. Fogle" <Dave@exitstrategytech.com>
> Cc: buildroot@busybox.net
> Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0
> 
> Hi David,
> 
> David J. Fogle writes:
> 
> > 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@exitstrategytech.com
> 
> [...]
> 
> > diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
> > index 36119c061d..6ca39e820e 100644
> > --- a/package/rauc/rauc.mk
> > +++ b/package/rauc/rauc.mk
> > @@ -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
> 
> Is autoreconf still necessary?
> 
> baruch
David J. Fogle Jan. 10, 2019, 6:36 p.m. | #4
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.
David J. Fogle Jan. 12, 2019, 5:39 p.m. | #5
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 <thomas.petazzoni@bootlin.com>
Date: 1/12/19 11:37 AM (GMT-06:00)
To: "David J. Fogle" <Dave@exitstrategytech.com>
Cc: buildroot@busybox.net
Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0

Hello,

On Mon, 7 Jan 2019 22:44:07 +0000, David J. Fogle wrote:
> 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@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

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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>Awesome! Thank you kindly, I will let the RAUC guys know the patch is in. Have a great weekend!</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div id="x_composer_signature">
<div style="font-size:85%; color:#575757">David Fogle</div>
<div style="font-size:85%; color:#575757"><br>
</div>
<div style="font-size:85%; color:#575757">CTO - Exit Strategy</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt; </div>
<div>Date: 1/12/19 11:37 AM (GMT-06:00) </div>
<div>To: &quot;David J. Fogle&quot; &lt;Dave@exitstrategytech.com&gt; </div>
<div>Cc: buildroot@busybox.net </div>
<div>Subject: Re: [Buildroot] [PATCH] package/rauc: version bump to 1.0 </div>
<div><br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello,<br>
<br>
On Mon, 7 Jan 2019 22:44:07 &#43;0000, David J. Fogle wrote:<br>
&gt; For details see [1]<br>
&gt; <br>
&gt; This bump also deleted the two patch files for the RAUC package. These<br>
&gt; were related to eMMC support being made optional, and workaround for<br>
&gt; olde kernel. Both of these patch sets have been merged into upsteam in<br>
&gt; the rauc git repos.<br>
&gt; <br>
&gt; Older kernel workaound:<br>
&gt; <a href="https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1">
https://github.com/rauc/rauc/commit/993b698c48789baea51f8b7c47b1e057ba328033#diff-b3a0044e6a3b6a8b16933e72f416c8f1</a><br>
&gt; <br>
&gt; Make eMMC selectable:<br>
&gt; <a href="https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738">
https://github.com/rauc/rauc/commit/f85d1cab07376c7680ef4d9e45a6baf345e24e37#diff-365367c8cde56aafd5cbad767e1c9738</a><br>
&gt; <br>
&gt; [1] <a href="https://github.com/rauc/rauc/releases/tag/v1.0">https://github.com/rauc/rauc/releases/tag/v1.0</a><br>
&gt; <br>
&gt; Signed-off-by: David J Fogle dave@exitstrategytech.com<br>
&gt; ---<br>
&gt;&nbsp; ...mmc-add-workaround-for-older-kernels.patch |&nbsp; 33 -----<br>
&gt;&nbsp; ...eMMC-boot-partition-support-optional.patch | 116 ------------------<br>
&gt;&nbsp; package/rauc/rauc.hash&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; 2 &#43;-<br>
&gt;&nbsp; package/rauc/rauc.mk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; 3 &#43;-<br>
&gt;&nbsp; 4 files changed, 2 insertions(&#43;), 152 deletions(-)<br>
&gt;&nbsp; delete mode 100644 package/rauc/0001-emmc-add-workaround-for-older-kernels.patch<br>
&gt;&nbsp; delete mode 100644 package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch<br>
<br>
Applied to master after dropping AUTORECONF = YES, as noticed by<br>
Baruch. Thanks!<br>
<br>
Thomas<br>
-- <br>
Thomas Petazzoni, CTO, Bootlin<br>
Embedded Linux and Kernel engineering<br>
<a href="https://bootlin.com">https://bootlin.com</a><br>
</div>
</span></font>
</body>
</html>
Thomas Petazzoni Jan. 12, 2019, 5:39 p.m. | #6
Hello,

On Mon, 7 Jan 2019 22:44:07 +0000, David J. Fogle wrote:
> 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@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

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

Thomas

Patch

diff --git a/package/rauc/0001-emmc-add-workaround-for-older-kernels.patch b/package/rauc/0001-emmc-add-workaround-for-older-kernels.patch
deleted file mode 100644
index 23c9484e61..0000000000
--- a/package/rauc/0001-emmc-add-workaround-for-older-kernels.patch
+++ /dev/null
@@ -1,33 +0,0 @@ 
-From 7c67c0ef267d470fcec950d2be49507255f39fc5 Mon Sep 17 00:00:00 2001
-From: "Yann E. MORIN" <yann.morin.1998@free.fr>
-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" <yann.morin.1998@free.fr>
----
- 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
-
diff --git a/package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch b/package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch
deleted file mode 100644
index f6177c9d54..0000000000
--- a/package/rauc/0002-build-make-eMMC-boot-partition-support-optional.patch
+++ /dev/null
@@ -1,116 +0,0 @@ 
-From d66502532fea652d8743bfb61f9843c796d305cf Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Fri, 24 Aug 2018 14:30:19 +0200
-Subject: [PATCH] build: make eMMC boot partition support optional
-
-The eMMC boot partition support, added in commit
-ea5cc7ff606c65536da218bd1ef6d0ca279c9b17 ("src/update_handler: add
-support for updating eMMC boot partitions"), requires
-<linux/mmc/ioctl.h>, only available starting from kernel headers 3.0.
-
-Even though it is pretty likely that people are going to use Linux >=
-3.0 on their embedded systems these days, RAUC also needs to be built
-natively on the build machine to produce update artifacts, and the
-build machine is sometimes using an ancient Linux system, especially
-in an enterprise contexts.
-
-In order to make sure that RAUC builds fine in this context, this
-commit makes the eMMC boot partition support optional, by verifying
-the availability of <linux/mmc/ioctl.h>.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
----
- Makefile.am          | 5 ++++-
- configure.ac         | 6 ++++++
- src/update_handler.c | 6 ++++++
- 3 files changed, 16 insertions(+), 1 deletion(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 23eb2d1..7b4682d 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -39,7 +39,6 @@ librauc_la_SOURCES = \
-       src/checksum.c \
-       src/config_file.c \
-       src/context.c \
--      src/emmc.c \
-       src/install.c \
-       src/manifest.c \
-       src/mark.c \
-@@ -63,6 +62,10 @@ librauc_la_SOURCES = \
-       include/update_handler.h \
-       include/utils.h
- 
-+if WANT_EMMC_BOOT_SUPPORT
-+librauc_la_SOURCES += src/emmc.c
-+endif
-+
- if WANT_NETWORK
- librauc_la_SOURCES += src/network.c include/network.h
- endif
-diff --git a/configure.ac b/configure.ac
-index 2d6f940..1ec124b 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -102,6 +102,12 @@ AC_SUBST(DBUS_SYSTEMSERVICEDIR)
- 
- # Checks for header files.
- 
-+AC_CHECK_HEADER([linux/mmc/ioctl.h],
-+      AC_DEFINE([ENABLE_EMMC_BOOT_SUPPORT], [1], [Define to 1 to enable eMMC boot support]),
-+      AC_DEFINE([ENABLE_EMMC_BOOT_SUPPORT], [0]))
-+
-+AM_CONDITIONAL([WANT_EMMC_BOOT_SUPPORT], [test x$ac_cv_header_linux_mmc_ioctl_h != xno])
-+
- # Checks for typedefs, structures, and compiler characteristics.
- 
- # Checks for library functions.
-diff --git a/src/update_handler.c b/src/update_handler.c
-index 62115ec..a9f233a 100644
---- a/src/update_handler.c
-+++ b/src/update_handler.c
-@@ -57,6 +57,7 @@ out:
-       return outstream;
- }
- 
-+#if ENABLE_EMMC_BOOT_SUPPORT == 1
- static gboolean clear_slot(RaucSlot *slot, GError **error)
- {
-       GError *ierror = NULL;
-@@ -99,6 +100,7 @@ out:
-       g_clear_object(&outstream);
-       return res;
- }
-+#endif
- 
- static gboolean ubifs_ioctl(RaucImage *image, int fd, GError **error)
- {
-@@ -1085,6 +1087,7 @@ out:
-       return res;
- }
- 
-+#if ENABLE_EMMC_BOOT_SUPPORT == 1
- static gboolean img_to_boot_emmc_handler(RaucImage *image, RaucSlot *dest_slot, const gchar *hook_name, GError **error)
- {
- 
-@@ -1245,6 +1248,7 @@ out:
- 
-       return res;
- }
-+#endif
- 
- static gboolean img_to_raw_handler(RaucImage *image, RaucSlot *dest_slot, const gchar *hook_name, GError **error)
- {
-@@ -1329,7 +1333,9 @@ RaucUpdatePair updatepairs[] = {
-       {"*.img", "nand", img_to_nand_handler},
-       {"*.img", "ubivol", img_to_ubivol_handler},
-       {"*.squashfs", "ubivol", img_to_ubivol_handler},
-+#if ENABLE_EMMC_BOOT_SUPPORT == 1
-       {"*.img", "boot-emmc", img_to_boot_emmc_handler},
-+#endif
-       {"*.img", "*", img_to_raw_handler}, /* fallback */
-       {0}
- };
--- 
-2.14.4
-
diff --git a/package/rauc/rauc.hash b/package/rauc/rauc.hash
index a16340f185..54c6c93229 100644
--- a/package/rauc/rauc.hash
+++ b/package/rauc/rauc.hash
@@ -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
diff --git a/package/rauc/rauc.mk b/package/rauc/rauc.mk
index 36119c061d..6ca39e820e 100644
--- a/package/rauc/rauc.mk
+++ b/package/rauc/rauc.mk
@@ -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)