mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
cros_mark_as_stable: remove old kernel hack
This is no longer needed due to recent cleanup of the ebuild: http://git.chromium.org/gitweb/?p=chromiumos-overlay.git;a=commit;h=2c58ec2cabfbd2658cc48b2c0cf74e6b5759b483 BUG=11124 TEST=See below. $ export CROS_WORKON_LOCALNAME="kernel" CROS_WORKON_PROJECT="kernel" eval $(grep -E ^"^CROS_WORKON" kernel-9999.ebuild) && echo $CROS_WORKON_PROJECT $CROS_WORKON_LOCALNAME/$CROS_WORKON_SUBDIR kernel "../third_party/kernel/files"/ Change-Id: Ib9b0d89b41753b490a9f1e73095ad106beefffa6 Review URL: http://codereview.chromium.org/6328005
This commit is contained in:
parent
b6d82e8bb7
commit
779babc3b2
@ -361,12 +361,6 @@ class EBuild(object):
|
||||
dir = 'third_party'
|
||||
srcdir = os.path.join(srcroot, dir, subdir)
|
||||
|
||||
# TODO(anush): This hack is only necessary because the kernel ebuild has
|
||||
# 'if' statements, so we can't grab the CROS_WORKON_LOCALNAME properly.
|
||||
# We should clean up the kernel ebuild and remove this hack.
|
||||
if not os.path.isdir(srcdir) and subdir == 'kernel/':
|
||||
srcdir = os.path.join(srcroot, 'third_party/kernel/files')
|
||||
|
||||
if not os.path.isdir(srcdir):
|
||||
Die('Cannot find commit id for %s' % self.ebuild_path)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user