From f579f33ff5e3c72820086bf918edb959f3334d14 Mon Sep 17 00:00:00 2001 From: Alexander Herfurtner Date: Fri, 3 Dec 2021 09:51:53 +0100 Subject: [PATCH] console_rootfs.sh: Remove duplicate lines Remove duplicate statements on U-Boot environment tool installation. Signed-off-by: Alexander Herfurtner --- variscite/console_rootfs.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/variscite/console_rootfs.sh b/variscite/console_rootfs.sh index fd96fa76e104..6ab1da431c61 100644 --- a/variscite/console_rootfs.sh +++ b/variscite/console_rootfs.sh @@ -495,13 +495,11 @@ EOF cp ${PARAM_OUTPUT_DIR}/fw_printenv-mmc ${ROOTFS_BASE}/usr/bin cp ${PARAM_OUTPUT_DIR}/fw_printenv-nand ${ROOTFS_BASE}/usr/bin ln -sf fw_printenv-nand ${ROOTFS_BASE}/usr/bin/fw_printenv - ln -sf fw_printenv ${ROOTFS_BASE}/usr/bin/fw_setenv else - cp ${G_VARISCITE_PATH}/${MACHINE}/fw_env.config ${ROOTFS_BASE}/etc cp ${PARAM_OUTPUT_DIR}/fw_printenv ${ROOTFS_BASE}/usr/bin - ln -sf fw_printenv ${ROOTFS_BASE}/usr/bin/fw_setenv fi + ln -sf fw_printenv ${ROOTFS_BASE}/usr/bin/fw_setenv cp ${G_VARISCITE_PATH}/${MACHINE}/fw_env.config ${ROOTFS_BASE}/etc cp ${G_VARISCITE_PATH}/automount.rules ${ROOTFS_BASE}/etc/udev/rules.d