Merge ~xnox/maas-images:master into maas-images:master

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 0402535eb52e220e9fe419ac1be4b31f73d10387
Proposed branch: ~xnox/maas-images:master
Merge into: maas-images:master
Diff against target: 12 lines (+1/-1)
1 file modified
bin/maas-cloudimg2ephemeral (+1/-1)
Reviewer Review Type Date Requested Status
maintainers of maas images Pending
Review via email: mp+364247@code.launchpad.net

Commit message

MAAS images are failing to build....

.... as my last patch had a sh syntax error

Mon, 11 Mar 2019 03:45:27 +0000: starting maas-cloudimg2ephemeral -vv --arch=amd64 /tmp/maas-cloudimg2eph2.pQ3m6a/root.img none /tmp/maas-cloudimg2eph2.pQ3m6a/none-kernel /tmp/maas-cloudimg2eph2.pQ3m6a/none-initrd /tmp/maas-cloudimg2eph2.pQ3m6a/manifest
/build/config/maas/bin/maas-cloudimg2ephemeral: line 368: syntax error near unexpected token `;;'
/build/config/maas/bin/maas-cloudimg2ephemeral: line 368: ` ;;'
failed to turn /tmp/maas-cloudimg2eph2.pQ3m6a/root.img to ephemeral

This should fix it.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/bin/maas-cloudimg2ephemeral b/bin/maas-cloudimg2ephemeral
index 9b526c5..aedec14 100755
--- a/bin/maas-cloudimg2ephemeral
+++ b/bin/maas-cloudimg2ephemeral
@@ -364,7 +364,7 @@ apply_updates_chrooted() {
364 precise|trusty|xenial|bionic)364 precise|trusty|xenial|bionic)
365 ;;365 ;;
366 *)366 *)
367 rel_pkgs="${rel_pkgs} cryptsetup-initramfs";;367 rel_pkgs="${rel_pkgs} cryptsetup-initramfs"
368 ;;368 ;;
369 esac369 esac
370370

Subscribers

People subscribed via source and target branches