During ramdisk cleanup if for some reason the filesystems mounted
in $TMP_BUILD_DIR were not removed this recursive delete ended up
deleting parts of the host filesystem that were mounted (in particular
most of the contents of /dev got removed.
This commit doesn't deal with the reason the filesystem didn't unmounted
but ensures the consequences are not as severe.
Reviewed: https:/ /review. openstack. org/38781 github. com/stackforge/ diskimage- builder/ commit/ e79968f6825093a 2f9aa8fb7040004 cb8fe42739
Committed: http://
Submitter: Jenkins
Branch: master
commit e79968f6825093a 2f9aa8fb7040004 cb8fe42739
Author: Derek Higgins <email address hidden>
Date: Fri Jul 26 10:42:47 2013 +0100
Only remove $TMP_BUILD_DIR on cleanup
During ramdisk cleanup if for some reason the filesystems mounted
in $TMP_BUILD_DIR were not removed this recursive delete ended up
deleting parts of the host filesystem that were mounted (in particular
most of the contents of /dev got removed.
This commit doesn't deal with the reason the filesystem didn't unmounted
but ensures the consequences are not as severe.
Fixes Bug 1202612
Change-Id: Id8eba0753c2fe7 6c79ae1d952ce69 0d26e33e3ed