Skip to content

Commit

Permalink
beagle upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberb committed May 26, 2023
1 parent 9d7ef46 commit 92d8ba6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ elif [[ ${SYNCLOUD_BOARD} == "tinker" ]]; then
IMAGE_FILE_ZIP=${IMAGE_FILE}.xz
DOWNLOAD_IMAGE="wget --progress=dot:giga ${SYNCLOUD_DISTR_URL}/${IMAGE_FILE_ZIP}"
elif [[ ${SYNCLOUD_BOARD} == "beagleboneblack" ]]; then
IMAGE_FILE=bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img
IMAGE_FILE=bone-debian-10.3-console-armhf-2020-04-06-1gb.img
IMAGE_FILE_ZIP=${IMAGE_FILE}.xz
DOWNLOAD_IMAGE="wget --progress=dot:giga ${SYNCLOUD_DISTR_URL}/${IMAGE_FILE_ZIP}"
elif [[ ${SYNCLOUD_BOARD} == "cubieboard" ]]; then
Expand Down Expand Up @@ -208,9 +208,9 @@ function extract_root {
cp -rp ${from}/var/lib ${to}/var
fi

if [[ -d ${from}/opt/scripts ]]; then
mkdir -p ${to}/original/opt
cp -rp ${from}/opt/scripts ${to}/original/opt
if [[ -d ${from}/opt ]]; then
mkdir -p ${to}/original
cp -rp ${from}/opt ${to}/original
fi

cp -rp ${from}/boot ${to}/boot
Expand Down

0 comments on commit 92d8ba6

Please sign in to comment.