add emmc dump extract

This commit is contained in:
Alexander 2024-02-23 23:15:31 +01:00
parent 6f019ea686
commit 1bfbd21342
9 changed files with 241 additions and 8 deletions

View file

@ -43,7 +43,7 @@ fi
current_folder="$PWD"
cd "$target_folder" || exit 7
echo -e "${YELLOW}INFO: Unzipping the python package ...${NC}"
unzip -o "$python_package_file" >/dev/null 2>&1
unzip -oqq "$python_package_file"
# extend the PATH to $project_root/unpacked/squashfs-root/etc/profile
sed -i 's#export PATH="/usr/sbin:/usr/bin:/sbin:/bin"#export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"#' "$ROOTFS_DIR/etc/profile"
cd "$current_folder" || exit 8