From 2ea41da82043bbe7073e065a7e546b4fcc7b26cb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 26 Sep 2006 09:47:06 +0000 Subject: [PATCH] rootfs_ipk: Remove extra rm command to ensure /dev is correctly created git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/rootfs_ipk.bbclass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 600ec31ce9..ef3a94f4f3 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass @@ -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