public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH] docs: add util-linux-script package for Fedora 42+
@ 2025-09-22  6:58 AdrianF
  2025-09-22 14:11 ` [docs] " Antonin Godard
  2025-10-06  8:07 ` Antonin Godard
  0 siblings, 2 replies; 4+ messages in thread
From: AdrianF @ 2025-09-22  6:58 UTC (permalink / raw)
  To: docs; +Cc: Adrian Freihofer

From: Adrian Freihofer <adrian.freihofer@siemens.com>

Fedora 42 split the script utility from util-linux into a separate
util-linux-script package. This change adds conditional installation
of util-linux-script for Fedora 42 and later versions.
https://src.fedoraproject.org/rpms/util-linux/c/5a2471d6e5b0055cb607b30dc2e9613b312ffb74?branch=rawhide

The package is added conditionally using rpm macro evaluation to
maintain compatibility with older Fedora versions where script was
included in the base util-linux package.

Note that different distributions handle this differently - for example,
Debian provides the script utility in a separate bsdutils package
rather than in util-linux.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
---
 documentation/tools/host_packages_scripts/fedora_essential.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/tools/host_packages_scripts/fedora_essential.sh b/documentation/tools/host_packages_scripts/fedora_essential.sh
index ea14134398b..99e5d2c0b0b 100644
--- a/documentation/tools/host_packages_scripts/fedora_essential.sh
+++ b/documentation/tools/host_packages_scripts/fedora_essential.sh
@@ -1 +1 @@
-sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils file findutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip hostname libacl make patch perl perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Text-ParseWords perl-Thread-Queue perl-bignum perl-locale python python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd
+sudo dnf install bzip2 ccache chrpath cpio cpp diffstat diffutils file findutils gawk gcc gcc-c++ git glibc-devel glibc-langpack-en gzip hostname libacl make patch perl perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Text-ParseWords perl-Thread-Queue perl-bignum perl-locale python python3 python3-GitPython python3-jinja2 python3-pexpect python3-pip rpcgen socat tar texinfo unzip wget which xz zstd $([ $(rpm -E %fedora) -ge 42 ] && echo "util-linux-script")
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [docs] [PATCH] docs: add util-linux-script package for Fedora 42+
  2025-09-22  6:58 [PATCH] docs: add util-linux-script package for Fedora 42+ AdrianF
@ 2025-09-22 14:11 ` Antonin Godard
  2025-09-22 21:35   ` Richard Purdie
  2025-10-06  8:07 ` Antonin Godard
  1 sibling, 1 reply; 4+ messages in thread
From: Antonin Godard @ 2025-09-22 14:11 UTC (permalink / raw)
  To: adrian.freihofer, docs

On Mon Sep 22, 2025 at 8:58 AM CEST, Adrian Freihofer via lists.yoctoproject.org wrote:
> From: Adrian Freihofer <adrian.freihofer@siemens.com>
>
> Fedora 42 split the script utility from util-linux into a separate
> util-linux-script package. This change adds conditional installation
> of util-linux-script for Fedora 42 and later versions.
> https://src.fedoraproject.org/rpms/util-linux/c/5a2471d6e5b0055cb607b30dc2e9613b312ffb74?branch=rawhide
>

Hi Adrian,

I just realized that Fedora 42 is not (yet) part of the supported distributions,
see https://git.yoctoproject.org/meta-yocto/tree/meta-poky/conf/distro/poky.conf#n33.

So it does not really make sense to make this appear here for now. However I'll
keep this patch handy once we add support for it.

Thanks,
Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [docs] [PATCH] docs: add util-linux-script package for Fedora 42+
  2025-09-22 14:11 ` [docs] " Antonin Godard
@ 2025-09-22 21:35   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2025-09-22 21:35 UTC (permalink / raw)
  To: antonin.godard, adrian.freihofer, docs

On Mon, 2025-09-22 at 16:11 +0200, Antonin Godard via lists.yoctoproject.org wrote:
> On Mon Sep 22, 2025 at 8:58 AM CEST, Adrian Freihofer via lists.yoctoproject.org wrote:
> > From: Adrian Freihofer <adrian.freihofer@siemens.com>
> > 
> > Fedora 42 split the script utility from util-linux into a separate
> > util-linux-script package. This change adds conditional installation
> > of util-linux-script for Fedora 42 and later versions.
> > https://src.fedoraproject.org/rpms/util-linux/c/5a2471d6e5b0055cb607b30dc2e9613b312ffb74?branch=rawhide
> > 
> 
> Hi Adrian,
> 
> I just realized that Fedora 42 is not (yet) part of the supported distributions,
> see https://git.yoctoproject.org/meta-yocto/tree/meta-poky/conf/distro/poky.conf#n33.
> 
> So it does not really make sense to make this appear here for now. However I'll
> keep this patch handy once we add support for it.

There is a fedora42 worker present on the autobuilder now:

https://autobuilder.yoctoproject.org/valkyrie/#/workers

so we probably should update that!

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] docs: add util-linux-script package for Fedora 42+
  2025-09-22  6:58 [PATCH] docs: add util-linux-script package for Fedora 42+ AdrianF
  2025-09-22 14:11 ` [docs] " Antonin Godard
@ 2025-10-06  8:07 ` Antonin Godard
  1 sibling, 0 replies; 4+ messages in thread
From: Antonin Godard @ 2025-10-06  8:07 UTC (permalink / raw)
  To: docs, AdrianF; +Cc: Thomas Petazzoni, Antonin Godard


On Mon, 22 Sep 2025 08:58:59 +0200, AdrianF wrote:
> Fedora 42 split the script utility from util-linux into a separate
> util-linux-script package. This change adds conditional installation
> of util-linux-script for Fedora 42 and later versions.
> https://src.fedoraproject.org/rpms/util-linux/c/5a2471d6e5b0055cb607b30dc2e9613b312ffb74?branch=rawhide
> 
> The package is added conditionally using rpm macro evaluation to
> maintain compatibility with older Fedora versions where script was
> included in the base util-linux package.
> 
> [...]

Applied, thanks!

[1/1] docs: add util-linux-script package for Fedora 42+
      commit: 22e28e817d2c9b49d9fedbb93b08874cec1fa3d3

Best regards,
-- 
Antonin Godard <antonin.godard@bootlin.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-06  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-22  6:58 [PATCH] docs: add util-linux-script package for Fedora 42+ AdrianF
2025-09-22 14:11 ` [docs] " Antonin Godard
2025-09-22 21:35   ` Richard Purdie
2025-10-06  8:07 ` Antonin Godard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox