From 0957a18357db3a254c977d4e37c00fb461286fdf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 21 Mar 2012 23:17:14 -0400 Subject: [PATCH] virtual/linux-sources: rename from virtual/kernel Upstream Gentoo renamed this virtual, so follow suite. BUG=None TEST=`cbuildbot amd64-generic-full` worked TEST=`cbuildbot arm-tegra2-full` worked TEST=`cbuildbot x86-generic-full` worked Change-Id: I2721c85fe83f4ee8a90533eda14813697430e98e Reviewed-on: https://gerrit.chromium.org/gerrit/18781 Reviewed-by: Olof Johansson Reviewed-by: Sonny Rao Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- common.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 2aa93b255e..8429c85484 100644 --- a/common.sh +++ b/common.sh @@ -738,8 +738,10 @@ function emerge_custom_kernel() { # Verify all dependencies of the kernel are installed. This should be a # no-op, but it's good to check in case a developer didn't run - # build_packages. - local kernel=$(portageq-${FLAGS_board} expand_virtual ${root} virtual/kernel) + # build_packages. We need the expand_virtual call to workaround a bug + # in portage where it only installs the virtual pkg. + local kernel=$(portageq-${FLAGS_board} expand_virtual ${root} \ + virtual/linux-sources) sudo -E PKGDIR="${tmp_pkgdir}" $EMERGE_BOARD_CMD --onlydeps \ ${kernel} || die "Cannot emerge kernel dependencies"