Mailinglist Archive: opensuse-commit (1187 mails)

< Previous Next >
commit mkinitrd
  • From: root@xxxxxxx (h_root)
  • Date: Mon, 24 Apr 2006 16:14:51 +0200 (CEST)
  • Message-id: <20060424141451.047CF8C44F@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package mkinitrd
checked in at Mon Apr 24 16:14:51 CEST 2006.

--------
--- mkinitrd/mkinitrd.changes 2006-04-22 01:15:19.000000000 +0200
+++ STABLE/mkinitrd/mkinitrd.changes 2006-04-24 10:22:39.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 10:16:35 CEST 2006 - hare@xxxxxxx
+
+- Generate correct initrd for Xen (#168115)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mkinitrd.spec ++++++
--- /var/tmp/diff_new_pack.CUHYB4/_old 2006-04-24 16:13:41.000000000 +0200
+++ /var/tmp/diff_new_pack.CUHYB4/_new 2006-04-24 16:13:41.000000000 +0200
@@ -18,7 +18,7 @@
# bootsplash required only if creating splash initrd's.
Autoreqprov: on
Version: 1.2
-Release: 97
+Release: 99
Summary: Creates an Initial RAM Disk Image for Preloading Modules
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: mkinitrd
@@ -85,6 +85,8 @@
%doc %{_mandir}/man8/mkinitrd.8.gz

%changelog -n mkinitrd
+* Mon Apr 24 2006 - hare@xxxxxxx
+- Generate correct initrd for Xen (#168115)
* Sat Apr 22 2006 - olh@xxxxxxx
- remove the requirement for expr, except for evms, bash does math
* Sat Apr 22 2006 - olh@xxxxxxx




++++++ mkinitrd ++++++
--- mkinitrd/mkinitrd 2006-04-22 01:16:19.000000000 +0200
+++ STABLE/mkinitrd/mkinitrd 2006-04-24 10:22:35.000000000 +0200
@@ -23,7 +23,7 @@
# This file is kept in the following CVS repository:
#
# $Source: /suse/yast2/cvsroot/mkinitrd/mkinitrd,v $
-# $Revision: 1.288 $
+# $Revision: 1.289 $

usage() {
cat<<EOF
@@ -1984,16 +1984,17 @@
done

if is_xen_kernel $kernel_version; then
- cat_linuxrc <<-EOF
- |else
- EOF
- echo -ne "\nXen domU modules:\t"
-
- for modpath in $xenu_modules $xen_modules; do
- module=${modpath##*/}
- module=${module%.ko}
- echo -n "${module} "
+ if [ "$xenu_modules" -o "$xen_modules" ]; then
cat_linuxrc <<-EOF
+ |else
+ EOF
+ echo -ne "\nXen domU modules:\t"
+
+ for modpath in $xenu_modules $xen_modules; do
+ module=${modpath##*/}
+ module=${module%.ko}
+ echo -n "${module} "
+ cat_linuxrc <<-EOF
|params=
|for p in \$(cat /proc/cmdline) ; do
| case \$p in
@@ -2006,9 +2007,9 @@
|modprobe $module \$params
EOF

- initrd_is_using_modules=1
- done
-
+ initrd_is_using_modules=1
+ done
+ fi
cat_linuxrc <<-EOF
|fi
EOF





++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...


< Previous Next >