Remove python3-venv if is_fedora is true

python3-venv does not exist in Fedora family's OS.

Change-Id: Ice103b430444eed797b6f193df88481b6839d452
This commit is contained in:
Hirotaka Wakabayashi 2024-12-25 10:50:26 +09:00
parent d09de01fdf
commit 9c92df8152

View File

@ -774,7 +774,7 @@ function cmd_build_image() {
if is_fedora; then
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install epel-release
sudo $PKG_MGR config-manager --set-enabled epel
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu-img git kpartx debootstrap squashfs-tools python3-pip python3-setuptools zstd python3-venv
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu-img git kpartx debootstrap squashfs-tools python3-pip python3-setuptools zstd
else
sudo $HTTP_PROXY $PKG_MGR $PKG_GET_ARGS install qemu-utils git kpartx debootstrap squashfs-tools python3-pip python3-setuptools python3-venv
fi