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'=')"