It's at the start of the manual:I see /etc/initramfs-tools/conf.d/ is empty by default. I'm missing anything in man initramfs-tools and man initramfs.conf that might explain how to use it.
Each line in the file can be a configuration variable, a blank line, or a comment. The value of an variable is assigned by an statement of the form: name=[value]
Configuration options can be broken out into configuration snippets and placed in individual files in the /etc/initramfs-tools/conf.d directory. Files in this directory are always read after the main configuration file, so you can override the settings in the main config file without editing it directly.
In my experience, no and no.Do the names or number of files placed there matter? Must each end in .conf?
SureCan you please show or point to examples of placement of such overrides as RESUME=none, MODULES=dep and update_initramfs=no in lieu of editing directly initramfs.conf and update-initramfs.conf?
Code:
$> cat /etc/initramfs-tools/conf.d/driver-policy # Driver inclusion policy selected during installation# Note: this setting overrides the value set in the file# /etc/initramfs-tools/initramfs.confMODULES=dep$> cat /etc/initramfs-tools/conf.d/resume RESUME=UUID=9cf14011-a466-44ec-9314-b1ca21fb5996
Statistics: Posted by fabien — 2024-01-23 17:01