From: Paul Larson <plars@linuxtestproject.org>
To: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
xen-devel <xen-devel@lists.sourceforge.net>
Subject: Re: [PATCH] (revised slightly) create kernel symlinksin /boot
Date: Mon, 24 Jan 2005 17:06:05 -0600 [thread overview]
Message-ID: <1106607965.5366.7.camel@localhost.localdomain> (raw)
In-Reply-To: <20050121212008.GN14221@cl.cam.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]
From rom all the latest comments, I think this should satisfy what everyone
wants. This was from Christian's last suggestion as to how to do it in
install.sh, with the head flag fixed, and I did opt to create
vmlinuz-xen{0|U} generic links because those are very handy when trying
to completely automate testing. I also kept the versions specific links
for those who want to know for certain that they are getting a latest
2.4 or 2.6 specifically. Ian, did you specifically need a make target
that does this though, or is install.sh sufficient since it will work
when you do make install?
Thanks,
Paul Larson
Signed-off-by: pl@us.ibm.com
diff -Nru a/install.sh b/install.sh
--- a/install.sh 2005-01-24 16:55:01 -06:00
+++ b/install.sh 2005-01-24 16:55:01 -06:00
@@ -23,6 +23,15 @@
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 m
v
+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."
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-24 23:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 19:47 [PATCH] (revised slightly) create kernel symlinksin /boot Ian Pratt
2005-01-21 20:19 ` Christian Limpach
2005-01-21 20:41 ` Paul Larson
2005-01-21 21:20 ` Christian Limpach
2005-01-21 21:29 ` Paul Larson
2005-01-24 23:06 ` Paul Larson [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-01-21 21:26 Ian Pratt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1106607965.5366.7.camel@localhost.localdomain \
--to=plars@linuxtestproject.org \
--cc=Christian.Limpach@cl.cam.ac.uk \
--cc=m+Ian.Pratt@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.