aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/mkinitfs.trigger
diff options
context:
space:
mode:
Diffstat (limited to 'main/mkinitfs/mkinitfs.trigger')
-rw-r--r--main/mkinitfs/mkinitfs.trigger2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/mkinitfs/mkinitfs.trigger b/main/mkinitfs/mkinitfs.trigger
index 4117524c22..c181233e8b 100644
--- a/main/mkinitfs/mkinitfs.trigger
+++ b/main/mkinitfs/mkinitfs.trigger
@@ -11,7 +11,7 @@ for i in "$@"; do
# extlinux will use path relative partition, so if /boot is on a
# separate partition we want /boot/<kernel> resolve to /<kernel>
- ln -sf / /boot/boot
+ [ -e /boot/boot ] || ln -sf / /boot/boot
#this is for compat. to be removed eventually...
ln -sf vmlinuz-$flavor /boot/$flavor