[Fai-commit] r3504 - in trunk: debian lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Jun 12 10:31:53 UTC 2006


Author: lange
Date: 2006-06-12 10:31:52 +0000 (Mon, 12 Jun 2006)
New Revision: 3504

Modified:
   trunk/debian/changelog
   trunk/lib/create_ramdisk
   trunk/lib/mkrw
Log:
minor fixes in mkrw (closes: 365035, 365037)


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-06-09 13:15:26 UTC (rev 3503)
+++ trunk/debian/changelog	2006-06-12 10:31:52 UTC (rev 3504)
@@ -3,6 +3,8 @@
   * lib/get-boot-info: call dhclient with different configuration and
     script names (closes: #369265), remove dpkg-divert calls for
     /etc/dhcp3/dhclient-script and /etc/dhcp3/dhclient.conf
+  * create_ramdisk: make /etc/lvm writeable (closes: 365035)
+  * do not call mkrwsize if directory doe not exist (closes: 365037)
  
  -- Thomas Lange <lange at debian.org>  Tue,  6 Jun 2006 12:34:38 +0200
 

Modified: trunk/lib/create_ramdisk
===================================================================
--- trunk/lib/create_ramdisk	2006-06-09 13:15:26 UTC (rev 3503)
+++ trunk/lib/create_ramdisk	2006-06-12 10:31:52 UTC (rev 3504)
@@ -18,4 +18,4 @@
 }
 mkdir -p /tmp/etc /tmp/target
 
-mkrw /dev /var/run /var/log /var/lock /var/lib/discover /etc/sysconfig
+mkrw /dev /var/run /var/log /var/lock /var/lib/discover /etc/sysconfig /etc/lvm

Modified: trunk/lib/mkrw
===================================================================
--- trunk/lib/mkrw	2006-06-09 13:15:26 UTC (rev 3503)
+++ trunk/lib/mkrw	2006-06-12 10:31:52 UTC (rev 3504)
@@ -37,6 +37,6 @@
 done
 shift $(($OPTIND - 1))
 
-for f in "$@"; do
-    mkrwsize $size $f
+for d in "$@"; do
+    [ -d "$d ] && mkrwsize $size $d
 done




More information about the Fai-commit mailing list