From: Phil Blundell Date: Mon, 15 Jun 2009 16:52:18 +0000 (+0100) Subject: rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditional X-Git-Tag: Release-2010-05/1~3146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4319baa438ea7b26d4b7d8474440e684c11d877b;p=openembedded.git rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditional --- diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index 4e9affa523..f554e06dfa 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -64,9 +64,8 @@ fakeroot rootfs_ipk_do_rootfs () { export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} export OPKG_OFFLINE_ROOT=${IPKG_OFFLINE_ROOT} - mkdir -p ${IMAGE_ROOTFS}${sysconfdir}/opkg/ - if [ "${ONLINE_PACKAGE_MANAGEMENT}" != "none" ]; then + mkdir -p ${IMAGE_ROOTFS}${sysconfdir}/opkg/ grep "^arch" ${IPKGCONF_TARGET} >${IMAGE_ROOTFS}${sysconfdir}/opkg/arch.conf fi