diff options
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 555492089f..35cd6e71b8 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc +++ b/meta/recipes-devtools/dpkg/dpkg.inc | |||
@@ -37,6 +37,7 @@ do_configure () { | |||
37 | 37 | ||
38 | POSTLOG ?= "/var/log/postinstall.log" | 38 | POSTLOG ?= "/var/log/postinstall.log" |
39 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>${POSTLOG} 2>&1', '', d)}" | 39 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>${POSTLOG} 2>&1', '', d)}" |
40 | REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG" | ||
40 | 41 | ||
41 | DPKG_INIT_POSITION ?= "98" | 42 | DPKG_INIT_POSITION ?= "98" |
42 | 43 | ||
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index ff26b04b6e..c1798b1623 100644 --- a/meta/recipes-devtools/opkg/opkg.inc +++ b/meta/recipes-devtools/opkg/opkg.inc | |||
@@ -59,6 +59,7 @@ do_install_append_class-native() { | |||
59 | 59 | ||
60 | POSTLOG ?= "/var/log/postinstall.log" | 60 | POSTLOG ?= "/var/log/postinstall.log" |
61 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>${POSTLOG} 2>&1', '', d)}" | 61 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>${POSTLOG} 2>&1', '', d)}" |
62 | REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG" | ||
62 | 63 | ||
63 | pkg_postinst_${PN} () { | 64 | pkg_postinst_${PN} () { |
64 | #!/bin/sh | 65 | #!/bin/sh |
diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb index b551c8d4f0..a5310b53bf 100644 --- a/meta/recipes-devtools/rpm/rpm-postinsts.bb +++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb | |||
@@ -13,6 +13,7 @@ POSTINSTALL_INITPOSITION ?= "98" | |||
13 | 13 | ||
14 | POSTLOG ?= "/var/log/postinstall.log" | 14 | POSTLOG ?= "/var/log/postinstall.log" |
15 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>>${POSTLOG} 2>&1', '', d)}" | 15 | REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>>${POSTLOG} 2>&1', '', d)}" |
16 | REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG" | ||
16 | 17 | ||
17 | do_fetch() { | 18 | do_fetch() { |
18 | : | 19 | : |