Skip to content

Commit

Permalink
fix: temporary workaround for dracut issue:
Browse files Browse the repository at this point in the history
Dracut changed parameter interpretation in a new version,
causing this script to error out. To properly fix this,
we require a resolution of dracutdevs/dracut#1835.
Meanwhile, this is tracked internally by #41.
  • Loading branch information
oddlama committed Jun 5, 2022
1 parent 42bd850 commit 07799f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ function generate_initramfs() {
kver="${kver#linux-}"

# Generate initramfs
#--conf "/dev/null" \
#--confdir "/dev/null" \
try dracut \
--conf "/dev/null" \
--confdir "/dev/null" \
--kver "$kver" \
--no-compress \
--no-hostonly \
Expand Down

1 comment on commit 07799f4

@pvalena
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw. alternative fix: dracutdevs/dracut#1878

Please sign in to comment.