Skip to content

Commit

Permalink
feat: Add the version file of the system image
Browse files Browse the repository at this point in the history
Signed-off-by: yaqiang.li <[email protected]>
  • Loading branch information
yaqiang.li committed May 30, 2023
1 parent 77f3a47 commit 1e5291c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pack_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function make_ubuntu_image()
echo "tar -xzf ${ROOTFS_ORIG_DIR}/samplefs*.tar.gz -C ${ROOTFS_BUILD_DIR}"
tar --same-owner --numeric-owner -xzpf ${ROOTFS_ORIG_DIR}/samplefs*.tar.gz -C ${ROOTFS_BUILD_DIR}
mkdir -p ${ROOTFS_BUILD_DIR}/{home,home/root,mnt,root,usr/lib,var,media,tftpboot,var/lib,var/volatile,dev,proc,tmp,run,sys,userdata,app,boot/hobot,boot/config}
# echo "${HR_BSP_VERSION}" >${ROOTFS_BUILD_DIR}/etc/version
echo "2.0.0" >${ROOTFS_BUILD_DIR}/etc/version

# Custom Special Modifications
echo "Custom Special Modifications"
Expand Down

0 comments on commit 1e5291c

Please sign in to comment.