Skip to content

Commit

Permalink
installkernel: do not install config/system.map if installing UKI
Browse files Browse the repository at this point in the history
See-also: projg2/eclean-kernel#51
Signed-off-by: Andrew Ammerlaan <[email protected]>
  • Loading branch information
Nowa-Ammerlaan committed May 7, 2024
1 parent d523f9a commit 53ef131
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions installkernel
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,14 @@ else
if [ -f "${initrd}" ]; then
updatever initramfs "${initrd}" .img
fi
fi

updatever System.map "${map}"
updatever System.map "${map}"

config=$(dirname "${map}")
config="${config}/.config"
if [ -f "${config}" ]; then
updatever config "${config}"
config=$(dirname "${map}")
config="${config}/.config"
if [ -f "${config}" ]; then
updatever config "${config}"
fi
fi

# If installing in the usual directory, run the same scripts that hook
Expand Down

0 comments on commit 53ef131

Please sign in to comment.