mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +02:00
Merge pull request #1883 from marineam/pkg-config
profiles: do not wrap pkg-config as a legacy library config script
This commit is contained in:
commit
c452802a4f
@ -18,6 +18,14 @@ cros_pre_pkg_preinst_wrap_old_config_scripts() {
|
|||||||
|
|
||||||
local c w
|
local c w
|
||||||
for w in ${wrappers} ; do
|
for w in ${wrappers} ; do
|
||||||
|
# $CHOST-$CHOST-foo-config isn't helpful
|
||||||
|
if [[ ${w} == ${CHOST}-* ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
# Skip anything that isn't a script, e.g. pkg-config
|
||||||
|
if ! head -n1 | egrep -q '^#!\s*/bin/(ba)?sh'; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
w="${wdir}/${CHOST}-${w}"
|
w="${wdir}/${CHOST}-${w}"
|
||||||
c="${CROS_ADDONS_TREE}/scripts/config_wrapper"
|
c="${CROS_ADDONS_TREE}/scripts/config_wrapper"
|
||||||
if [[ ! -e ${w} ]] ; then
|
if [[ ! -e ${w} ]] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user