]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut.sh): exit if resolving executable dependencies fails
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Wed, 9 Aug 2023 09:28:15 +0000 (11:28 +0200)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Thu, 10 Aug 2023 06:19:57 +0000 (08:19 +0200)
commitb2c6b584e2227e68f54c8843925dcb73aefe87ac
tree14b994623d591511667935ca038ca8b314f84371
parentfffeadedf2170563cb7c0e0cb06994b0878ed455
fix(dracut.sh): exit if resolving executable dependencies fails

We came across an issue where, when resolving executable dependencies, a call to
a buggy glib function in `dracut-install` was causing a termination with
SIGSEGV, but dracut didn't stop the build process, which resulted in an
unbootable initrd, due to missing required libraries.

```
dracut: *** Resolving executable dependencies ***
xargs: /usr/lib/dracut/dracut-install: terminated by signal 11
dracut: *** Resolving executable dependencies done ***
```

Therefore, stop the initrd creation in this case.
dracut.sh