#991920 please demote pkg-config to Recommends

Package:
dracut-core
Source:
dracut
Description:
dracut is an event driven initramfs infrastructure (core tools)
Submitter:
Michael Banck
Date:
2022-05-24 19:51:32 UTC
Severity:
wishlist
#991920#5
Date:
2021-08-05 13:14:51 UTC
From:
To:
Dear Maintainer,

dracut may be used in minimal systems. If that is the case, dracut-core
drags in perl via pkg-config. However, it seems pkg-config is an
optional part of dracut (and is indeed not shipped as a dependency for
the RPM package if I read the upstream spec file correctly) and there is
fall-back support if pkg-config is not installed.

So it would be nice to demote pkg-config to Recommends in order to
support minimal systems that don't ship perl by default.


Michael

#991920#10
Date:
2021-08-05 20:21:30 UTC
From:
To:
I've run "dracut --no-kernel" in a minimal lxc container, once with
pkg-config and once without and then diffoscope'd the two generated
initrds. Most of what diffoscope complains about are timestamp
differences in directories and symlinks which I don't know how to get
rid of, but there's some changes in etc/conf.d/systemd.conf that I have
attached. Not sure whether those are problematic?


Michael

#991920#15
Date:
2021-08-06 10:34:13 UTC
From:
To:
Given that /usr/lib is the canonical path for these directories, and
/lib happens to be a symlink there, this should not be a problem.

If Thomas consents, I would make the change in experimental as well
and we will see how it works out. I do not see any reason not to
demote pkg-config.

Cheers,
Nik

#991920#20
Date:
2021-08-06 11:24:12 UTC
From:
To:
    > If Thomas consents, I would make the change in experimental as well
    > and we will see how it works out. I do not see any reason not to
    > demote pkg-config.

Go for it.

#991920#25
Date:
2021-08-27 14:18:01 UTC
From:
To:
To clarify, the above was done on bullseye, on a usrmerge system. I see
the same path changes in /etc/conf.d/systemd.conf if I try that on a
real bullseye system.

On a non-usrmerge buster system, diffoscope sees no such path
differences between a dracut run with or without pkg-config.


Michael

#991920#30
Date:
2022-05-24 19:49:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dracut, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 991920@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Lange <lange@debian.org> (supplier of updated dracut package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 24 May 2022 21:29:13 +0200
Source: dracut
Architecture: source
Version: 056-3
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <lange@debian.org>
Changed-By: Thomas Lange <lange@debian.org>
Closes: 987320 991918 991920
Changes:
 dracut (056-3) unstable; urgency=low
 .
   * new upstream, Closes: #991918
   * control: Remove unnecessary constraints, demote pkg-config to
     Recommends, Closes: #991920
   * set Debian version in dracut-version.sh, Closes: #987320
   * 90overlay-root/module-setup.sh: fix loading overlayfs kernel module
Checksums-Sha1:
 5cd662355d41ede1fe6a75b41f770c0e71e32df3 2309 dracut_056-3.dsc
 508c732fbad788fd6ace9de3ae394d0c4a527758 15308 dracut_056-3.debian.tar.xz
 8d120f4b8401c708b702634259cbbc287008a001 8824 dracut_056-3_amd64.buildinfo
Checksums-Sha256:
 b7b951ee8962abd6e9335fd1c07aeffa7b26a973ae11b6d34cc240d278e26cee 2309 dracut_056-3.dsc
 1f219c5051684dbcb426d2444b3855834c4be4f9c326b44c9babcdbe4c3c1efe 15308 dracut_056-3.debian.tar.xz
 1e52cd2727f13158f1f22a1ce44d6ae983df937a2efe4091ff64597db61a1ea6 8824 dracut_056-3_amd64.buildinfo
Files:
 165387df64e2c7f725ec7ca46cbd4b77 2309 utils optional dracut_056-3.dsc
 35a4ded1b13ad8d03fbd2c8f441fb940 15308 utils optional dracut_056-3.debian.tar.xz
 29a3d1e8f926dcd61b91c972b3a04b9b 8824 utils optional dracut_056-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmKNMsQRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeTrQA//TDCYJdJCBp8N7NA7WTz73Nmn2XH1RHac
7uWAE8Rgv890zMxzR83cJ3Qb5J9xZIVTuU94GORThW8puC+K9wP82A2gspXGadyf
PG8GSoVFsCnjzhspu+mjvi5jy0EelGnripkkVwazrIQsBfR9BJwgZsVzd+2vCbPT
Is5IZDduVXeaM/KLzakddcAJA6PVdRDn5wdOdG7WKEac1jgVfSHc88W/DCRaaLEA
H9vAPEtR1+5YbTUSKCy4fFfti+RSjKf0VmD/8F2fgoJ/a5bkUmIjrxXrIsZUbMrz
TuWDl3kcBRN9h7pYvlBR/5NFncucTPVOLJVgb92e/5wzFbrR2z7Xj87PByhvSdb2
xPbQlvAdh2WnIvC7ZZSBlDWV65/xqZw148kfPUxmP0ZhQfB68XtkDSIQ/4Hhge1G
ZG8C8DEBM8MF2NjEHQA69HOqTZqRq1Ip8QjopxE53xC3CgHac1DFD4aVmpWf/8o3
k7YrwHSdH1ysF/I8cQ/fp95+hu3i2C2IhUjjCmxaNvhjq7b6PZPUZLX9MimDSdfo
vxeLRm6fEADZXYveN5qluJg9mZiTSP+tDcHH+iGziOKA0RNnFXUEwsSj2M0ZkjiC
3ef8moYULInysRPhRyjAHUs1ElWBXSurT6Lecoz7V3z8kmw3Uf0PjoAMXY9yjbgs
47mjAYnrIAQ=
=IP/e
-----END PGP SIGNATURE-----