summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-23 16:42:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-23 16:42:52 +0000
commitf01be02ee084ef141f7b5f1d9588e4fbe9631215 (patch)
treee8b62757ab704843e30a0c2d4fa3c9b5b4768af3
parentb20fe727146fab9d28e2393633ddfe6a6797e82d (diff)
downloadaports-f01be02ee084ef141f7b5f1d9588e4fbe9631215.tar.bz2
aports-f01be02ee084ef141f7b5f1d9588e4fbe9631215.tar.xz
main/mkinitfs: check if /boot/boot exists before trying to create it
-rw-r--r--main/mkinitfs/APKBUILD2
-rw-r--r--main/mkinitfs/mkinitfs.trigger2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 3666e533b..8320e2ba1 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.0_rc5
-pkgrel=1
+pkgrel=2
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox"
diff --git a/main/mkinitfs/mkinitfs.trigger b/main/mkinitfs/mkinitfs.trigger
index 4117524c2..c181233e8 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