From: Paul Larson Subject: [PATCH] create kernel symlinks in /boot Date: Thu, 20 Jan 2005 15:56:36 -0600 Message-ID: <1106258196.8950.191.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Rjv4OSVywlq9aVGG4+aK" Return-path: 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: xen-devel List-Id: xen-devel@lists.xenproject.org --=-Rjv4OSVywlq9aVGG4+aK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Minor patch, but useful to me at least. I really find it convenient to have a symbolic link to the latest xen kernel I've built/installed for testing purposes. When the kernel went from 2.6.9 -> 2.6.10 recently, I hit all kind of strange problems until I realized that I was booting the new xen stuff with an old kernel. This might also come in handy if someone were inclined to make install.sh smarter so that it modifies grub. The patch was made against xen-2.0-testing but should apply ok to all the trees. --=20 Thanks, Paul Larson plars@linuxtestproject.org http://www.linuxtestproject.org diff -Nru a/buildconfigs/mk.linux-2.6-xen0 b/buildconfigs/mk.linux-2.6-xen0 --- a/buildconfigs/mk.linux-2.6-xen0 2005-01-20 15:48:20 -06:00 +++ b/buildconfigs/mk.linux-2.6-xen0 2005-01-20 15:48:20 -06:00 @@ -18,6 +18,8 @@ $(MAKE) -C $(LINUX_DIR) ARCH=3Dxen INSTALL_MOD_PATH=3D$(INSTALL_DIR) = modules_install ; \ fi $(MAKE) -C $(LINUX_DIR) ARCH=3Dxen INSTALL_PATH=3D$(INSTALL_DIR) install + ln -s /boot/vmlinuz-$(FULLVERSION) \ + $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION) =20 $(LINUX_DIR)/include/linux/autoconf.h: pristine-linux-$(LINUX_VER) rm -rf $(LINUX_DIR) diff -Nru a/buildconfigs/mk.linux-2.6-xenU b/buildconfigs/mk.linux-2.6-xenU --- a/buildconfigs/mk.linux-2.6-xenU 2005-01-20 15:48:20 -06:00 +++ b/buildconfigs/mk.linux-2.6-xenU 2005-01-20 15:48:20 -06:00 @@ -18,6 +18,8 @@ $(MAKE) -C $(LINUX_DIR) ARCH=3Dxen INSTALL_MOD_PATH=3D$(INSTALL_DIR) = modules_install ; \ fi $(MAKE) -C $(LINUX_DIR) ARCH=3Dxen INSTALL_PATH=3D$(INSTALL_DIR) install + ln -s /boot/vmlinuz-$(FULLVERSION) \ + $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION) =20 $(LINUX_DIR)/include/linux/autoconf.h: pristine-linux-$(LINUX_VER) rm -rf $(LINUX_DIR) --=-Rjv4OSVywlq9aVGG4+aK 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) iD8DBQBB8CkTbkpggQiFDqcRAknXAJ4kKL9wqHlpSbKrLGyR3geDmbBOdgCfdtY/ mxxckjow2Et1OMrJsHV/ytc= =NFS2 -----END PGP SIGNATURE----- --=-Rjv4OSVywlq9aVGG4+aK-- ------------------------------------------------------- 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