osbuild / images

Image builder image definition library
Apache License 2.0
18 stars 49 forks source link

The edge/iot ostree builds are pulling in weak deps #38

Closed nullr0ute closed 1 year ago

nullr0ute commented 1 year ago

On Fedora IoT and I'm sure RHEL for Edge the ostree builds are pulling in "recommends" rpm deps and hence we're getting a lot more things than we should be in the build.

In the IoT ostree config we have and I don't believe the osbuild ostree composes have the same option set: "recommends": false,

On a rebase to the main Fedora ostree compose we have all the following removed which should haven't been installed in the first place:

Removed:
  amd-gpu-firmware-20230117-146.fc38.noarch
  ansible-srpm-macros-1-9.1.fc38.noarch
  audit-3.0.9-3.fc38.x86_64
  btrfs-progs-6.1.3-1.fc38.x86_64
  criu-libs-3.17.1-5.fc38.x86_64
  crypto-policies-scripts-20221215-2.gita4c31a3.fc38.noarch
  dmidecode-1:3.4-3.fc38.x86_64
  dwz-0.15-2.fc38.x86_64
  efi-srpm-macros-5-7.fc38.noarch
  elfutils-debuginfod-client-0.188-5.fc38.x86_64
  elfutils-default-yama-scope-0.188-5.fc38.noarch
  elfutils-libs-0.188-5.fc38.x86_64
  fdo-client-0.4.5-1.el9_0.x86_64
  fdo-owner-cli-0.4.5-1.el9_0.x86_64
  fedora-repos-rawhide-38-0.4.noarch
  flashrom-1.2-10.fc38.x86_64
  fonts-srpm-macros-1:2.0.5-11.fc38.noarch
  fpc-srpm-macros-1.3-7.fc38.noarch
  fuse-overlayfs-1.10-2.fc38.x86_64
  fuse3-3.13.0-1.fc38.x86_64
  fwupd-plugin-flashrom-1.8.10-1.fc38.x86_64
  gawk-all-langpacks-5.1.1-5.fc38.x86_64
  ghc-srpm-macros-1.6.1-1.fc38.noarch
  glibc-gconv-extra-2.37-1.fc38.x86_64
  gnat-srpm-macros-6-2.fc38.noarch
  gnupg2-smime-2.4.0-2.fc38.x86_64
  go-srpm-macros-3.2.0-2.fc38.noarch
  grub2-pc-1:2.06-84.fc38.x86_64
  grub2-pc-modules-1:2.06-84.fc38.noarch
  grubby-8.40-69.fc38.x86_64
ignition-edge-2.14.0-4.el9.x86_64
  inih-56-3.fc38.x86_64
  initscripts-service-10.17-2.fc38.noarch
  intel-gpu-firmware-20230117-146.fc38.noarch
  jitterentropy-3.4.1-4.fc38.x86_64
  kernel-srpm-macros-1.0-16.fc38.noarch
  kpartx-0.9.4-2.fc38.x86_64
  libatasmart-0.19-24.fc38.x86_64
  libblockdev-2.28-4.fc38.x86_64
  libblockdev-crypto-2.28-4.fc38.x86_64
  libblockdev-fs-2.28-4.fc38.x86_64
  libblockdev-loop-2.28-4.fc38.x86_64
  libblockdev-mdraid-2.28-4.fc38.x86_64
  libblockdev-part-2.28-4.fc38.x86_64
  libblockdev-swap-2.28-4.fc38.x86_64
  libblockdev-utils-2.28-4.fc38.x86_64
  libbytesize-2.7-5.fc38.x86_64
  libcap-ng-python3-0.8.3-5.fc38.x86_64
  libftdi-1.5-7.fc38.x86_64
  libjaylink-0.3.0-2.fc38.x86_64
  libreport-filesystem-2.17.6-2.fc38.noarch
  libudisks2-2.9.4-6.fc38.x86_64
  libxcrypt-compat-4.4.33-7.fc38.x86_64
  libxkbcommon-1.5.0-2.fc38.x86_64
