Skip to content

Commit

Permalink
console_rootfs.sh: Remove duplicate lines
Browse files Browse the repository at this point in the history
Remove duplicate statements on U-Boot environment tool installation.

Signed-off-by: Alexander Herfurtner <[email protected]>
  • Loading branch information
aherfurtner committed Dec 6, 2021
1 parent e911d9b commit f579f33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions variscite/console_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f579f33

Please sign in to comment.