diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-23 16:42:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-23 16:42:52 +0000 |
commit | f01be02ee084ef141f7b5f1d9588e4fbe9631215 (patch) | |
tree | e8b62757ab704843e30a0c2d4fa3c9b5b4768af3 /main/mkinitfs/mkinitfs.trigger | |
parent | b20fe727146fab9d28e2393633ddfe6a6797e82d (diff) | |
download | aports-f01be02ee084ef141f7b5f1d9588e4fbe9631215.tar.bz2 aports-f01be02ee084ef141f7b5f1d9588e4fbe9631215.tar.xz |
main/mkinitfs: check if /boot/boot exists before trying to create it
Diffstat (limited to 'main/mkinitfs/mkinitfs.trigger')
-rw-r--r-- | main/mkinitfs/mkinitfs.trigger | 2 |
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 |