package/mender: fix missing /var/lib
PATCH 1/1 package/mender: fix missing /var/lib
Mender needs /var/lib directory to be available: on some configurations /var/lib is not available and thus the mender package installation fails. This patch does a mkdir to ensure the /var/lib directory is always available.
Fixes:
http://autobuild.buildroot.net/results/02fde80f6b4bc57d5f2833bd979bf166252eab16
--- package/mender/mender.mk | 1 + 1 file changed, 1 insertion(+)
package/mender/mender.mk +1 -0
@@ -57,6 +57,7 @@ define MENDER_INSTALL_CONFIG_FILES $(INSTALL) -D -m 0755 package/mender/device_type \ $(TARGET_DIR)/etc/mender/device_type + mkdir -p $(TARGET_DIR)/var/lib ln -snf /var/run/mender $(TARGET_DIR)/var/lib/mender endef
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/mender: fix missing /var/lib
Hello Angelo,
Quoted 7 lines · On Fri, 15 Feb 2019 22:42:53 +0100 Angelo Compagnucci…
Mender needs
/var/libdirectory to be available: on some configurations/var/libis not available and thus the mender package installation fails. This patch does a mkdir to ensure the/var/libdirectory is always available.Fixes:
http://autobuild.buildroot.net/results/02fde80f6b4bc57d5f2833bd979bf166252eab16
This reference was a build failure on the "next" branch, so one might think that the issue only exists on the next branch. So I've replaced this with a reference to a build failure that happens on the "master" branch, which makes it clear this patch should be applied on master.
Also for future patches: please always leave one blank line before your SoB.
Quoted 4 lines
Signed-off-by Angelo Compagnucci <[email protected]>--- package/mender/mender.mk | 1 + 1 file changed, 1 insertion(+)
Applied to master, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com