mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
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 <olofj@chromium.org> Reviewed-by: Sonny Rao <sonnyrao@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
ca63e041e5
commit
0957a18357
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user