Skip to content

Commit

Permalink
Merge pull request #326 from aafeijoo-suse/059-bsc1223467-v2
Browse files Browse the repository at this point in the history
fix(dracut.spec): do not check if fillup template exists at %post end
  • Loading branch information
aafeijoo-suse authored Apr 30, 2024
2 parents 19b7c06 + b470283 commit 84229e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suse/dracut.spec
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ if [ -L /var/run ] && [ -f /etc/dracut.conf.d/05-convertfs.conf ]; then
fi

# remove obsolete legacy fillup template for /etc/sysconfig/kernel
[ -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd ] && rm -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd
rm -f /var/adm/fillup-templates/sysconfig.kernel-mkinitrd

%{?regenerate_initrd_post}

Expand Down

0 comments on commit 84229e3

Please sign in to comment.