mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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
|
pkgname=mkinitfs
|
||||||
pkgver=3.2.0
|
pkgver=3.2.0
|
||||||
_ver=${pkgver%_git*}
|
_ver=${pkgver%_git*}
|
||||||
pkgrel=13
|
pkgrel=14
|
||||||
pkgdesc="Tool to generate initramfs images for Alpine"
|
pkgdesc="Tool to generate initramfs images for Alpine"
|
||||||
url="https://git.alpinelinux.org/cgit/mkinitfs"
|
url="https://git.alpinelinux.org/cgit/mkinitfs"
|
||||||
arch="all"
|
arch="all"
|
||||||
|
@ -18,7 +18,7 @@ done
|
|||||||
# extlinux will use path relative partition, so if /boot is on a
|
# extlinux will use path relative partition, so if /boot is on a
|
||||||
# separate partition we want /boot/<kernel> resolve to /<kernel>
|
# separate partition we want /boot/<kernel> resolve to /<kernel>
|
||||||
if ! [ -e /boot/boot ]; then
|
if ! [ -e /boot/boot ]; then
|
||||||
ln -sf / /boot/boot
|
ln -sf . /boot/boot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cleanup unused initramfs
|
# cleanup unused initramfs
|
||||||
|
Loading…
Reference in New Issue
Block a user