mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
Handle some special-case naming for chromiumos-build
chromiumos-build gets less confused if we refer to the package name e4fsprogs-git rather than the directory name e2fsprogs (which is also a different source package downloadable from Ubuntu). Don't bother trying to build ibus-anthy, ibus-chewing, or ibus-hangul on anything other than i386 for now. They aren't easily cross-buildable and we can live without input methods. Review URL: http://codereview.chromium.org/554063
This commit is contained in:
parent
e550bbd5ae
commit
35431dc239
@ -60,7 +60,24 @@ if [ $FLAGS_new_build -eq $FLAGS_TRUE ]; then
|
||||
# chromiumos-build works out the build order for itself.
|
||||
PACKAGES='dh-chromeos libchrome libchromeos'
|
||||
for PKG in $PLATFORM_DIRS $THIRD_PARTY_PACKAGES; do
|
||||
PACKAGES="$PACKAGES ${PKG%/*}"
|
||||
# Handle some special-case naming.
|
||||
case $PKG in
|
||||
e2fsprogs/files)
|
||||
PACKAGES="$PACKAGES e4fsprogs-git"
|
||||
;;
|
||||
ibus-anthy|ibus-chewing|ibus-hangul)
|
||||
# These are difficult to cross-build right now, and we can live
|
||||
# without them temporarily.
|
||||
if [ "$FLAGS_architecture" = i386 ]; then
|
||||
PACKAGES="$PACKAGES ${PKG%/*}"
|
||||
else
|
||||
echo "WARNING: Skipping $PKG on $FLAGS_architecture"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
PACKAGES="$PACKAGES ${PKG%/*}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
verbose chromiumos-build -a "$FLAGS_architecture" --apt-source $PACKAGES
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user