Merge lp:~ycheng-twn/ubuntu-dev-tools/ubuntu-dev-tools into lp:~ubuntu-dev/ubuntu-dev-tools/trunk

Proposed by Yuan-Chen Cheng
Status: Merged
Merged at revision: 1421
Proposed branch: lp:~ycheng-twn/ubuntu-dev-tools/ubuntu-dev-tools
Merge into: lp:~ubuntu-dev/ubuntu-dev-tools/trunk
Diff against target: 13 lines (+3/-0)
1 file modified
mk-sbuild (+3/-0)
To merge this branch: bzr merge lp:~ycheng-twn/ubuntu-dev-tools/ubuntu-dev-tools
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+226943@code.launchpad.net

Description of the change

better message for cross build so that new start have correct sbuild command from the last message of mk-sbuild.

To post a comment you must log in.
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

this patch is tested and works as expected.

1422. By Yuan-Chen Cheng

message fix

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks a lot. Merged.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mk-sbuild'
2--- mk-sbuild 2013-12-20 15:03:55 +0000
3+++ mk-sbuild 2014-07-16 06:46:42 +0000
4@@ -830,6 +830,9 @@
5 echo " To CHANGE the golden image: sudo schroot -c source:${CHROOT_NAME} -u root"
6 echo " To ENTER an image snapshot: schroot -c ${CHROOT_NAME}"
7 echo " To BUILD within a snapshot: sbuild -A -d ${CHROOT_NAME} PACKAGE*.dsc"
8+if [ "$CHROOT_ARCH" != "$TARGET_ARCH" ] ; then
9+ echo " To BUILD for ${TARGET_ARCH}: sbuild -A -d ${CHROOT_NAME} --host ${TARGET_ARCH} PACKAGE*.dsc"
10+fi
11 echo ""
12
13 # vi: set et: