From 7718209c12c59eded827e47441c14f4cb9fc47e5 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 21 Apr 2016 09:48:40 -0700 Subject: [PATCH] profiles: fix config script wrappers Commit 631890b9 was completely broken and started skipping all *-config file, not just pkg-config, because I forgot to specify the file path. --- .../profiles/coreos/targets/generic/profile.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/profile.bashrc b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/profile.bashrc index a218a52beb..99d382e571 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/profile.bashrc +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/profile.bashrc @@ -23,7 +23,7 @@ cros_pre_pkg_preinst_wrap_old_config_scripts() { continue fi # Skip anything that isn't a script, e.g. pkg-config - if ! head -n1 | egrep -q '^#!\s*/bin/(ba)?sh'; then + if ! head -n1 "${D}/usr/bin/${w}" | egrep -q '^#!\s*/bin/(ba)?sh'; then continue fi w="${wdir}/${CHOST}-${w}"