]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_deb.bbclass: Make sure alternatives path exists
authorRichard Purdie <richard@openedhand.com>
Mon, 12 Nov 2007 11:12:31 +0000 (11:12 +0000)
committerRichard Purdie <richard@openedhand.com>
Mon, 12 Nov 2007 11:12:31 +0000 (11:12 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3119 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_deb.bbclass

index 7825cf3ec3e0b7a80b2efa5c12438499c0c46ab9..c8916ffaa9a32710d3c75316b07749f4e5ae8f97 100644 (file)
@@ -47,6 +47,8 @@ fakeroot rootfs_deb_do_rootfs () {
        export OFFLINE_ROOT=${IMAGE_ROOTFS}
        export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
 
+       mkdir -p ${IMAGE_ROOTFS}/var/lib/dpkg/alternatives
+
        apt-get update
 
        _flag () {