]> git.openpandora.org Git - openembedded.git/commitdiff
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 723712ab86e6cd1b1399eb405a77ddae07763b3b..e92d189730c5a0cad1a296dd1a0987d384aba443 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
 }