package/swupdate: bump to version 2021.04
PATCH 1/1 package/swupdate: bump to version 2021.04
Bump to version 2021.04:
https://github.com/sbabic/swupdate/releases/tag/2021.04
Regenerated swupdate.config by doing:
make swupdate-menuconfig
make swupdate-update-config
Remove the two patches as they have already been upstreamed.
--- ...rce-kernel-to-reread-partition-table.patch | 32 ------------ ...-Shellscript-stops-before-completing.patch | 52 ------------------- package/swupdate/swupdate.config | 25 ++++----- package/swupdate/swupdate.hash | 2 +- package/swupdate/swupdate.mk | 2 +- 5 files changed, 15 insertions(+), 98 deletions(-) delete mode 100644 package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch delete mode 100644 package/swupdate/0002-Shellscript-stops-before-completing.patch
package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 305a7a5a74a612801d9df2b2efc86dd952b8c4e7 Mon Sep 17 00:00:00 2001 -From: Stefano Babic <[email protected]> -Date: Tue, 9 Jun 2020 13:58:06 +0000 -Subject: [PATCH] diskpart: force kernel to reread partition table - -After writing a partition table to disk, the kernel should be informed -(like the partconf tool does), else it is not possible to install images -in the new created partitions. - -Signed-off-by: Stefano Babic <[email protected]> -Signed-off-by: Joris Offouga <[email protected]> ---- - handlers/diskpart_handler.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/handlers/diskpart_handler.c b/handlers/diskpart_handler.c -index 16adc17..372412b 100644 ---- a/handlers/diskpart_handler.c -+++ b/handlers/diskpart_handler.c -@@ -273,7 +273,8 @@ static int diskpart(struct img_type *img, - /* - * Everything done, write into disk - */ -- ret = fdisk_write_disklabel(cxt); -+ ret = fdisk_write_disklabel(cxt) | -+ fdisk_reread_partition_table(cxt); - - handler_exit: - if (fdisk_deassign_device(cxt, 0)) --- -2.25.1 -
package/swupdate/0002-Shellscript-stops-before-completing.patch deleted +0 -52
52 lines not on this page · raw message
package/swupdate/swupdate.config +13 -12
@@ -2,7 +2,6 @@ # Automatically generated file; DO NOT EDIT. # Swupdate Configuration # -CONFIG_HAVE_DOT_CONFIG=y # # Swupdate Settings
@@ -24,7 +23,6 @@ CONFIG_SW_VERSIONS_FILE="/etc/sw-versions" # CONFIG_SOCKET_CTRL_PATH="/tmp/sockinstctrl" CONFIG_SOCKET_PROGRESS_PATH="/tmp/swupdateprog" -CONFIG_SOCKET_REMOTE_HANDLER_DIRECTORY="/tmp/" # # MTD support needs libmtd
@@ -54,13 +52,16 @@ CONFIG_EXTRA_LDLIBS="" # # EFI Boot Guard needs libebgenv and libz # -CONFIG_BOOTLOADER_NONE=y -# CONFIG_BOOTLOADER_GRUB is not set # -# U-Boot support needs libubootenv, libz +# U-Boot support needs libubootenv and libz # +CONFIG_BOOTLOADER_NONE=y +# CONFIG_BOOTLOADER_GRUB is not set +CONFIG_UPDATE_STATE_CHOICE_NONE=y +# CONFIG_UPDATE_STATE_CHOICE_BOOTLOADER is not set CONFIG_SSL_IMPL_NONE=y +# CONFIG_SSL_IMPL_WOLFSSL is not set # # Image downloading support needs libcurl
@@ -77,7 +78,10 @@ CONFIG_SSL_IMPL_NONE=y # # Image encryption needs an SSL implementation # -# CONFIG_SURICATTA is not set + +# +# Suricatta daemon support needs libcurl +# CONFIG_WEBSERVER=y CONFIG_MONGOOSE=y CONFIG_MONGOOSEIPV6=y
@@ -105,6 +109,7 @@ CONFIG_PARSERROOT="" # ubivol support needs libubi # # CONFIG_DISKPART is not set +# CONFIG_UNIQUEUUID is not set CONFIG_RAW=y # CONFIG_RDIFFHANDLER is not set # CONFIG_SHELLSCRIPTHANDLER is not set
@@ -118,15 +123,11 @@ CONFIG_RAW=y # # -# swuforward handler needs json-c and curl -# - -# -# SWU forwarder requires libcurl +# swuforward handler needs json-c and libcurl # # -# swuforward handler needs json-c and curl +# swuforward handler needs websockets and uriparser # # CONFIG_BOOTLOADERHANDLER is not set
package/swupdate/swupdate.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated -sha256 132df2ff1ad41c7aabd0fbef6a23d28607cbd5cad52aab050c4822977a107486 swupdate-2020.04.tar.gz +sha256 5afe78ae94e869bcb911d8592251641cdab80096d8e5149d483054ea49f9aab8 swupdate-2021.04.tar.gz sha256 43492b377cf2fb67942d1dd231146bd4e6578646ad13ef289297c9dd75cbc478 Licenses/Exceptions sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 Licenses/lgpl-2.1.txt
package/swupdate/swupdate.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -SWUPDATE_VERSION = 2020.04 +SWUPDATE_VERSION = 2021.04 SWUPDATE_SITE = $(call github,sbabic,swupdate,$(SWUPDATE_VERSION)) SWUPDATE_LICENSE = GPL-2.0+ with OpenSSL exception, LGPL-2.1+, MIT SWUPDATE_LICENSE_FILES = Licenses/Exceptions Licenses/gpl-2.0.txt \
Signature · 1 line
2.25.1
PATCH 1/1 package/swupdate: bump to version 2021.04
Hi Fabio,
Quoted 2 lines · Fabio Estevam
Bump to version 2021.04:
https://github.com/sbabic/swupdate/releases/tag/2021.04
James posted a patch for that a few days ago:
http://patchwork.ozlabs.org/project/buildroot/patch/20210704120020.1711040-1-james.hilliard1 at gmail.com/
baruch
Signature · 3 lines
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -PATCH 1/1 package/swupdate: bump to version 2021.04
Hi Baruch,
Quoted 3 lines · Baruch Siach
James posted a patch for that a few days ago:
http://patchwork.ozlabs.org/project/buildroot/patch/20210704120020.1711040-1-james.hilliard1 at gmail.com/
Thanks for pointing this out. Let's go with James' version then :-)