From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Larson Subject: Re: [PATCH] (revised slightly) create kernel symlinksin /boot Date: Fri, 21 Jan 2005 15:29:13 -0600 Message-ID: <1106342953.8950.231.camel@localhost.localdomain> References: <20050121201928.GL14221@cl.cam.ac.uk> <1106340090.8950.226.camel@localhost.localdomain> <20050121212008.GN14221@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hAhwvCy7HOj7AU2kevHj" Return-path: In-Reply-To: <20050121212008.GN14221@cl.cam.ac.uk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Christian Limpach Cc: Ian Pratt , Adam Heath , xen-devel List-Id: xen-devel@lists.xenproject.org --=-hAhwvCy7HOj7AU2kevHj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-01-21 at 21:20 +0000, Christian Limpach wrote: > Yes, but we don't change kernel versions that often and it's easy to > fix this from grub's boot prompt should the old kernel no longer boot. But by then, it's already failed, possibly in a very confusing way. > How about adding this to install.sh: > (run in dist/install/boot) > (echo '2.6.*' -2.6; echo '2.4.*' -2.4) | while read m v > do > l=3D$(eval ls -t vmlinuz-$m-xen0 2>/dev/null | head -1) only nitpick here is -n1 for head (some versions of head are picky about that now) Otherwise that works for me. The reason I'm looking for something like this, is so that I can set up automated testing of xen nightly tarballs. This would greatly simplify things, as well as help prevent others from getting bit by the kernel upgrade thing. =20 --=20 Thanks, Paul Larson plars@linuxtestproject.org http://www.linuxtestproject.org --=-hAhwvCy7HOj7AU2kevHj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBB8XQpbkpggQiFDqcRAsLNAKCGryAj+PkXqTq9wISqrqBFu77RsACeLVMB Qejh2W+AMe02vC6Hvtv6CnU= =0l9J -----END PGP SIGNATURE----- --=-hAhwvCy7HOj7AU2kevHj-- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl