Commit f01be02e authored by Natanael Copa's avatar Natanael Copa

main/mkinitfs: check if /boot/boot exists before trying to create it

parent b20fe727
# 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"
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment