move "rm -rf ${IMAGE_ROOTFS}" to less damaging place
authorPhil Blundell <philb@gnu.org>
Sat, 31 Jul 2004 23:56:01 +0000 (23:56 +0000)
committerPhil Blundell <philb@gnu.org>
Sat, 31 Jul 2004 23:56:01 +0000 (23:56 +0000)
BKrev: 410c3191lYtPcTGDsw-2Cf0DkzLXNw

classes/rootfs_ipk.oeclass

index 723712a..e92d189 100644 (file)
@@ -24,7 +24,6 @@ IPKG_INSTALL =+ "${@" ".join(map(lambda s: "locale-base-%s" % s, oe.data.getVar(
 
 real_do_rootfs () {
        set -x
-       rm -rf ${IMAGE_ROOTFS}
 
        mkdir -p ${IMAGE_ROOTFS}/dev
 
@@ -71,6 +70,7 @@ EOF
 }
 
 fakeroot do_rootfs () {
+       rm -rf ${IMAGE_ROOTFS}
        real_do_rootfs
 }