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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] (revised slightly) create kernel symlinks in /bo

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] (revised slightly) create kernel symlinks in /boot
From: Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx>
Date: Fri, 21 Jan 2005 18:32:31 +0000
Delivery-date: Fri, 21 Jan 2005 18:34:54 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D12348C@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Mail-followup-to: Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D12348C@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Jan 21, 2005 at 05:51:43PM -0000, Ian Pratt wrote:
> Since the symlink is to a file in the same directory, I think the
> orginal patch will work fine with GRUB.

No, the symlink is still an absolute path. It needes to be relative:

+       ln -s /boot/vmlinuz-$(FULLVERSION) \
+           $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION)

becomes

+       ln -s vmlinuz-$(FULLVERSION) \
+           $(INSTALL_DIR)/boot/vmlinuz-$(EXTRAVERSION)

(A hardlink would certainly not work, because /boot may be on a
different filesystem than $(INSTALL_DIR)/boot.)

Regards,
Luciano Rocha


-------------------------------------------------------
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>