From: Richard Purdie Date: Mon, 27 Nov 2006 17:27:09 +0000 (+0000) Subject: apt-native: Stage apt.conf.sample, not apt.conf. Anything needing apt.conf will need... X-Git-Tag: 2011-1~12446 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2d56326467b6e142d9cfb7342805b794a28761bb;p=openembedded-core.git 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 --- 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 () { 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)