]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_ipk: Remove extra rm command to ensure /dev is correctly created
authorRichard Purdie <richard@openedhand.com>
Tue, 26 Sep 2006 09:47:06 +0000 (09:47 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 26 Sep 2006 09:47:06 +0000 (09:47 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_ipk.bbclass

index 600ec31ce9482cc1316d5c0752c4e6e7c7e7cee1..ef3a94f4f3d9c51ad8df8a2e99f05e04110a49d5 100644 (file)
@@ -25,7 +25,7 @@ IMAGE_LINGUAS ?= "de-de fr-fr en-gb"
 
 LINGUAS_INSTALL = "${@" ".join(map(lambda s: "locale-base-%s" % s, bb.data.getVar('IMAGE_LINGUAS', d, 1).split()))}"
 
-real_do_rootfs () {
+fakeroot rootfs_ipk_do_rootfs () {
        set -x
                
        mkdir -p ${IMAGE_ROOTFS}/dev
@@ -113,10 +113,6 @@ log_check() {
        
 }
 
-fakeroot rootfs_ipk_do_rootfs () {
-       rm -rf ${IMAGE_ROOTFS}
-       real_do_rootfs
-}
 
 # set '*' as the rootpassword so the images
 # can decide if they want it or not