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:
parent
edd988ecb3
commit
2d56326467
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue