mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-15 07:31:36 +01:00
cros_mark_all_as_stable: mark packages for all architectures, always
Change-Id: I415f089bc253c1ff9919451cf62c11a27a0bcf6d BUG=6507 TEST=run cros_mark_all_as_stable and see the three previously ignored packages being uprevved Review URL: http://codereview.chromium.org/3372002
This commit is contained in:
parent
92097e69a6
commit
ded5074afd
@ -61,9 +61,11 @@ for package in ${PACKAGES}; do
|
|||||||
info "${package} blacklisted, skipping"
|
info "${package} blacklisted, skipping"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
ebuild_path=$(${EQUERYCMD} which ${package}) || continue
|
# We need to pick up any stable ebuilds for any platform.
|
||||||
|
ebuild_path=$(ACCEPT_KEYWORDS="arm x86 amd64" ${EQUERYCMD} which ${package})\
|
||||||
|
|| continue
|
||||||
# Get 9999 ebuild path to see if it got changed.
|
# Get 9999 ebuild path to see if it got changed.
|
||||||
ebuild_9999_path=$(ACCEPT_KEYWORDS=~* ${EQUERYCMD} which ${package}) \
|
ebuild_9999_path=$(ACCEPT_KEYWORDS="~*" ${EQUERYCMD} which ${package}) \
|
||||||
|| continue
|
|| continue
|
||||||
# Sets ${CROS_WORKON_SRCDIR} from the ebuild.
|
# Sets ${CROS_WORKON_SRCDIR} from the ebuild.
|
||||||
eval $(${EBUILDCMD} ${ebuild_path} info) &> /dev/null || continue
|
eval $(${EBUILDCMD} ${ebuild_path} info) &> /dev/null || continue
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user