diff --git a/board/phytium/common/post-custom-skeleton-debian.sh b/board/phytium/common/post-custom-skeleton-debian.sh index 2ab25c0d1473c7db8db6f0cb7a2ed3650e877d5d..26e9c7c0a6da99fc0c260c0ad24455b0950bfcc2 100755 --- a/board/phytium/common/post-custom-skeleton-debian.sh +++ b/board/phytium/common/post-custom-skeleton-debian.sh @@ -92,8 +92,9 @@ do_distrorfs_first_stage() { do_recover_from_error "debian-package-installer failed" exit 1 fi - - # sudo chroot $RFSDIR systemctl enable systemd-rootfs-resize + sudo rm -f $RFSDIR/usr/bin/qemu-${tgtarch}-static + + # sudo chroot $RFSDIR systemctl enable systemd-rootfs-resize file_s=$(sudo find $RFSDIR -perm -4000) sudo chown -R $USER:$GROUPS $RFSDIR for f in $file_s; do diff --git a/configs/phytiumpi_defconfig b/configs/phytiumpi_defconfig index 27c42006a6efd024602d39b6db62f11e58950774..ac28d8702fb105d9bee92f26a965dbd7eddff33d 100644 --- a/configs/phytiumpi_defconfig +++ b/configs/phytiumpi_defconfig @@ -6,7 +6,7 @@ BR2_cortex_a53=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_ROOTFS_TAR_XZ=y -BR2_TARGET_ROOTFS_EXT2_SIZE="2G" +BR2_TARGET_ROOTFS_EXT2_SIZE="4G" BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phytium/genimage-phytiumpi.cfg"