generic-poky/meta/recipes-devtools/apt
Hongxu Jia 78e5426a76 apt-native: fix the creation of apt.conf.sample
1.The file of "apt.conf.sample" is in the outdir, and outdir is assigned
by "os.path.join" with the params of ${D}, ${sysconfdir} and "apt". But
${sysconfdir} is an absolute dir and that let ${D} be discarded.

The following is the help on function os.path.join(a, *p):
     Join two or more pathname components, inserting '/' as needed.
     If any component is an absolute path, all previous path components
     will be discarded.
Use oe.path.join instead which don't have this problem.

2. Create apt.conf.sample if it doesn't exist.

[YOCTO #3677]

(From OE-Core rev: 95a655a853b7cd43163362d72da0c134d4c0ec85)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10 23:49:39 +00:00
..
apt-0.7.14 apt 0.7.14: runtime error: Method file has died unexpectedly 2012-07-09 16:58:57 +01:00
files apt-native 0.7.14: remove an extra line from apt.conf 2012-08-17 18:04:22 +01:00
apt-native.inc apt-native: fix the creation of apt.conf.sample 2013-01-10 23:49:39 +00:00
apt-native_0.7.14.bb apt-native 0.7.14: remove an extra line from apt.conf 2012-08-17 18:04:22 +01:00
apt-package.inc Remove a number of unneeded import os/bb calls 2012-07-19 12:24:50 +01:00
apt.inc apt 0.7.14: runtime error: Method file has died unexpectedly 2012-07-09 16:58:57 +01:00
apt_0.7.14.bb apt 0.7.14: runtime error: Method file has died unexpectedly 2012-07-09 16:58:57 +01:00