Package: vmdb2
Version: 0.22-1
Severity: wishlist

I'm building a rock64 image using vmdb2, and I need to pull in
the u-boot-rockchip package for some prebuilt u-boot images. That
package has a Recommends on python3, which results in 300MB of bloat to
my install image AND python3-minimal is segfaulting.

Obviously the segfault is a separate problem, but the bloat is also an
issue. It would be nice if there was a way to tell vmdb2 not to install
recommends in the apt step.

Here's what I'm currently doing to work around it in the .yaml file:


  - apt: install
    packages:
    - ssh
    - parted
    - dosfstools
    - linux-image-arm64
    - grub-efi-arm64
    #- u-boot-rockchip
    tag: /
    unless: rootfs_unpacked

  # u-boot-rockchip recommends python3, which bloats the image by 300MB
  # *and* causes a segfault in python3-minimal (something in
  # py3compile?).
  - chroot: /
    shell: |
      apt-get install --no-install-recommends u-boot-rockchip
    unless: rootfs_unpacked

Reply via email to