Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Brown (9319bbceb1ed3cb17a00cc52cc7ed70ecfe378dd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Brown <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Brown (9319bbceb1ed3cb17a00cc52cc7ed70ecfe378dd)
  • Date: Sat, 1 Dec 2007 22:07:34 -0600

GIT changes to master grimoire by David Brown <dmlb2000 AT gmail.com>:

kernels/linux/BUILD | 9 +++++++--
kernels/linux/HISTORY | 4 ++++
kernels/linux/INSTALL | 8 +++++++-
3 files changed, 18 insertions(+), 3 deletions(-)

New commits:
commit b26cfd71f81192f6050c56b25d6f93f03a62c9c5
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

linux fixed path for vmlinuz in xen kernel

commit be767735e641ee2a42368504e6bcc6efed199ed1
Author: David Brown <dmlb2000 AT gmail.com>
Commit: David Brown <dmlb2000 AT gmail.com>

linux added some extra checks for some xen kernel

diff --git a/kernels/linux/BUILD b/kernels/linux/BUILD
index 7d0d7d2..d67267c 100755
--- a/kernels/linux/BUILD
+++ b/kernels/linux/BUILD
@@ -3,7 +3,7 @@ echo "This is the version: $VERSION" &&

# ppc kernels does not support stripping. This apply to both 2.4 kernels and
# 2.6 kernels.
-
+persistent_add IMAGE_TARGET
case "${KERNEL_ARCH}" in
sparc*)
IMAGE_TARGET=vmlinux
@@ -16,7 +16,12 @@ case "${KERNEL_ARCH}" in
IMAGE_TARGET=zImage
;;
*)
- IMAGE_TARGET=bzImage
+ if grep CONFIG_XEN=y ./.config
+ then
+ IMAGE_TARGET=vmlinuz
+ else
+ IMAGE_TARGET=bzImage
+ fi
;;
esac &&

diff --git a/kernels/linux/HISTORY b/kernels/linux/HISTORY
index d610f61..b8d4f41 100644
--- a/kernels/linux/HISTORY
+++ b/kernels/linux/HISTORY
@@ -1,3 +1,7 @@
+2007-11-30 David Brown <dmlb2000 AT gmail.com>
+ * BUILD: added some checks for xen kernel
+ * INSTALL: added some checks for xen kernel and fixed location
+
2007-11-26 David Brown <dmlb2000 AT gmail.com>
* latest.defaults: updated latest to patch-2.6.23.9
* info/patches/maintenance_patches/patch-2.6.23.9: added
diff --git a/kernels/linux/INSTALL b/kernels/linux/INSTALL
index 46866d1..99492f7 100755
--- a/kernels/linux/INSTALL
+++ b/kernels/linux/INSTALL
@@ -29,7 +29,13 @@ if [[ -z "$INTERNAL_ISO_VAR" ]] ; then
${INSTALL_ROOT}/boot/vmlinuz
;;
*)
- if [[ -f
${LINUX_SOURCE_DIRECTORY}/arch/${KERNEL_ARCH}/boot/bzImage ]]
+ if grep CONFIG_XEN=y ./.config
+ then
+ cp
${LINUX_SOURCE_DIRECTORY}/arch/${KERNEL_ARCH}/boot/vmlinuz \
+ ${INSTALL_ROOT}/boot/vmlinuz-$VERSION &&
+ ln -sf vmlinuz-${VERSION} \
+ ${INSTALL_ROOT}/boot/vmlinuz
+ elif [[ -f
${LINUX_SOURCE_DIRECTORY}/arch/${KERNEL_ARCH}/boot/bzImage ]]
then
cp
${LINUX_SOURCE_DIRECTORY}/arch/${KERNEL_ARCH}/boot/bzImage \
${INSTALL_ROOT}/boot/vmlinuz-$VERSION &&



  • [SM-Commit] GIT changes to master grimoire by David Brown (9319bbceb1ed3cb17a00cc52cc7ed70ecfe378dd), David Brown, 12/01/2007

Archive powered by MHonArc 2.6.24.

Top of Page