File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -558,6 +558,9 @@ if [[ $CONFIGURED_ARCH == armhf || $CONFIGURED_ARCH == arm64 ]]; then
558558 fi
559559fi
560560
561+ # Collect host image version files before cleanup
562+ scripts/collect_host_image_version_files.sh $TARGET_PATH $FILESYSTEM_ROOT
563+
561564# Remove GCC
562565sudo LANG= C DEBIAN_FRONTEND= noninteractive chroot $FILESYSTEM_ROOT apt-get -y remove gcc
563566
@@ -589,7 +592,6 @@ sudo rm -f $ONIE_INSTALLER_PAYLOAD $FILESYSTEM_SQUASHFS
589592# # Note: -x to skip directories on different file systems, such as /proc
590593sudo du -h sx $FILESYSTEM_ROOT
591594sudo mkdir -p $FILESYSTEM_ROOT /var/lib/docker
592- scripts/collect_host_image_version_files.sh $TARGET_PATH $FILESYSTEM_ROOT
593595sudo cp files/image_config/resolv-config/resolv.conf $FILESYSTEM_ROOT /etc/resolv.conf
594596sudo mksquashfs $FILESYSTEM_ROOT $FILESYSTEM_SQUASHFS -e boot -e var/lib/docker -e $PLATFORM_DIR
595597
You can’t perform that action at this time.
0 commit comments