From dd28dee711822b47f15a0ff6b843e0e02409ecd7 Mon Sep 17 00:00:00 2001 From: Kenneth Solbjerg Date: Mon, 9 Jul 2012 14:19:48 +0200 Subject: run-postinsts: Does not run any scripts on debian rootfs On my system (core-image-base, .deb package files), run-postinsts does not run any scripts due to a failed test in run-postinsts.awk. As dpkg is not actually installed on target, opkg is identified as the pkgdir and that is not right... (From OE-Core rev: e782cefd53cf3d3cc8ad7484335a697f9dde5751) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk index 18a0492fc0..cbc8d1a109 100644 --- a/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk +++ b/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts.awk @@ -7,7 +7,7 @@ # BEGIN { - rc=system("test -d /usr/dpkg/info/") + rc=system("test -d /var/lib/dpkg/info/") if (rc==0) pkgdir="/var/lib/dpkg/info" else -- cgit v1.2.3-54-g00ecf