[pve-devel] [PATCH aab 0/5] minor tweaks and bugfixes

Stoiko Ivanov s.ivanov at proxmox.com
Thu Apr 25 19:53:53 CEST 2019


Following the discussion in a forum-thread [0] I wanted to see if we could make
the ArchLinux templates yield fewer (not really material) error messages during
bootup and operation.

I considered masking the 'sys-kernel-config.mount' and 'sys-kernel-debug.mount'
units by default for example. However, since this might break some other
use-cases (e.g. people using unconfined, privileged containers) and since
the messages about the failed mounts are merely a cosmetic nuissance, I dropped
that idea.

However not installing the linux-firmware package actually yields quite a
reduction in size (~170M for the compressed image), and prevents a distracting
error from showing up whenever `systemd-tmpfiles --create` is invoked (e.g.
during package installation).

The other patches contain a few small cleanups to aab, which fixed building
an actual image for me.

Finally my attempt at refactoring the Makefile and reusing targets and commands
for both i686 and amd64, led to the discovery that i686 is not supported by
ArchLinux anymore (but I learned quite a bit about target variables in GNU Make
before :)

[0] https://forum.proxmox.com/threads/archlinux-ct-doesnt-seem-to-play-nice.53479/#post-247252

Stoiko Ivanov (5):
  remove container config during finalize
  exclude linux-firmware from installed packages
  remove extra mkdir $self->{rootfs} in initialize
  refactor initial device creation for pacman
  bsys: Drop i686 support

 Makefile   | 32 ++++++++------------------------
 PVE/AAB.pm | 56 ++++++++++++++++++++++++++++++++++----------------------
 2 files changed, 42 insertions(+), 46 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list