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

Thomas Lange lange at alioth.debian.org
Mon Mar 1 14:43:01 UTC 2010


Author: lange
Date: 2010-03-01 14:42:59 +0000 (Mon, 01 Mar 2010)
New Revision: 5728

Modified:
   trunk/debian/changelog
   trunk/lib/subroutines
Log:
subroutines: umount ramdisk in clean_exit()

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-02-21 20:26:21 UTC (rev 5727)
+++ trunk/debian/changelog	2010-03-01 14:42:59 UTC (rev 5728)
@@ -3,6 +3,7 @@
   [ Thomas Lange ]
   * make-fai-nfsroot: fix matching of hook names
   * mkramdisk: do nothing if the variable FAI_NORAMDISK is set to 1
+  * subroutines: umount ramdisk in clean_exit()
 
  -- Thomas Lange <lange at debian.org>  Wed, 17 Feb 2010 13:32:51 +0100
 

Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2010-02-21 20:26:21 UTC (rev 5727)
+++ trunk/lib/subroutines	2010-03-01 14:42:59 UTC (rev 5728)
@@ -521,6 +521,7 @@
 	[ -d $FAI_ROOT/proc/self ] && umount $FAI_ROOT/proc $FAI_ROOT/sys
 	umount $FAI_ROOT/dev/pts 2>/dev/null || true
 	[ -f /etc/init.d/udev ] && umount $FAI_ROOT/dev
+	mkramdisk -u $target/var/lib/dpkg 2>/dev/null
     }
     trap 'clean_exit' INT QUIT EXIT
 




More information about the Fai-commit mailing list