mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
fix(cros_image_to_target): don't patch_kernel
CoreOS doesn't have a Kernel partition, don't try to run with patch_kernel
This commit is contained in:
parent
4057d5590d
commit
a6df1edaea
@ -216,8 +216,7 @@ class CrosEnv(object):
|
||||
return True
|
||||
|
||||
if not self.cmd.Run(self.ChrootPath('/usr/bin/cros_generate_update_payload'),
|
||||
'--image=%s' % src, '--output=%s' % dst,
|
||||
'--patch_kernel'):
|
||||
'--image=%s' % src, '--output=%s' % dst):
|
||||
self.Error('generate_payload failed')
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user