On Mon, 2024-02-19 at 22:14 +0000, Robin H. Johnson wrote:
> On Mon, Feb 19, 2024 at 02:08:32PM -0800, Robin H. Johnson wrote:
> > Allow checking more disk space, for users with many split volumes and
> > ever-larger packages.
> > 
> > gentoo-kernel-bin:
> > /     >=350MB/version (in /lib/modules)
> > /boot >=40MB/version
> > 
> > rust-bin:
> > /opt  >=450MB/version
> Meta:
> Is this the time where we should rethink the CHECKREQS syntax?
> 
> CHECKREQS_DISK="/:2G /opt/random:1G /usr:1G" etc?
> If we need to support paths with space, newline or array here.
> 

Precisely what I wanted to say.  Instead of adding more variables, let's
add an array and mark the existing vars as legacy.

CHECKREQ_DISK=(
  /opt:...
  /usr:...
)

However, Andrew's comment poses a bigger problem here.

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to