[Buildroot] [PATCH 5/8] package/mender: add BR2_PACKAGE_MENDER_DEVICE_TYPE option

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Aug 15 11:55:07 UTC 2018


Hello,

On Wed, 15 Aug 2018 01:13:34 +0200, Mirza Krak wrote:

> +config BR2_PACKAGE_MENDER_DEVICE_TYPE
> +	string "Mender device type"
> +	help
> +	  A string that defines the type of device which will be used to check
> +	  compatibility of update artifacts. Once a device is flashed with this,
> +	  it will not change, even if the device is updated using Mender.
> +
> +	  Will be stored in /data/mender/device_type. Note that /data is a mount
> +	  point for the persistent data partition.

I am a bit confused with "Note that /data is a mount point for the
persistent data partition". If /data is a different partition than the
root filesystem one, then what is the point of
having /data/mender/device_type in the root filesystem ? It will be
hidden by whatever partition gets mounted in /data.

(Side note: please make sure to run check-package on your changes, the
Config.in help text lines look a bit too long.)

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list