dracut
dracut copied to clipboard
fix(dracut.sh): Fix setting built in variables
The previous method would only set built-in values if the directory in question did not exist. However, when $dracutsysrootdir was set, the test would check for existence of $dracutsysrootdir and then leave the actual variables empty.
Replace with just setting a default value when empty.