]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut.sh): handle /etc/machine-id empty or uninitialized
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 7 Mar 2023 15:17:16 +0000 (16:17 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Wed, 26 Apr 2023 12:18:44 +0000 (12:18 +0000)
commit97fe09769d6a86492c39e0368f088f54f7c0fa6e
tree5f30541ac8b1c5cae712e1bd8ad8fd0cfbbb5bec
parent48c2cb457b1472d09453be130797bc6e0e194f7c
fix(dracut.sh): handle /etc/machine-id empty or uninitialized

Handle the case where the user tries to generate the initrd after explicitly
resetting the /etc/machine-id file.

Fixes issue #2267
dracut.sh