From b0de6ba96e3b298fe1f5fd222ed94852efe2d4cd Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Fri, 4 Dec 2020 15:56:50 +0100 Subject: [PATCH] profiles: disable jpeg for qemu Qemu has enabled `jpeg` USE flag since the beginning, without any reason specified. As a result, qemu pulls in unnecessary packages, `virtual/jpeg` as well as `media-libs/libjpeg-turbo`. However, Flatcar runs qemu always with `-display none` option. So the `jpeg` flag is not needed at all. Simply remove `jpeg` USE flag from qemu. --- .../third_party/coreos-overlay/profiles/coreos/base/package.use | 2 +- .../coreos-overlay/profiles/coreos/targets/sdk/package.use | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use index 11bf2d85f7..613b943b00 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use @@ -15,7 +15,7 @@ dev-vcs/git webdav curl bash-completion net-misc/curl kerberos threads net-misc/iputils arping tracepath traceroute sys-devel/gettext -git -app-emulation/qemu aio caps curl jpeg ncurses png python threads uuid vhost-net virtfs vnc -xkb qemu_softmmu_targets_x86_64 qemu_softmmu_targets_aarch64 +app-emulation/qemu aio caps curl ncurses png python threads uuid vhost-net virtfs vnc -xkb qemu_softmmu_targets_x86_64 qemu_softmmu_targets_aarch64 # python3 problems app-portage/gentoolkit -python_targets_python3_6 diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use index 243dfb7287..40b3c746fc 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/sdk/package.use @@ -12,7 +12,7 @@ app-crypt/gnupg smartcard usb # for qemu app-arch/bzip2 static-libs -app-emulation/qemu static-user +app-emulation/qemu static-user -jpeg dev-libs/glib static-libs dev-libs/libaio static-libs dev-libs/libpcre static-libs