rootfs_deb.bbclass: s/ipkg/opkg/ - spotten by Koen Kooi
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4043 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
935a4d1151
commit
c2c6f59a5e
|
@ -109,15 +109,15 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||
|
||||
set -e
|
||||
|
||||
# Hacks to make dpkg/ipkg coexist for now
|
||||
# Hacks to make dpkg/opkg coexist for now
|
||||
mv ${IMAGE_ROOTFS}/var/dpkg ${IMAGE_ROOTFS}/usr/
|
||||
if [ -e ${IMAGE_ROOTFS}/usr/dpkg/alternatives ]; then
|
||||
rmdir ${IMAGE_ROOTFS}/usr/dpkg/alternatives
|
||||
fi
|
||||
mkdir -p ${IMAGE_ROOTFS}/usr/lib/ipkg
|
||||
ln -s /usr/lib/ipkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives
|
||||
ln -s /usr/dpkg/info ${IMAGE_ROOTFS}/usr/lib/ipkg/info
|
||||
ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/ipkg/status
|
||||
mkdir -p ${IMAGE_ROOTFS}/usr/lib/opkg
|
||||
ln -s /usr/lib/opkg/alternatives ${IMAGE_ROOTFS}/usr/dpkg/alternatives
|
||||
ln -s /usr/dpkg/onfo ${IMAGE_ROOTFS}/usr/lib/opkg/info
|
||||
ln -s /usr/dpkg/status ${IMAGE_ROOTFS}/usr/lib/opkg/status
|
||||
|
||||
${ROOTFS_POSTPROCESS_COMMAND}
|
||||
|
||||
|
@ -145,6 +145,6 @@ rootfs_deb_log_check() {
|
|||
}
|
||||
|
||||
remove_packaging_data_files() {
|
||||
rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/
|
||||
rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
|
||||
rm -rf ${IMAGE_ROOTFS}/usr/dpkg/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue