Merge lp:~mterry/snapcraft/arch-fixes into lp:~snappy-dev/snapcraft/core
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Michael Terry on 2015-08-04 | ||||
| Approved revision: | 119 | ||||
| Merged at revision: | 117 | ||||
| Proposed branch: | lp:~mterry/snapcraft/arch-fixes | ||||
| Merge into: | lp:~snappy-dev/snapcraft/core | ||||
| Diff against target: |
155 lines (+38/-6) 8 files modified
debian/control (+3/-0) integration-tests/data/assemble/binary1.after (+4/-0) integration-tests/data/assemble/package.yaml.after (+2/-1) integration-tests/data/assemble/snappy/package.yaml (+1/-1) integration-tests/units/jobs.pxu (+4/-0) snapcraft/cmds.py (+4/-0) snapcraft/common.py (+16/-0) snapcraft/yaml.py (+4/-4) |
||||
| To merge this branch: | bzr merge lp:~mterry/snapcraft/arch-fixes | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ricardo Salveti (community) | 2015-07-28 | Approve on 2015-08-04 | |
|
Review via email:
|
|||
Commit Message
Include the multiarch triplet to LD_LIBRARY_PATH and set the 'architecture' key in package.yaml if not present for the user.
Description of the Change
Include the multiarch triplet to LD_LIBRARY_PATH and set the 'architecture' key in package.yaml if not present for the user.
| Michael Terry (mterry) wrote : | # |
| Michael Terry (mterry) wrote : | # |
Address your comments, Ted. Thanks!
| Ricardo Salveti (rsalveti) wrote : | # |
We might need to extend the DEB_BUILD later on if we add support for cross build (since the target arch is different), but this is great for now.
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~mterry/snapcraft/arch-fixes into lp:snapcraft failed. Below is the output from the failed tests.
parts:
cp --preserve=all zzz /tmp/tmprb6m7qg
cp --preserve=all src /tmp/tmpb9baxo9
cp --preserve=all src /tmp/tmpbs3pg_
=======
=======
This session is about 0.00% complete
Estimated duration is 5.70 for automated jobs.
Estimated duration cannot be determined for manual jobs.
Size of the desired job list: 19
Size of the effective execution plan: 19
=======
--------------[ Running job 1 / 19. Estimated time left: 0:00:06 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mCould not find snapcraft.yaml. Are you sure you're in the right directory? To start a new project, use 'snapcraft init'[0m
-------
Outcome: job passed
--------------[ Running job 2 / 19. Estimated time left: 0:00:06 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mPulling make-project[0m [1mBuilding make-project[0m make: Nothing to be done for `all'. cp -a bin /tmp/cwd-
-------
Outcome: job passed
--------------[ Running job 3 / 19. Estimated time left: 0:00:05 ]--------------
-----------------[ snapcraft/
ID: 2015.com.
Category: 2013.com.
... 8< -------
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~mterry/snapcraft/arch-fixes into lp:snapcraft failed. Below is the output from the failed tests.
parts:
cp --preserve=all zzz /tmp/tmpneqmzl0
cp --preserve=all src /tmp/tmp5a40or_
cp --preserve=all src /tmp/tmptuomgmg
=======
=======
This session is about 0.00% complete
Estimated duration is 5.70 for automated jobs.
Estimated duration cannot be determined for manual jobs.
Size of the desired job list: 19
Size of the effective execution plan: 19
=======
--------------[ Running job 1 / 19. Estimated time left: 0:00:06 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mCould not find snapcraft.yaml. Are you sure you're in the right directory? To start a new project, use 'snapcraft init'[0m
-------
Outcome: job passed
--------------[ Running job 2 / 19. Estimated time left: 0:00:06 ]--------------
-------
ID: 2015.com.
Category: 2013.com.
... 8< -------
[1mPulling make-project[0m [1mBuilding make-project[0m make: Nothing to be done for `all'. cp -a bin /tmp/cwd-
-------
Outcome: job passed
--------------[ Running job 3 / 19. Estimated time left: 0:00:05 ]--------------
-----------------[ snapcraft/
ID: 2015.com.
Category: 2013.com.
... 8< -------
- 119. By Michael Terry on 2015-08-04
-
Also add ubuntu-snappy-cli as build-dep


(I dropped the 'ar gs' bit because quotes are not legal characters in a service stop field and we weren't actually generating a snap file in that test. I don't know how you are supposed to pass arguments with spaces. But that's not snapcraft's problem.)