From 27d69d25612e857268492678b86aa88e8ea924ac Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Tue, 17 Dec 2019 05:59:28 -0800 Subject: uboot-envtools: check for config prior to append In the rare event a pre-populated fw_env.config exists in the rootfs prior to firstboot, calling fw_setenv after the system has initialised will annihilate the devices environment due to two identical lines in fw_env.config. Check for existence prior to blind appendage. Signed-off-by: Imran Khan Signed-off-by: Daniel Golle [daniel@makrotopia.org: fixed patch format, improved grep, cosmetics] --- package/boot/uboot-envtools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/boot/uboot-envtools/Makefile') diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index f880698e9c..1c6b789716 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uboot-envtools PKG_DISTNAME:=u-boot PKG_VERSION:=2019.07 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.xz -- cgit v1.2.3