]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(base): suppress calls to getarg in build phase
authorHarald Hoyer <harald@redhat.com>
Thu, 6 May 2021 07:10:54 +0000 (09:10 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 6 May 2021 08:39:34 +0000 (10:39 +0200)
commit6feaaabc221ffbf79f652cbee3eea58f02449c50
tree8baa719ed034dc88fb0c669f166bb3084e42a9e5
parentc3bb9d18dceed7db6d16f9c2a7f682c5934099d7
fix(base): suppress calls to getarg in build phase

Setting `DEBUG_MEM_LEVEL` in the build phase prevents
`setmemdebug()` to call `getargnum`, which would use `dracut-getarg`
in the initrd runtime phase.

No more:

```
modules.d/99base/dracut-lib.sh: line 217: dracut-getarg: command not found
```
modules.d/99base/module-setup.sh