]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(squash): apply FIPS and libpthread workaround
authorKairui Song <kasong@redhat.com>
Mon, 9 Aug 2021 10:23:43 +0000 (18:23 +0800)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 9 Aug 2021 17:08:52 +0000 (17:08 +0000)
commit5ab18dee996f0eeb2b0bfe354570e1b1af46d025
tree39085240874c177a404072c8cf866e67d50db98e
parent07977ee5c5294a5d30c1f33f292a0b31303750fb
fix(squash): apply FIPS and libpthread workaround

There are some workarounds in dracut.sh for FIPS/libpthread covering
some hidden lib dependency issues. These workarounds didn't take effect
for the squash loader since the squash loader is installed
independently. So apply these workarounds again.

Also skip the lib detection code, since these extra installed libs
are small, and squash loader contents are dropped after switch root,
won't be an issue to be always installed. And this makes the code
cleaner.

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/99squash/module-setup.sh