Comment 6 for bug 1202612

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to diskimage-builder (master)

Reviewed: https://review.openstack.org/38781
Committed: http://github.com/stackforge/diskimage-builder/commit/e79968f6825093a2f9aa8fb7040004cb8fe42739
Submitter: Jenkins
Branch: master

commit e79968f6825093a2f9aa8fb7040004cb8fe42739
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: Id8eba0753c2fe76c79ae1d952ce690d26e33e3ed