Mailinglist Archive: opensuse-commit (1081 mails)
| < Previous | Next > |
commit mkinitrd
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Mon, 21 May 2007 18:09:56 +0200
- Message-id: <20070521160957.15674678168@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package mkinitrd
checked in at Mon May 21 18:09:56 CEST 2007.
--------
--- mkinitrd/mkinitrd.changes 2007-05-21 13:28:55.000000000 +0200
+++ /mounts/work_src_done/STABLE/mkinitrd/mkinitrd.changes 2007-05-21 17:22:31.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 21 17:21:06 CEST 2007 - agraf@xxxxxxx
+
+- Added a warning if fsck was not found
+- Fixed to load sysconfig/kernel modules
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mkinitrd.spec ++++++
--- /var/tmp/diff_new_pack.I31862/_old 2007-05-21 18:09:00.000000000 +0200
+++ /var/tmp/diff_new_pack.I31862/_new 2007-05-21 18:09:00.000000000 +0200
@@ -18,7 +18,7 @@
Requires: coreutils modutils util-linux grep gzip sed gawk cpio udev pciutils sysvinit file
Autoreqprov: on
Version: 2.0
-Release: 4
+Release: 6
Summary: Creates an Initial RAM Disk Image for Preloading Modules
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: mkinitrd.tgz
@@ -93,6 +93,9 @@
%changelog
* Mon May 21 2007 - agraf@xxxxxxx
+- Added a warning if fsck was not found
+- Fixed to load sysconfig/kernel modules
+* Mon May 21 2007 - agraf@xxxxxxx
- Beautified the initrd boot output
- Removed unused modules when using IDE / SCSI
- Minor variable escaping fixes
++++++ mkinitrd.tgz ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mkinitrd-2.0/lib/mkinitrd/boot/01-start.sh new/mkinitrd-2.0/lib/mkinitrd/boot/01-start.sh
--- old/mkinitrd-2.0/lib/mkinitrd/boot/01-start.sh 2007-04-27 11:52:31.000000000 +0200
+++ new/mkinitrd-2.0/lib/mkinitrd/boot/01-start.sh 2007-05-21 17:04:36.000000000 +0200
@@ -1,6 +1,6 @@
#!/bin/bash
#%programs: bash umount test mount mknod mkdir ln /sbin/blogd date sleep echo cat /bin/sed /sbin/insmod /sbin/modprobe expr kill /sbin/killall5 /sbin/halt /sbin/reboot /sbin/showconsole cp /sbin/pidof mv chmod rm true /bin/grep ls /lib/mkinitrd/bin/*
-#%modules: $INITRD_MODULES
+#%modules: $modules
#%dontshow
#
##### Initrd initialization
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/mkinitrd-2.0/lib/mkinitrd/setup/16-mount.sh new/mkinitrd-2.0/lib/mkinitrd/setup/16-mount.sh
--- old/mkinitrd-2.0/lib/mkinitrd/setup/16-mount.sh 2007-05-21 11:39:36.000000000 +0200
+++ new/mkinitrd-2.0/lib/mkinitrd/setup/16-mount.sh 2007-05-21 17:26:06.000000000 +0200
@@ -2,7 +2,18 @@
# don't include a non-existant fsck
rootfsck="/sbin/fsck.${rootfstype}"
-[ -e "$rootfsck" ] || rootfsck=
+if [ ! -x "$rootfsck" ]; then
+ rootfsck=
+ if [ "$rootfstype" != "nfs" ]; then
+ echo "****************************"
+ echo "* WARNING "
+ echo "* No fsck for your rootfs "
+ echo "* could be found. "
+ echo "* This might be bad! "
+ echo "* Please install: /sbin/fsck.$rootfstype"
+ echo "****************************"
+ fi
+fi
verbose "[MOUNT] Root:\t$rootdev"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |