From ef799cca0ea9fd7d92cbbb547fa42ce3813829a1 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Wed, 4 May 2016 03:00:16 +0300 Subject: [PATCH] Fixed the source stuff on the ISO image media. --- src/11_generate_iso.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/11_generate_iso.sh b/src/11_generate_iso.sh index 76b86db6d..77d374e2d 100755 --- a/src/11_generate_iso.sh +++ b/src/11_generate_iso.sh @@ -43,10 +43,14 @@ cp ../../*.sh src cp ../../.config src cp ../../README src cp ../../*.txt src -chmod +rx src/*.sh -chmod +r src/.config -chmod +r src/README -chmod +r src/*.txt +cp -r ../../08_generate_rootfs src +cp -r ../../11_generate_iso src + +# Make all files readable and all scripts executable. +chmod -R +rx **/*.sh +chmod -R +r **/.config +chmod -R +r **/README +chmod -R +r **/*.txt # Read the 'OVERLAY_TYPE' property from '.config' OVERLAY_TYPE="$(grep -i OVERLAY_TYPE $SRC_DIR/.config | cut -f2 -d'=')"