mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
main/mkinitfs: fix the /boot/boot symlink to point at ., not /.
If /boot is on the root partition, I.E., no separate /boot partition, then the /boot/boot symlink incorrectly pointed to /. Pointing /boot/boot to "." is correct in all situations.
This commit is contained in:
parent
9647ca6a35
commit
f6a6625d91
@ -2,7 +2,7 @@
|
||||
pkgname=mkinitfs
|
||||
pkgver=3.2.0
|
||||
_ver=${pkgver%_git*}
|
||||
pkgrel=13
|
||||
pkgrel=14
|
||||
pkgdesc="Tool to generate initramfs images for Alpine"
|
||||
url="https://git.alpinelinux.org/cgit/mkinitfs"
|
||||
arch="all"
|
||||
|
@ -18,7 +18,7 @@ done
|
||||
# extlinux will use path relative partition, so if /boot is on a
|
||||
# separate partition we want /boot/<kernel> resolve to /<kernel>
|
||||
if ! [ -e /boot/boot ]; then
|
||||
ln -sf / /boot/boot
|
||||
ln -sf . /boot/boot
|
||||
fi
|
||||
|
||||
# cleanup unused initramfs
|
||||
|
Loading…
Reference in New Issue
Block a user