[OE-core] [PATCH 1/5] apt-native:fix support configuring etc dir in apt.conf
Hongxu Jia
hongxu.jia at windriver.com
Mon Feb 4 09:34:12 UTC 2013
Add "#APT_CONF_DIR#" to support configuring etc dir in apt.conf. Configure it
by using sed to replace the string at deb do_rootfs time.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-devtools/apt/apt-native_0.7.14.bb | 2 +-
meta/recipes-devtools/apt/files/apt.conf | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
index d4513ca..777b05c 100644
--- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
@@ -1,6 +1,6 @@
require apt-native.inc
-PR = "r11"
+PR = "r12"
SRC_URI += "file://nodoc.patch \
file://noconfigure.patch \
diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf
index 5c20ea4..9bd19c1 100644
--- a/meta/recipes-devtools/apt/files/apt.conf
+++ b/meta/recipes-devtools/apt/files/apt.conf
@@ -21,7 +21,7 @@ Dir "${STAGING_DIR_NATIVE}/"
apt-get "apt-get";
apt-cache "apt-cache";
};
- Etc "etc/apt/"
+ Etc "#APT_CONF_DIR#"
{
Preferences "preferences";
};
--
1.7.10.4
More information about the Openembedded-core
mailing list