aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index f21294f5f7..611e6e6417 100755
--- a/install.sh
+++ b/install.sh
@@ -23,6 +23,15 @@ if ! [ -d $dst ]; then
fi
echo "Installing Xen from '$src' to '$dst'..."
+cd $src/boot
+(echo '2.6.*' -2.6; echo '2.4.*' -2.4; echo '2.*.*' '') | while read mv
+do
+ l=$(eval ls -t vmlinuz-$m-xen0 2>/dev/null | head -n 1)
+ [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xen0
+ l=$(eval ls -t vmlinuz-$m-xenU 2>/dev/null | head -n 1)
+ [ -e "$l" ] && ln -fs "$l" vmlinuz${v}-xenU
+done
+cd -
cp -fdR $src/* $dst
echo "All done."