Loading run/install.sh +10 −6 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ DL="https://global.synologydownload.com/download/DSM" if [ -z "$URL" ]; then if [ "$ARCH" == "amd64" ]; then URL="$DL/release/7.2/64561/DSM_VirtualDSM_64561.pat" #URL="$DL/release/7.1.1/42962-1/DSM_VirtualDSM_42962.pat" #URL="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat" else URL="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat" fi fi Loading Loading @@ -98,10 +100,10 @@ if [ -f "${RDC}" ]; then mv /run/extract/scemd /run/extract/syno_extract_system_patch chmod +x /run/extract/syno_extract_system_patch rm -rf "$TMP" && mkdir -p "$TMP" fi rm -rf "$TMP" && mkdir -p "$TMP" info "Install: Downloading $(basename "$URL")..." PAT="/$BASE.pat" Loading Loading @@ -136,6 +138,7 @@ else apt-get -qq --no-install-recommends -y install qemu-user > /dev/null export DEBIAN_FRONTEND="" export DEBCONF_NOWARNINGS="" fi Loading @@ -147,9 +150,10 @@ else { qemu-x86_64 /run/extract/syno_extract_system_patch "$PAT" "$TMP/."; rc=$?; } || : fi (( rc != 0 )) && error "Failed to extract PAT file, reason $rc" && exit 63 export LD_LIBRARY_PATH="" (( rc != 0 )) && error "Failed to extract PAT file, reason $rc" && exit 63 fi HDA="$TMP/hda1" Loading Loading
run/install.sh +10 −6 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ DL="https://global.synologydownload.com/download/DSM" if [ -z "$URL" ]; then if [ "$ARCH" == "amd64" ]; then URL="$DL/release/7.2/64561/DSM_VirtualDSM_64561.pat" #URL="$DL/release/7.1.1/42962-1/DSM_VirtualDSM_42962.pat" #URL="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat" else URL="$DL/release/7.0.1/42218/DSM_VirtualDSM_42218.pat" fi fi Loading Loading @@ -98,10 +100,10 @@ if [ -f "${RDC}" ]; then mv /run/extract/scemd /run/extract/syno_extract_system_patch chmod +x /run/extract/syno_extract_system_patch rm -rf "$TMP" && mkdir -p "$TMP" fi rm -rf "$TMP" && mkdir -p "$TMP" info "Install: Downloading $(basename "$URL")..." PAT="/$BASE.pat" Loading Loading @@ -136,6 +138,7 @@ else apt-get -qq --no-install-recommends -y install qemu-user > /dev/null export DEBIAN_FRONTEND="" export DEBCONF_NOWARNINGS="" fi Loading @@ -147,9 +150,10 @@ else { qemu-x86_64 /run/extract/syno_extract_system_patch "$PAT" "$TMP/."; rc=$?; } || : fi (( rc != 0 )) && error "Failed to extract PAT file, reason $rc" && exit 63 export LD_LIBRARY_PATH="" (( rc != 0 )) && error "Failed to extract PAT file, reason $rc" && exit 63 fi HDA="$TMP/hda1" Loading