[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On Fri, 2005-01-21 at 10:40 -0600, Adam Heath wrote:
> On Fri, 21 Jan 2005, Paul Larson wrote:
> 
> bzzt.  What if /boot and $(INSTALL_DIR)/boot are different partitions?
Oops, forgot to change that, fixed.  Needless to say, most of my boxes
have a pretty flat filesystem :)

-- 
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:54:17 -06:00
+++ b/buildconfigs/mk.linux-2.6-xen0    2005-01-21 10:54:17 -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 $(INSTALL_DIR)/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:54:17 -06:00
+++ b/buildconfigs/mk.linux-2.6-xenU    2005-01-21 10:54:17 -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 $(INSTALL_DIR)/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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.