[oe-commits] Phil Blundell : rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditional
git version control
git at git.openembedded.org
Mon Jun 15 16:53:30 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 4319baa438ea7b26d4b7d8474440e684c11d877b
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4319baa438ea7b26d4b7d8474440e684c11d877b
Author: Phil Blundell <philb at gnu.org>
Date: Mon Jun 15 17:52:18 2009 +0100
rootfs_ipk: move "mkdir /etc/opkg" inside ONLINE_PACKAGE_MANAGEMENT conditional
---
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 4e9affa..f554e06 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
More information about the Openembedded-commits
mailing list