Skip to content

Commit

Permalink
sg2042 build euler
Browse files Browse the repository at this point in the history
Signed-off-by: peng.lin <peng.lin@sophgo.com>
  • Loading branch information
lin-fei authored and xingxg2022 committed Oct 24, 2023
1 parent 02affc1 commit dfe542d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/envsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ DOWNLOAD_RV_UBUNTU_OFFICIAL_IMAGE="wget https://cdimage.ubuntu.com/releases/22.0
UNCOMPRESS_RV_UBUNTU_OFFICIAL_IMAGE="unxz $RV_UBUNTU_OFFICIAL_IMAGE.xz"

RV_FEDORA_OFFICIAL_IMAGE=fedora-disk-server_sophgo_sg2042-f38-20230523-014306.n.0-sda.raw
DOWNLOAD_RV_FEDORA_OFFICIAL_IMAGE="wget https://repo.openeuler.org/openEuler-preview/RISC-V/openEuler-22.03-V1-riscv64/Unmatched/openEuler-22.03-V1-riscv64-unmatched-xfce.img.tar.zst"
DOWNLOAD_RV_FEDORA_OFFICIAL_IMAGE="wget http://openkoji.iscas.ac.cn/kojifiles/work/tasks/8061/1418061/$RV_FEDORA_OFFICIAL_IMAGE.xz"
UNCOMPRESS_RV_FEDORA_OFFICIAL_IMAGE="unxz $RV_FEDORA_OFFICIAL_IMAGE.xz"

RV_EULER_OFFICIAL_IMAGE=openEuler-23.03-V1-base-sg2042-preview.img
Expand Down Expand Up @@ -830,7 +830,7 @@ EOT
sudo umount $RV_OUTPUT_DIR/root/dev
sudo umount /dev/mapper/$efi_part
sudo umount /dev/mapper/$root_part
sudo kpartx -d $RV_OUTPUT_DIR/$RV_UBUNTU_SOPHGO_IMAGEs
sudo kpartx -d $RV_OUTPUT_DIR/$RV_UBUNTU_SOPHGO_IMAGE
sudo kpartx -d $RV_DISTRO_DIR/$RV_UBUNTU_DISTRO/$RV_UBUNTU_OFFICIAL_IMAGE
sudo rm -r $RV_OUTPUT_DIR/efi
sudo rm -r $RV_OUTPUT_DIR/root
Expand Down

0 comments on commit dfe542d

Please sign in to comment.