diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-27 17:27:09 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-27 17:27:09 +0000 |
commit | 2d56326467b6e142d9cfb7342805b794a28761bb (patch) | |
tree | aba9b9dceaddca377bc6b78e48dbef821f696719 /meta/packages/apt/apt-native.inc | |
parent | edd988ecb3028ce5f5e3f804bdbda5b673ba4053 (diff) | |
download | poky-2d56326467b6e142d9cfb7342805b794a28761bb.tar.gz |
apt-native: Stage apt.conf.sample, not apt.conf. Anything needing apt.conf will need to adjust the file anyway and this avoids apt's default search path.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@964 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/apt/apt-native.inc')
-rw-r--r-- | meta/packages/apt/apt-native.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/packages/apt/apt-native.inc b/meta/packages/apt/apt-native.inc index de9426bf70..763ab17d13 100644 --- a/meta/packages/apt/apt-native.inc +++ b/meta/packages/apt/apt-native.inc | |||
@@ -22,7 +22,7 @@ python do_stage_config () { | |||
22 | outdir = os.path.join(bb.data.getVar('sysconfdir', d, 1), 'apt') | 22 | outdir = os.path.join(bb.data.getVar('sysconfdir', d, 1), 'apt') |
23 | if not os.path.exists(outdir): | 23 | if not os.path.exists(outdir): |
24 | os.makedirs(outdir) | 24 | os.makedirs(outdir) |
25 | outpath = os.path.join(outdir, 'apt.conf') | 25 | outpath = os.path.join(outdir, 'apt.conf.sample') |
26 | 26 | ||
27 | outfile = file(outpath, 'w') | 27 | outfile = file(outpath, 'w') |
28 | outfile.write(data) | 28 | outfile.write(data) |