public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: michael.opdenacker@bootlin.com, docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH] poky.yaml.in: simplify host package requirements
Date: Wed, 03 May 2023 10:13:49 +0100	[thread overview]
Message-ID: <cdaf1f42bc82c7a9146070925079ea0ceba3e98e.camel@linuxfoundation.org> (raw)
In-Reply-To: <20230503090136.2483595-1-michael.opdenacker@bootlin.com>

On Wed, 2023-05-03 at 11:01 +0200, Michael Opdenacker via
lists.yoctoproject.org wrote:
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
> 
> Some of the listed host packages were no longer necessary.
> 
> [YOCTO #14873]
> 
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> ---
>  documentation/poky.yaml.in | 28 ++++++++--------------------
>  1 file changed, 8 insertions(+), 20 deletions(-)

I think this is another "it depends" situation.

The cut down lists you have below probably works fine if you just want
to build and image and hopefully let you run it under runqemu.

Where things will start to get problematic is some of the testing
workflows such as "oe-selftest -j X" which definitely needs python3-
subunit, or resulttool which does need python3-jinja2 for some options
iirc.

As such, which this change is right for some workflows, it isn't
correct for others.

Ideally there would be two levels of dependencies, those needed for the
basics and those needed to cover all the needs.

Looking at the original bug, I think we did remove some of the
SDL/xterm/vnc requirements. Even then some vnc pieces are still needed
for some autobuilder setups though.

We likely should define which workflows we expect to work with this
"essential" dependency list?

Cheers,

Richard


> diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in
> index 1c072c1d05..7f71412fee 100644
> --- a/documentation/poky.yaml.in
> +++ b/documentation/poky.yaml.in
> @@ -10,31 +10,19 @@ BITBAKE_SERIES : ""
>  YOCTO_DL_URL : "https://downloads.yoctoproject.org"
>  YOCTO_AB_URL : "https://autobuilder.yoctoproject.org"
>  YOCTO_RELEASE_DL_URL : "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;"
> -UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git diffstat unzip texinfo gcc \
> -     build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
> -     xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
> -     python3-subunit mesa-common-dev zstd liblz4-tool file locales
> +UBUNTU_HOST_PACKAGES_ESSENTIAL : "gawk wget git diffstat build-essential chrpath cpio \
> +     python3 zstd liblz4-tool file locales
>       \n\   $ sudo locale-gen en_US.UTF-8"
> -FEDORA_HOST_PACKAGES_ESSENTIAL : "gawk make wget tar bzip2 gzip python3 unzip perl patch \
> -     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \
> -     ccache perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue perl-bignum socat \
> -     python3-pexpect findutils which file cpio python python3-pip xz python3-GitPython \
> -     python3-jinja2 SDL-devel rpcgen mesa-libGL-devel perl-FindBin perl-File-Compare \
> -     perl-File-Copy perl-locale zstd lz4 hostname glibc-langpack-en"
> -OPENSUSE_HOST_PACKAGES_ESSENTIAL : "python gcc gcc-c++ git chrpath make wget python-xml \
> -     diffstat makeinfo python-curses patch socat python3 python3-curses tar python3-pip \
> -     python3-pexpect xz which python3-Jinja2 Mesa-libEGL1 libSDL-devel rpcgen Mesa-dri-devel \
> -     zstd lz4 bzip2 gzip hostname
> -     \n\   $ sudo pip3 install GitPython"
> +FEDORA_HOST_PACKAGES_ESSENTIAL : "bzip2 perl patch diffutils diffstat git gcc g++ chrpath \
> +     which glibc-langpack-en which cpio file hostname patch rpcgen wget zstd lz4 xz"
> +OPENSUSE_HOST_PACKAGES_ESSENTIAL : "git python3 gcc gcc-c++ zstd bzip2 chrpath diffstat \
> +     gzip hostname lz4 make patch rpcgen tar wget python3-curses xz" 
>  ALMALINUX_HOST_PACKAGES_ESSENTIAL : "-y epel-release
>       \n\   $ sudo yum install dnf-plugins-core
>       \n\   $ sudo dnf config-manager --set-enabled crb
>       \n\   $ sudo dnf makecache
> -     \n\   $ sudo dnf install gawk make wget tar bzip2 gzip python3 unzip perl patch \
> -     diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath ccache \
> -     socat perl-Data-Dumper perl-Text-ParseWords perl-Thread-Queue python3-pip \
> -     python3-GitPython python3-jinja2 python3-pexpect xz which SDL-devel \
> -     rpcgen mesa-libGL-devel zstd lz4 cpio glibc-langpack-en"
> +     \n\   $ sudo dnf install bzip2 perl patch diffutils diffstat git gcc g++ chrpath \
> +     which glibc-langpack-en which cpio file hostname patch rpcgen wget zstd lz4 xz"
>  PIP3_HOST_PACKAGES_DOC : "$ sudo pip3 install sphinx sphinx_rtd_theme pyyaml"
>  MIN_PYTHON_VERSION : "3.8.0"
>  MIN_TAR_VERSION : "1.28"
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#3895): https://lists.yoctoproject.org/g/docs/message/3895
> Mute This Topic: https://lists.yoctoproject.org/mt/98657701/1686473
> Group Owner: docs+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub [richard.purdie@linuxfoundation.org]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



  reply	other threads:[~2023-05-03  9:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-03  9:01 [PATCH] poky.yaml.in: simplify host package requirements michael.opdenacker
2023-05-03  9:13 ` Richard Purdie [this message]
2023-05-03  9:37   ` [docs] " Michael Opdenacker
2023-05-03 10:44     ` Richard Purdie
2023-05-03 14:46       ` Michael Opdenacker
     [not found]       ` <175BA9792333BDA0.14539@lists.yoctoproject.org>
2023-06-08 20:36         ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cdaf1f42bc82c7a9146070925079ea0ceba3e98e.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=docs@lists.yoctoproject.org \
    --cc=michael.opdenacker@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox