Fix the hostimage version path permission issue (#6337)
This commit is contained in:
parent
ae2cb47091
commit
36fbc01a59
@ -578,7 +578,7 @@ sudo du -hsx $FILESYSTEM_ROOT
|
||||
sudo mkdir -p $FILESYSTEM_ROOT/var/lib/docker
|
||||
sudo mksquashfs $FILESYSTEM_ROOT $FILESYSTEM_SQUASHFS -e boot -e var/lib/docker -e $PLATFORM_DIR
|
||||
|
||||
sudo scripts/collect_host_image_version_files.sh $TARGET_PATH $FILESYSTEM_ROOT
|
||||
scripts/collect_host_image_version_files.sh $TARGET_PATH $FILESYSTEM_ROOT
|
||||
|
||||
if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
|
||||
# Remove qemu arm bin executable used for cross-building
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user