Patchwork [1/4] apt-native:fix support configuring etc dir in apt.conf

login
register
mail settings
Submitter Hongxu Jia
Date Jan. 22, 2013, 8:19 a.m.
Message ID <615c7cb9e75b2cc54e8464249ddca32af95ecbf1.1358824498.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/43141/
State New
Headers show

Comments

Hongxu Jia - Jan. 22, 2013, 8:19 a.m.
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@windriver.com>
---
 meta/recipes-devtools/apt/files/apt.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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";
    };