summaryrefslogtreecommitdiff
path: root/packages/apt/apt-native.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-30 17:48:26 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-30 17:48:26 +0000
commit992164d2547b4b91b2b87dcf6bd68490b1b8a865 (patch)
tree1c55846e0ef5e5f99fa1aaec099188e7dc1f6107 /packages/apt/apt-native.inc
parenta16664a66242758c8b2473b9b2d8900333e0c923 (diff)
apt: sync with poky
Diffstat (limited to 'packages/apt/apt-native.inc')
-rw-r--r--packages/apt/apt-native.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/apt/apt-native.inc b/packages/apt/apt-native.inc
index b615693e64..75cd8f47cd 100644
--- a/packages/apt/apt-native.inc
+++ b/packages/apt/apt-native.inc
@@ -1,11 +1,13 @@
require apt.inc
inherit native
-DEPENDS += "dpkg-native curl-native"
+DEPENDS += "dpkg-native curl-native db-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/apt-${PV}"
PACKAGES = ""
USE_NLS = "no"
+SRC_URI += "file://db_linking_hack.patch;patch=1"
+
python do_stage () {
bb.build.exec_func('do_stage_base', d)
bb.build.exec_func('do_stage_config', d)
@@ -22,7 +24,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)
@@ -35,7 +37,7 @@ do_stage_base () {
install -m 0755 bin/apt-get ${bindir}/
install -m 0755 bin/apt-config ${bindir}/
install -m 0755 bin/apt-cache ${bindir}/
-
+ install -m 0755 bin/apt-ftparchive ${bindir}/
install -m 0755 bin/apt-sortpkgs ${bindir}/
install -m 0755 bin/apt-extracttemplates ${bindir}/