Fix the hostimage version path permission issue (#6337)

This commit is contained in:
xumia
2021-01-03 17:32:20 +08:00
committed by GitHub
parent ae2cb47091
commit 36fbc01a59
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ TARGET=$1
FILESYSTEM_ROOT=$2
VERSIONS_PATH=$TARGET/versions/host-image
[ -d $VERSIONS_PATH ] && sudo rm -rf $VERSIONS_PATH
mkdir -p $VERSIONS_PATH
sudo LANG=C chroot $FILESYSTEM_ROOT post_run_buildinfo