summaryrefslogtreecommitdiff
path: root/recipes/images
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/images')
-rwxr-xr-xrecipes/images/files/colibri-imx7/update.sh1
-rwxr-xr-xrecipes/images/files/library/imx6/update.sh4
-rwxr-xr-xrecipes/images/files/library/tegra/update.sh4
3 files changed, 5 insertions, 4 deletions
diff --git a/recipes/images/files/colibri-imx7/update.sh b/recipes/images/files/colibri-imx7/update.sh
index 13216d8..b9a6e3f 100755
--- a/recipes/images/files/colibri-imx7/update.sh
+++ b/recipes/images/files/colibri-imx7/update.sh
@@ -20,6 +20,7 @@ Flash()
echo "'run update_uboot'"
echo "to update a component stored in UBI enter:"
echo "'run prepare_ubi'"
+ echo "followed by one of:"
echo "'run update_kernel'"
echo "'run update_fdt'"
echo "'run update_rootfs'"
diff --git a/recipes/images/files/library/imx6/update.sh b/recipes/images/files/library/imx6/update.sh
index c59e8ef..230e678 100755
--- a/recipes/images/files/library/imx6/update.sh
+++ b/recipes/images/files/library/imx6/update.sh
@@ -200,8 +200,8 @@ trap '{ printf "\033[31mScript aborted unexpectedly...\033[0m\n"; }' EXIT
sudo chown $USER: ${BINARIES}
#make a file with the used versions for U-Boot, kernel and rootfs
-rm -f ${BINARIES}/versions.txt
-touch ${BINARIES}/versions.txt
+sudo touch ${BINARIES}/versions.txt
+sudo chmod ugo+w ${BINARIES}/versions.txt
echo "Component Versions" > ${BINARIES}/versions.txt
basename "`readlink -e ${BINARIES}/${U_BOOT_BINARY}`" >> ${BINARIES}/versions.txt
basename "`readlink -e ${BINARIES}/${U_BOOT_BINARY_IT}`" >> ${BINARIES}/versions.txt
diff --git a/recipes/images/files/library/tegra/update.sh b/recipes/images/files/library/tegra/update.sh
index a844d12..5b4e1b8 100755
--- a/recipes/images/files/library/tegra/update.sh
+++ b/recipes/images/files/library/tegra/update.sh
@@ -320,8 +320,8 @@ trap '{ printf "\033[31mScript aborted unexpectedly...\033[0m\n"; }' EXIT
sudo chown $USER: ${BINARIES}
#make a file with the used versions for U-Boot, kernel and rootfs
-rm -f ${BINARIES}/versions.txt
-touch ${BINARIES}/versions.txt
+sudo touch ${BINARIES}/versions.txt
+sudo chmod ugo+w ${BINARIES}/versions.txt
echo "Component Versions" > ${BINARIES}/versions.txt
basename "`readlink -e ${BINARIES}/${U_BOOT_BINARY}`" >> ${BINARIES}/versions.txt
basename "`readlink -e ${BINARIES}/${KERNEL_IMAGETYPE}`" >> ${BINARIES}/versions.txt