diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-01 09:29:06 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-01 09:29:06 +0000 |
commit | bc4de141cb5da85c70acc605cd15b3d97b5f22ee (patch) | |
tree | 5347afb48e35fbb1638e92ae14c4d2b9a27d9258 /meta/classes/rootfs_deb.bbclass | |
parent | 37669af82c8a4fd5ee7d04edb06ad654b8446e82 (diff) | |
download | poky-bc4de141cb5da85c70acc605cd15b3d97b5f22ee.tar.gz |
rootfs_deb.bbclass: Add sanity check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@991 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/rootfs_deb.bbclass')
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 461b8bc939..533eaab4d1 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -102,7 +102,9 @@ fakeroot rootfs_deb_do_rootfs () { | |||
102 | 102 | ||
103 | # Hacks to make dpkg/ipkg coexist for now | 103 | # Hacks to make dpkg/ipkg coexist for now |
104 | mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/ | 104 | mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/ |
105 | rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives | 105 | if [ -e ${IMAGE_ROOTFS}/usr/dpkg/alternatives ]; then |
106 | rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives | ||
107 | fi | ||
106 | ln -s /usr/lib/ipkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives | 108 | ln -s /usr/lib/ipkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives |
107 | ln -s /usr/dpkg/info ${IMAGE_ROOTFS}/usr/lib/ipkg/info | 109 | ln -s /usr/dpkg/info ${IMAGE_ROOTFS}/usr/lib/ipkg/info |
108 | ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/ipkg/status | 110 | ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/ipkg/status |