mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-12 11:06:17 +00:00
Merge pull request #341 from Obihoernchen/fix/imgutil-apt-failure
Fail imgutil build when apt fails in an Ubuntu image
This commit is contained in:
+2
-1
@@ -797,7 +797,8 @@ class DebHandler(OsHandler):
|
||||
if rc:
|
||||
sys.stderr.write('{0} failed with exit code {1}\n'.format(
|
||||
' '.join(cmd), rc))
|
||||
raise SystemExit(rc)
|
||||
# not SystemExit, run_constrained would turn it into success
|
||||
raise Exception('apt failed in image')
|
||||
|
||||
def prep_root(self, args):
|
||||
mkdirp(os.path.join(self.targpath, 'etc/apt'))
|
||||
|
||||
Reference in New Issue
Block a user