summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/rootfs_deb.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index c8916ffaa9..be54825645 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -109,15 +109,15 @@ fakeroot rootfs_deb_do_rootfs () {
109 109
110 set -e 110 set -e
111 111
112 # Hacks to make dpkg/ipkg coexist for now 112 # Hacks to make dpkg/opkg coexist for now
113 mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/ 113 mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/
114 if [ -e ${IMAGE_ROOTFS}/usr/dpkg/alternatives ]; then 114 if [ -e ${IMAGE_ROOTFS}/usr/dpkg/alternatives ]; then
115 rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives 115 rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives
116 fi 116 fi
117 mkdir -p ${IMAGE_ROOTFS}/usr/lib/ipkg 117 mkdir -p ${IMAGE_ROOTFS}/usr/lib/opkg
118 ln -s /usr/lib/ipkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives 118 ln -s /usr/lib/opkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives
119 ln -s /usr/dpkg/info ${IMAGE_ROOTFS}/usr/lib/ipkg/info 119 ln -s /usr/dpkg/onfo ${IMAGE_ROOTFS}/usr/lib/opkg/info
120 ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/ipkg/status 120 ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/opkg/status
121 121
122 ${ROOTFS_POSTPROCESS_COMMAND} 122 ${ROOTFS_POSTPROCESS_COMMAND}
123 123
@@ -145,6 +145,6 @@ rootfs_deb_log_check() {
145} 145}
146 146
147remove_packaging_data_files() { 147remove_packaging_data_files() {
148 rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/ 148 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
149 rm -rf ${IMAGE_ROOTFS}/usr/dpkg/ 149 rm -rf ${IMAGE_ROOTFS}/usr/dpkg/
150} 150}