summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_deb.bbclass4
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