Re: Package installation based on package priority

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
>>>>> On Mon, 30 Mar 2020 11:00:46 +0200, Emmanuel Kasper <[email protected]> said:

    > or if you mean a hook which would on-the-fly generate a
    > package_config/VAGRANT with the content being fed from
    > grep-aptavail --no-field-names --show-field Package
    > --field Priority --regex 'standard\|important'

I would choose this solution. Then the installation of all packages is
done in the same step.

I would use
PACKAGES install-norec
in package_config/VAGRANT so no recommends are installed for the list
of these packages.

Normally (during a network isntallation) the config space is
writeable. I'm not sure if this is always the case for a diskimage
creation. You can make a directory tree writeable by calling mkramdisk
<dirname> or by setting the var FAI_RAMDISKS.

-- 
regards Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.