]> git.ipfire.org Git - thirdparty/dracut.git/commit
99squash: fail early if can't install require modules in initramfs
authorKairui Song <kasong@redhat.com>
Tue, 25 Dec 2018 09:53:24 +0000 (17:53 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 19 Jul 2019 13:37:25 +0000 (15:37 +0200)
commit90ac0a2d772ec0d4f90ea16fc5a31be10bdf205e
treea435ac4f4bcf6c1e54711a9d77a60953668c9854
parentdddcb809459b7a75906d4b90cf7a5ac291dc74c1
99squash: fail early if can't install require modules in initramfs

insmods will consider all arguments as optional modules by default, but
for squash module, all listed modules are required, if any of them is
missing the initramfs won't boot. So pass the '-c' argument to let instmos
know all those modules are mandatory, it will fail and give an error if
it failed to install any of those modules.
modules.d/99squash/module-setup.sh