1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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
This commit is contained in:
Richard Purdie
2006-11-27 17:27:09 +00:00
parent edd988ecb3
commit 2d56326467
+1 -1
View File
@@ -22,7 +22,7 @@ python do_stage_config () {
outdir = os.path.join(bb.data.getVar('sysconfdir', d, 1), 'apt')
if not os.path.exists(outdir):
os.makedirs(outdir)
outpath = os.path.join(outdir, 'apt.conf')
outpath = os.path.join(outdir, 'apt.conf.sample')
outfile = file(outpath, 'w')
outfile.write(data)