WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] (revised slightly) create kernel symlinks in /boot

To: Felipe Alfaro Solana <lkml@xxxxxxx>
Subject: [Xen-devel] [PATCH] (revised slightly) create kernel symlinks in /boot
From: Paul Larson <plars@xxxxxxxxxxxxxxxxxxxx>
Date: 2005年1月21日 10:20:36 -0600
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: 2005年1月21日 16:22:12 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <EA3CA986-6B37-11D9-9A48-000D9352858E@xxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <1106258196.8950.191.camel@xxxxxxxxxxxxxxxxxxxxx> <EA3CA986-6B37-11D9-9A48-000D9352858E@xxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Fri, 2005年01月21日 at 00:06 +0100, Felipe Alfaro Solana wrote:
> I think this won't work if /boot is mounted in a separate partition. 
> AFAIK, GRUB isn't able to follow symlinks across different filesystems.
That probably true, but a hard link should work ok right? The cp -dR in
make install-kernels should ensure that the link is preserved, and cp
-fdr likewise in install.sh.
-- 
Thanks,
Paul Larson
plars@xxxxxxxxxxxxxxxxxxxx
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月21日 10:19:56 -06:00
+++ b/buildconfigs/mk.linux-2.6-xen0 2005年01月21日 10:19:56 -06:00
@@ -18,6 +18,8 @@
 $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install ; \
 fi
 $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(INSTALL_DIR) install
+ ln /boot/vmlinuz-$(FULLVERSION) \
+ $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION)
 
 $(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月21日 10:19:56 -06:00
+++ b/buildconfigs/mk.linux-2.6-xenU 2005年01月21日 10:19:56 -06:00
@@ -18,6 +18,8 @@
 $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_MOD_PATH=$(INSTALL_DIR)
modules_install ; \
 fi
 $(MAKE) -C $(LINUX_DIR) ARCH=xen INSTALL_PATH=$(INSTALL_DIR) install
+ ln /boot/vmlinuz-$(FULLVERSION) \
+ $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION)
 
 $(LINUX_DIR)/include/linux/autoconf.h: pristine-linux-$(LINUX_VER)
 rm -rf $(LINUX_DIR)

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] xenctld - a control channel multiplexing daemon , Anthony Liguori
Next by Date: Re: [Xen-devel] [PATCH] xenctld - a control channel multiplexing daemon , Andrew Warfield
Previous by Thread: Re: [Xen-devel] [PATCH] create kernel symlinks in /boot , Felipe Alfaro Solana
Next by Thread: Re: [Xen-devel] [PATCH] (revised slightly) create kernel symlinks in /boot , Adam Heath
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /