core: 修复 nvme 硬盘下安装 gentoo 报错

This commit is contained in:
bin456789 2023-11-03 23:46:39 +08:00
parent 1e681d29b8
commit bcbea39fa8
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -1462,8 +1462,8 @@ resize_after_install_cloud_image() {
if [ "$distro" = gentoo ]; then if [ "$distro" = gentoo ]; then
apk add e2fsprogs-extra apk add e2fsprogs-extra
e2fsck -p -f /dev/$xda$system_part_num e2fsck -p -f /dev/$xda*$system_part_num
resize2fs /dev/$xda$system_part_num resize2fs /dev/$xda*$system_part_num
fi fi
fi fi
fi fi