Mailinglist Archive: opensuse-commit (1306 mails)

< Previous Next >
commit mkinitrd
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 21 Jul 2007 18:04:41 +0200
  • Message-id: <20070721160441.8731A67832C@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package mkinitrd
checked in at Sat Jul 21 18:04:41 CEST 2007.

--------
--- mkinitrd/mkinitrd.changes   2007-07-17 16:11:56.000000000 +0200
+++ /mounts/work_src_done/STABLE/mkinitrd/mkinitrd.changes      2007-07-21 11:41:48.717873000 +0200
@@ -1,0 +2,5 @@
+Sat Jul 21 11:41:23 CEST 2007 - coolo@xxxxxxx
+
+- Hotfix for one-CD installations without dmraid setup installed
+
+-------------------------------------------------------------------

New:
----
  mkinitrd.diff

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

Other differences:
------------------
++++++ mkinitrd.spec ++++++
--- /var/tmp/diff_new_pack.P29261/_old  2007-07-21 18:04:26.000000000 +0200
+++ /var/tmp/diff_new_pack.P29261/_new  2007-07-21 18:04:26.000000000 +0200
@@ -18,10 +18,11 @@
 Requires:       coreutils modutils util-linux grep gzip sed gawk cpio udev pciutils sysvinit file perl
 Autoreqprov:    on
 Version:        2.1
-Release:        1
+Release:        2
 Summary:        Creates an Initial RAM Disk Image for Preloading Modules
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        mkinitrd.tgz
+Patch0:         mkinitrd.diff
 
 %description
 Mkinitrd creates file system images for use as initial RAM disk
@@ -51,6 +52,7 @@
 
 %prep
 %setup
+%patch -p1
 
 %build
 gcc $RPM_OPT_FLAGS -Wall -Os -o lib/mkinitrd/bin/run-init src/run-init.c
@@ -101,6 +103,8 @@
 %doc %{_mandir}/man8/mkinitrd.8.gz
 
 %changelog
+* Sat Jul 21 2007 - coolo@xxxxxxx
+- Hotfix for one-CD installations without dmraid setup installed
 * Tue Jul 17 2007 - hare@xxxxxxx
 - Implemented dynamic script enumeration
 * Mon Jul 16 2007 - sassmann@xxxxxxx

++++++ mkinitrd.diff ++++++
diff -ru mkinitrd-2.1.orig/scripts/setup-dmraid.sh mkinitrd-2.1/scripts/setup-dmraid.sh
--- mkinitrd-2.1.orig/scripts/setup-dmraid.sh   2007-07-17 16:11:20.000000000 +0200
+++ mkinitrd-2.1/scripts/setup-dmraid.sh        2007-07-21 11:37:36.157685000 +0200
@@ -4,8 +4,8 @@
 #%provides: dmroot
 #
 
-newbd=
 if [ -x /sbin/dmraid -a -x /sbin/dmsetup ] ; then
+        newbd=
        for bd in $blockdev ; do
            update_blockdev $bd
            if [ $blockdriver = device-mapper ]; then
@@ -20,7 +20,7 @@
                fi
            fi
        done
+        blockdev="$newbd"
 fi
-blockdev="$newbd"
 
 save_var root_dmraid

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



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >