Skip to content

Commit

Permalink
chore: update fedora rv32 rootfs
Browse files Browse the repository at this point in the history
Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
RevySR committed Mar 1, 2024
1 parent bd345eb commit 03b2f5c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
lfs: true

- name: Make Image
run: |
Expand Down
9 changes: 7 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,13 @@ function build_uboot() {
}

function build_rootfs() {
curl -o ${OUTPUT_DIR}/${ROOTFS_IMAGE_FILE} \
https://openkoji.iscas.ac.cn/repos/fc38-rv32/qemu/root.ext4
pushd ${OUTPUT_DIR}
{
curl -OL https://github.com/ruyisdk/mkimg-k230-rv64ilp32/releases/download/fedora_rv32_rootfs/root.ext4.zst
unzstd root.ext4.zst
mv root.ext4 ${ROOTFS_IMAGE_FILE}
}
popd
}

function build_img() {
Expand Down

0 comments on commit 03b2f5c

Please sign in to comment.