diff options
author | Phil Blundell <philb@gnu.org> | 2009-06-15 17:52:18 +0100 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2009-06-15 17:52:18 +0100 |
commit | 4319baa438ea7b26d4b7d8474440e684c11d877b (patch) | |
tree | 882ac13570f1898e228b09380e3fe51583c92c2c | |
parent | 0fc051cfc8b097362916c34b85dbe4dc3079d531 (diff) |
rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditional
-rw-r--r-- | classes/rootfs_ipk.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
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 |