From 26e1c2c934970c402f48b882e1d8ff38fdf1ee12 Mon Sep 17 00:00:00 2001 From: lindongping Date: Wed, 2 Apr 2025 14:03:34 +0800 Subject: [PATCH 1/2] phytiumpi_defconfig: BR2_TARGET_ROOTFS_EXT2_SIZE="4G" Signed-off-by: lindongping --- configs/phytiumpi_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/phytiumpi_defconfig b/configs/phytiumpi_defconfig index 27c42006..ac28d870 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" -- Gitee From 62e1215e2ecb53fa5c6fdd9846fef4be2ba097a1 Mon Sep 17 00:00:00 2001 From: lindongping Date: Wed, 2 Apr 2025 14:07:11 +0800 Subject: [PATCH 2/2] post-custom-skeleton-debian.sh: rm -f $RFSDIR/usr/bin/qemu-${tgtarch}-static Signed-off-by: lindongping --- board/phytium/common/post-custom-skeleton-debian.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/phytium/common/post-custom-skeleton-debian.sh b/board/phytium/common/post-custom-skeleton-debian.sh index 2ab25c0d..26e9c7c0 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 -- Gitee