lua-srpm-macros-1-8.fc38.noarch
  lzo-2.10-8.fc38.x86_64
  mdadm-4.2-4.fc38.x86_64
  memstrack-0.2.5-1.fc38.x86_64
  mkpasswd-5.5.15-3.fc38.x86_64
  nano-7.2-2.fc38.x86_64
  nano-default-editor-7.2-2.fc38.noarch
  nim-srpm-macros-3-8.fc38.noarch
  nspr-4.35.0-4.fc38.x86_64
  nss-3.87.0-2.fc38.x86_64
  nss-softokn-3.87.0-2.fc38.x86_64
  nss-softokn-freebl-3.87.0-2.fc38.x86_64
  nss-sysinit-3.87.0-2.fc38.x86_64
  nss-util-3.87.0-2.fc38.x86_64
  ntfs-3g-2:2022.10.3-2.fc38.x86_64
  ntfs-3g-libs-2:2022.10.3-2.fc38.x86_64
  ntfs-3g-system-compression-1.0-11.fc38.x86_64
  ntfsprogs-2:2022.10.3-2.fc38.x86_64
  nvidia-gpu-firmware-20230117-146.fc38.noarch
  ocaml-srpm-macros-7-3.fc38.noarch
  openblas-srpm-macros-2-13.fc38.noarch
  openssl-pkcs11-0.4.12-3.fc38.x86_64
  package-notes-srpm-macros-0.5-7.fc38.noarch
  parted-3.5-10.fc38.x86_64
  pcsc-lite-1.9.9-3.fc38.x86_64
  pcsc-lite-ccid-1.5.2-1.fc38.x86_64
  pcsc-lite-libs-1.9.9-3.fc38.x86_64
  perl-srpm-macros-1-48.fc38.noarch
  pigz-2.7-3.fc38.x86_64
  podman-gvproxy-4:4.4.0~rc2-2.fc38.x86_64
  pyproject-srpm-macros-1.6.1-1.fc38.noarch
  python-srpm-macros-3.11-9.fc38.noarch
python-unversioned-command-3.11.1-4.fc38.noarch
  qemu-user-static-2:7.2.0-6.fc38.x86_64
  qemu-user-static-aarch64-2:7.2.0-6.fc38.x86_64
  qemu-user-static-alpha-2:7.2.0-6.fc38.x86_64
  qemu-user-static-arm-2:7.2.0-6.fc38.x86_64
  qemu-user-static-cris-2:7.2.0-6.fc38.x86_64
  qemu-user-static-hexagon-2:7.2.0-6.fc38.x86_64
  qemu-user-static-hppa-2:7.2.0-6.fc38.x86_64
  qemu-user-static-loongarch64-2:7.2.0-6.fc38.x86_64
  qemu-user-static-m68k-2:7.2.0-6.fc38.x86_64
  qemu-user-static-microblaze-2:7.2.0-6.fc38.x86_64
  qemu-user-static-mips-2:7.2.0-6.fc38.x86_64
  qemu-user-static-nios2-2:7.2.0-6.fc38.x86_64
  qemu-user-static-or1k-2:7.2.0-6.fc38.x86_64
  qemu-user-static-ppc-2:7.2.0-6.fc38.x86_64
  qemu-user-static-riscv-2:7.2.0-6.fc38.x86_64
  qemu-user-static-s390x-2:7.2.0-6.fc38.x86_64
  qemu-user-static-sh4-2:7.2.0-6.fc38.x86_64
  qemu-user-static-sparc-2:7.2.0-6.fc38.x86_64
  qemu-user-static-x86-2:7.2.0-6.fc38.x86_64
  qemu-user-static-xtensa-2:7.2.0-6.fc38.x86_64
  qrencode-libs-4.1.1-4.fc38.x86_64
  qt5-srpm-macros-5.15.8-2.fc38.noarch
  redhat-rpm-config-247-1.fc38.noarch
  rng-tools-6.16-1.fc38.x86_64
  rpmautospec-rpm-macros-0.3.2-1.fc38.noarch
  rsync-3.2.7-2.fc38.x86_64
  rtl-sdr-0.6.0-13.fc38.x86_64
rust-srpm-macros-23-2.fc38.noarch
  smartmontools-selinux-1:7.3-5.fc38.noarch
  ssh-key-dir-0.1.4-3.fc38.x86_64
  sudo-python-plugin-1.9.12-1.p2.fc38.x86_64
  systemd-networkd-253~rc2-3.fc38.x86_64
  udisks2-2.9.4-6.fc38.x86_64
  unzip-6.0-60.fc38.x86_64
  userspace-rcu-0.13.2-2.fc38.x86_64
  volume_key-libs-0.3.12-18.fc38.x86_64
  whois-nls-5.5.15-3.fc38.noarch
  xfsprogs-6.1.0-2.fc38.x86_64
  xkeyboard-config-2.38-1.fc38.noarch
  xxhash-libs-0.8.1-4.fc38.x86_64
  zip-3.0-36.fc38.x86_64
thozza commented 1 year ago

This must be fixed in osbuild-composer. Moved the issue.

supakeen commented 1 year ago

Since this has now moved into the images project; I'm moving it again. I've also started work on this.

supakeen commented 1 year ago

I knew that was going to happen; images now has the capability to not install weak deps; followup PR needed to enable this for Fedora IoT.