From f6a6625d91e36197d3ff2f5275dc097c848c95c2 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Wed, 23 May 2018 07:28:22 -0700 Subject: [PATCH] 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. --- main/mkinitfs/APKBUILD | 2 +- main/mkinitfs/mkinitfs.trigger | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index 5da95da54ed..9d4f7ba8719 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -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" diff --git a/main/mkinitfs/mkinitfs.trigger b/main/mkinitfs/mkinitfs.trigger index cedf36337d9..e8acc978544 100644 --- a/main/mkinitfs/mkinitfs.trigger +++ b/main/mkinitfs/mkinitfs.trigger @@ -18,7 +18,7 @@ done # extlinux will use path relative partition, so if /boot is on a # separate partition we want /boot/ resolve to / if ! [ -e /boot/boot ]; then - ln -sf / /boot/boot + ln -sf . /boot/boot fi # cleanup unused initramfs