core: 修复 nvme 硬盘下安装 gentoo 报错
This commit is contained in:
parent
1e681d29b8
commit
bcbea39fa8
4
trans.sh
4
trans.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user