* [Buildroot] [PATCH v2 2/3] package/mender-update-modules: new package
2025-04-29 10:16 [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25 Adam Duskett
@ 2025-04-29 10:16 ` Adam Duskett
2025-05-16 9:25 ` Thomas Petazzoni via buildroot
2025-04-29 10:16 ` [Buildroot] [PATCH v2 3/3] package/mender-update-modules: enable docker, rpm, and script modules Adam Duskett
2025-05-16 9:20 ` [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25 Thomas Petazzoni via buildroot
2 siblings, 1 reply; 6+ messages in thread
From: Adam Duskett @ 2025-04-29 10:16 UTC (permalink / raw)
To: buildroot; +Cc: Adam Duskett
Contains community supported Update Modules. An Update Module is an extension
to the Mender client for supporting a new type of software update, such as a
package manager, container, bootloader or even updates of nearby
microcontrollers. An Update Module can be tailored to a specific device or
environment (e.g. update a proprietary bootloader), or be more
general-purpose (e.g. install a set of .rpm packages.).
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
v1 -> v2: Bump version, add podman support
DEVELOPERS | 1 +
package/Config.in | 1 +
package/mender-update-modules/Config.in | 190 ++++++++++++++++++
.../mender-update-modules.hash | 3 +
.../mender-update-modules.mk | 68 +++++++
5 files changed, 263 insertions(+)
create mode 100644 package/mender-update-modules/Config.in
create mode 100644 package/mender-update-modules/mender-update-modules.hash
create mode 100644 package/mender-update-modules/mender-update-modules.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 15389d530b..4158abf360 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -43,6 +43,7 @@ F: package/flutter-pi/
F: package/flutter-sdk-bin/
F: package/ivi-homescreen/
F: package/libutempter/
+F: package/mender-update-modules/
F: package/tllist/
F: support/testing/tests/package/test_flutter.py
diff --git a/package/Config.in b/package/Config.in
index 167965d64b..5e9cd8d993 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2875,6 +2875,7 @@ menu "System tools"
source "package/mender/Config.in"
source "package/mender-connect/Config.in"
source "package/mender-grubenv/Config.in"
+ source "package/mender-update-modules/Config.in"
source "package/mfoc/Config.in"
source "package/moby-buildkit/Config.in"
source "package/mokutil/Config.in"
diff --git a/package/mender-update-modules/Config.in b/package/mender-update-modules/Config.in
new file mode 100644
index 0000000000..b789a0a00c
--- /dev/null
+++ b/package/mender-update-modules/Config.in
@@ -0,0 +1,190 @@
+config BR2_PACKAGE_MENDER_UPDATE_MODULES
+ bool "mender-update-modules"
+ depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # boost-log
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-log
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-log
+ depends on BR2_USE_MMU # libglib2
+ depends on BR2_USE_WCHAR # libglib2
+ select BR2_PACKAGE_HOST_MENDER_ARTIFACT
+ select BR2_PACKAGE_MENDER
+ help
+ community supported Update Modules. An Update Module is an
+ extension to the Mender client for supporting a new type of
+ software update, such as a package manager, container,
+ bootloader or even updates of nearby microcontrollers.
+ An Update Module can be tailored to a specific device or
+ environment (e.g. update a proprietary bootloader), or be
+ more general-purpose (e.g. install a set of .deb packages.).
+
+ https://github.com/mendersoftware/mender-update-modules
+
+if BR2_PACKAGE_MENDER_UPDATE_MODULES
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_DFU
+ bool "DFU"
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
+ select BR2_PACKAGE_DFU_UTIL
+ help
+ The DFU Update Module is able to update peripheral devices
+ connected to the device running Mender.
+ Example use-cases:
+ - Deploy firmware updates to peripheral devices using the
+ USB Device Firmware Update (DFU) protocol
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/dfu
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_DIR_OVERLAY
+ bool "dir-overlay"
+ help
+ The Directory Overlay Update Module installs a user defined
+ file tree structure into a given destination directory in the
+ target.
+
+ Before the deploy into the destination folder on the device,
+ the Update Module will take a backup copy of the current
+ contents, allowing restore of it using the rollback mechanism
+ of the Mender client if something goes wrong. The Update
+ Module will also delete the current installed content that was
+ previously installed using the same module, this means that
+ each deployment is self contained and there is no residues
+ left on the system from the previous deployment.
+
+ Example use-cases:
+ - Deploy root filesystem overlays
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/dir-overlay
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_DIRTY
+ bool "dirty"
+ help
+ The dirty Update Module: modify your device state without
+ installing an artifact
+ Example use-cases:
+ - You have a specific action on the device that you want to
+ run multiple times
+
+ - You want to avoid re-creating artifacts just for the sake
+ of a new version/name
+
+ - You don't want the artifact the show up in the list of
+ installed artifacts
+
+ - The module will always fail the update process, which
+ means it can never be marked as installed. So it can be
+ attempted any number of times without having to recreate
+ newly versioned artifacts.
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/dirty
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_IPK
+ bool "ipk"
+ select BR2_PACKAGE_OPKG
+ help
+ The IPK Update Module allows opkg-based packages to be
+ installed on a device
+
+ Example use-cases:
+ - Deploy any ipk package
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/ipk
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN
+ bool "podman"
+ depends on BR2_USE_MMU # podman
+ depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # podman
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # podman
+ depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # podman
+ depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # podman
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # podman
+ depends on BR2_TOOLCHAIN_HAS_THREADS # podman
+ depends on BR2_USE_WCHAR # podman
+ select BR2_PACKAGE_PODMAN
+ help
+ The Podman Update Module handles the Podman container images
+ that shall be running on the target device. A deployment with
+ this module will stop all currently running Podman containers
+ on the device and start new containers based on the list of
+ Podman images provided in the Mender Artifact.
+
+ In case of any unforeseen error during the process, the module
+ will trigger the rollback mechanism of the Mender client to
+ restore the previously running Podman containers.
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/podman
+
+comment "podman support needs a toolchain w/ headers >= 3.17, threads, wchar"
+ depends on BR2_USE_MMU
+ depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
+ depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 \
+ || !BR2_TOOLCHAIN_HAS_THREADS \
+ || !BR2_USE_WCHAR
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_REBOOT
+ bool "reboot"
+ help
+ The reboot Update Module: reboot your device remotely.
+
+ Example use-cases:
+ - Something went wrong and you have to reboot your device
+ remotely, and all access to the device you have is Mender.
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK
+ bool "rootfs version check"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # python3
+ depends on !BR2_STATIC_LIBS # python3
+ select BR2_PACKAGE_PYTHON3
+ help
+ The rootfs-version-check Update Module implements a full image
+ update with additional checks to protect against replay
+ attacks.
+
+ This is functionally equivalent to the built-in full image
+ update with an extra check to ensure the artifact name
+ follows a specific format and that installing "older" images
+ is rejected. For this reference implementaton, we simply use
+ a numeric identifier and ensure that it is larger than the
+ version installed. For actual device fleet use, you may need
+ to customize this based on your artifact naming scheme.
+
+ Example use-cases:
+ - Deploy root filesystem updates and ensure only newer
+ artifacts are installed
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/rootfs-version-check
+
+comment "rootfs version check needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_SWU
+ bool "swupdate"
+ depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # swupdate
+ select BR2_PACKAGE_JQ
+ select BR2_PACKAGE_SWUPDATE
+ help
+ The SWU Update Module allows deploying an SWUpdate-based
+ artifact to the device.
+
+ Example use-cases:
+ - Extend an existing platform using SWUpdate with OTA.
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/swu
+
+comment "swupdate support needs a toolchain w/ dynamic library"
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ depends on BR2_STATIC_LIBS
+
+endif
+
+comment "mender-update-modules needs a toolchain w/ C++, NPTL, wchar, not affected by GCC bug 64735"
+ depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS
+ depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS_NPTL
diff --git a/package/mender-update-modules/mender-update-modules.hash b/package/mender-update-modules/mender-update-modules.hash
new file mode 100644
index 0000000000..ec879f46a1
--- /dev/null
+++ b/package/mender-update-modules/mender-update-modules.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 4846f39abc254ad2ae2a9f3d5479b064bc1bae5034b9d276ebdb09d8c60f4541 mender-update-modules-d8c4683e6660af6c65069e10ee4b8ee50ec1af46.tar.gz
+sha256 d0f406b04e7901e6b4076bdf5fd20f9d7f04fc41681069fd8954413ac6295688 LICENSE
diff --git a/package/mender-update-modules/mender-update-modules.mk b/package/mender-update-modules/mender-update-modules.mk
new file mode 100644
index 0000000000..b66505060a
--- /dev/null
+++ b/package/mender-update-modules/mender-update-modules.mk
@@ -0,0 +1,68 @@
+################################################################################
+#
+# mender-update-modules
+#
+################################################################################
+
+MENDER_UPDATE_MODULES_VERSION = d8c4683e6660af6c65069e10ee4b8ee50ec1af46
+MENDER_UPDATE_MODULES_SITE = $(call github,mendersoftware,mender-update-modules,$(MENDER_UPDATE_MODULES_VERSION))
+MENDER_UPDATE_MODULES_LICENSE = Apache-2.0
+MENDER_UPDATE_MODULES_LICENSE_FILES = LICENSE
+MENDER_UPDATE_MODULES_DEPENDENCIES = host-mender-artifact mender
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DFU),y)
+MENDER_UPDATE_MODULES_MODULES += dfu
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DIR_OVERLAY),y)
+MENDER_UPDATE_MODULES_MODULES += dir-overlay
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DIRTY),y)
+MENDER_UPDATE_MODULES_MODULES += dirty
+endif
+
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_IPK),y)
+MENDER_UPDATE_MODULES_MODULES += ipk
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN),y)
+MENDER_UPDATE_MODULES_MODULES += podman
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_REBOOT),y)
+MENDER_UPDATE_MODULES_MODULES += reboot
+define MENDER_UPDATE_MODULES_INSTALL_MENDER_REBOOT_GEN
+ $(INSTALL) -D -m 0755 $(@D)/reboot/reboot-gen \
+ $(HOST_DIR)/bin/reboot-artifact-gen
+endef
+MENDER_UPDATE_MODULES_POST_INSTALL_TARGET_HOOKS += MENDER_UPDATE_MODULES_INSTALL_MENDER_REBOOT_GEN
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK),y)
+MENDER_UPDATE_MODULES_DEPENDENCIES += python3
+MENDER_UPDATE_MODULES_MODULES += rootfs-version-check
+define MENDER_UPDATE_MODULES_INSTALL_MENDER_COMPARE_VERSIONS
+ $(INSTALL) -D -m 0755 $(@D)/rootfs-version-check/mender-compare-versions \
+ $(TARGET_DIR)/usr/bin/mender-compare-versions
+endef
+MENDER_UPDATE_MODULES_POST_INSTALL_TARGET_HOOKS += MENDER_UPDATE_MODULES_INSTALL_MENDER_COMPARE_VERSIONS
+endif
+
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_SWU),y)
+MENDER_UPDATE_MODULES_MODULES += swu
+endif
+
+define MENDER_UPDATE_MODULES_INSTALL_TARGET_CMDS
+ $(foreach f,$(MENDER_UPDATE_MODULES_MODULES), \
+ $(INSTALL) -D -m 0775 $(@D)/$(f)/module/$(f) \
+ $(TARGET_DIR)/usr/share/mender/modules/v3/$(f); \
+ if [ -d $(@D)/$(f)/module-artifact-gen ]; then \
+ $(INSTALL) -D -m 0775 $(@D)/$(f)/module-artifact-gen/$(f)-artifact-gen \
+ $(HOST_DIR)/bin/$(f)-artifact-gen; \
+ fi; \
+ )
+endef
+
+$(eval $(generic-package))
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH v2 3/3] package/mender-update-modules: enable docker, rpm, and script modules
2025-04-29 10:16 [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25 Adam Duskett
2025-04-29 10:16 ` [Buildroot] [PATCH v2 2/3] package/mender-update-modules: new package Adam Duskett
@ 2025-04-29 10:16 ` Adam Duskett
2025-05-16 9:32 ` Thomas Petazzoni via buildroot
2025-05-16 9:20 ` [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25 Thomas Petazzoni via buildroot
2 siblings, 1 reply; 6+ messages in thread
From: Adam Duskett @ 2025-04-29 10:16 UTC (permalink / raw)
To: buildroot; +Cc: Adam Duskett
Starting with mender 5.x, the docker, rpm and script modules provided by
the mender package now reside in the mender-update-modules repository.
Even though the mender package provided by Buildroot is not updated yet to 5.x,
it is best to enable the modules here to help facilitate the future update of
the mender package to 5.x, and to ensure that any future modifications or bug
fixes to these modules are easy to apply by simply bumping the upstream package
version.
Script is enabled by default to preserve the existing behavior of the mender
package.
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
---
V1 -> v2: script is always installed
package/mender-update-modules/Config.in | 39 +++++++++++++++++++
.../mender-update-modules.mk | 9 +++++
package/mender/mender.mk | 7 +---
3 files changed, 49 insertions(+), 6 deletions(-)
diff --git a/package/mender-update-modules/Config.in b/package/mender-update-modules/Config.in
index b789a0a00c..4ea0bce6c3 100644
--- a/package/mender-update-modules/Config.in
+++ b/package/mender-update-modules/Config.in
@@ -78,6 +78,23 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_DIRTY
https://github.com/mendersoftware/mender-update-modules/tree/master/dirty
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_DOCKER
+ bool "docker"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_DOCKER
+ help
+ The Docker Update Module handles the Docker images that shall
+ be running in the device. A deployment with this module will
+ stop all currently running Docker containers in the device,
+ and start new containers with the provided list of Docker
+ images in the Mender Artifact.
+
+ In case of an unforeseen error during the process, the module
+ will use the rollback mechanism of the Mender client to
+ restore the previously running Docker containers.
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/docker
+
config BR2_PACKAGE_MENDER_UPDATE_MODULES_IPK
bool "ipk"
select BR2_PACKAGE_OPKG
@@ -160,6 +177,28 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK
comment "rootfs version check needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+config BR2_PACKAGE_MENDER_UPDATE_MODULES_RPM
+ bool "rpm"
+ depends on !BR2_STATIC_LIBS # dlfcn.h
+ depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+ depends on BR2_PACKAGE_LUA && !BR2_PACKAGE_LUA_5_1
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_RPM
+ help
+ The Rpm Update Module updates software on the device using
+ the native local package manager.
+
+ A Mender Artifact containing one or more software packages
+ is sent to the device, where the Update Module will call
+ the package manager to install them in alphabetical order.
+
+ https://github.com/mendersoftware/mender-update-modules/tree/master/rpm
+
+comment "rpm needs a toolchain w/ dynamic library, threads and lua >= 5.3"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
+ || !BR2_PACKAGE_LUA || BR2_PACKAGE_LUA_5_1
+ depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+
config BR2_PACKAGE_MENDER_UPDATE_MODULES_SWU
bool "swupdate"
depends on !BR2_STATIC_LIBS
diff --git a/package/mender-update-modules/mender-update-modules.mk b/package/mender-update-modules/mender-update-modules.mk
index b66505060a..a8429d9929 100644
--- a/package/mender-update-modules/mender-update-modules.mk
+++ b/package/mender-update-modules/mender-update-modules.mk
@@ -10,6 +10,8 @@ MENDER_UPDATE_MODULES_LICENSE = Apache-2.0
MENDER_UPDATE_MODULES_LICENSE_FILES = LICENSE
MENDER_UPDATE_MODULES_DEPENDENCIES = host-mender-artifact mender
+MENDER_UPDATE_MODULES_MODULES = script
+
ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DFU),y)
MENDER_UPDATE_MODULES_MODULES += dfu
endif
@@ -22,6 +24,9 @@ ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DIRTY),y)
MENDER_UPDATE_MODULES_MODULES += dirty
endif
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_DOCKER),y)
+MENDER_UPDATE_MODULES_MODULES += docker
+endif
ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_IPK),y)
MENDER_UPDATE_MODULES_MODULES += ipk
@@ -50,6 +55,10 @@ endef
MENDER_UPDATE_MODULES_POST_INSTALL_TARGET_HOOKS += MENDER_UPDATE_MODULES_INSTALL_MENDER_COMPARE_VERSIONS
endif
+ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_RPM),y)
+MENDER_UPDATE_MODULES_MODULES += rpm
+endif
+
ifeq ($(BR2_PACKAGE_MENDER_UPDATE_MODULES_SWU),y)
MENDER_UPDATE_MODULES_MODULES += swu
endif
diff --git a/package/mender/mender.mk b/package/mender/mender.mk
index 146e6b2b73..770589390f 100644
--- a/package/mender/mender.mk
+++ b/package/mender/mender.mk
@@ -45,12 +45,7 @@ MENDER_DEPENDENCIES = host-pkgconf openssl
MENDER_LDFLAGS = -X github.com/mendersoftware/mender/conf.Version=$(MENDER_VERSION)
-MENDER_UPDATE_MODULES_FILES = \
- directory \
- script \
- single-file \
- $(if $(BR2_PACKAGE_DOCKER_CLI),docker) \
- $(if $(BR2_PACKAGE_RPM),rpm)
+MENDER_UPDATE_MODULES_FILES = directory single-file
define MENDER_INSTALL_CONFIG_FILES
$(INSTALL) -d -m 755 $(TARGET_DIR)/etc/mender/scripts
--
2.49.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25
2025-04-29 10:16 [Buildroot] [PATCH v2 1/3] configs/mender_x86_64_efi_defconfig: bump kernel to 6.12.25 Adam Duskett
2025-04-29 10:16 ` [Buildroot] [PATCH v2 2/3] package/mender-update-modules: new package Adam Duskett
2025-04-29 10:16 ` [Buildroot] [PATCH v2 3/3] package/mender-update-modules: enable docker, rpm, and script modules Adam Duskett
@ 2025-05-16 9:20 ` Thomas Petazzoni via buildroot
2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-05-16 9:20 UTC (permalink / raw)
To: Adam Duskett; +Cc: buildroot
Hello Adam,
On Tue, 29 Apr 2025 12:16:05 +0200
Adam Duskett <adam.duskett@amarulasolutions.com> wrote:
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
> configs/mender_x86_64_efi_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configs/mender_x86_64_efi_defconfig b/configs/mender_x86_64_efi_defconfig
> index d0e0d8a364..2e124ba211 100644
> --- a/configs/mender_x86_64_efi_defconfig
> +++ b/configs/mender_x86_64_efi_defconfig
> @@ -9,7 +9,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="board/mender/x86_64/post-image-efi.sh"
> BR2_ROOTFS_POST_SCRIPT_ARGS="--data-part-size=32M --device-type=buildroot-x86_64 --artifact-name=1.0"
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.49"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.25"
Thanks a lot this update! However, you also need to adjust:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
to keep the configuration consistent.
> BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/mender/x86_64/linux.config"
Doesn't this file needs a "refresh" when you do a big bump like 6.6 ->
6.12 ?
Thanks a lot!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread