Skip to content
Snippets Groups Projects
Commit 4461c33c authored by Recolic Keghart's avatar Recolic Keghart
Browse files

bugfix

parent 9d223552
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Mirror: https://github.com/recolic/shared-bootdir-helper # Mirror: https://github.com/recolic/shared-bootdir-helper
pkgname=shared-bootdir-helper pkgname=shared-bootdir-helper
pkgver=1.1 pkgver=1.2
pkgrel=1 pkgrel=1
pkgdesc="Allow multiple linux installations to share the same /boot directory, even with different kernel parameters. " pkgdesc="Allow multiple linux installations to share the same /boot directory, even with different kernel parameters. "
url="https://git.recolic.net/root/$pkgname" url="https://git.recolic.net/root/$pkgname"
......
...@@ -44,7 +44,7 @@ while read -r line; do ...@@ -44,7 +44,7 @@ while read -r line; do
generate_mkinitcpio_preset "${new_pkgbase}" && generate_mkinitcpio_preset "${new_pkgbase}" &&
# Rename vmlinuz # Rename vmlinuz
mv "/boot/vmlinuz-${pkgbase}" "/boot/vmlinuz-${new_pkgbase}" && cp "/$line" "/boot/vmlinuz-${new_pkgbase}" &&
# Overwrite /usr/lib/modules/.../pkgbase to make mkinitcpio-install use the new filename # Overwrite /usr/lib/modules/.../pkgbase to make mkinitcpio-install use the new filename
echo "${new_pkgbase}" > "${line%/vmlinuz}/pkgbase" && echo "${new_pkgbase}" > "${line%/vmlinuz}/pkgbase" &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment