Marcus Huewe
93df866787
- added new function core.run_external which can be used to execute an external program
...
Basically it's just a wrapper around subprocess.call which raises an ExtRuntimeError
exception if subprocess.call raised an OSError with errno set to ENOENT (unfortunately
the OSError's filename attribute is set to None therefore we cannot print a meaningful
error message (that's why an ExtRuntimeError is raised)).
Replaced all occurrences of subprocess.call with a corresponding run_external call.
2013-03-08 00:56:57 +01:00
d26b3df32f
- handle architecture parsing also right when an emulator is used. Just warn in that case,
...
because we can check for sure if an emulator is configured.
2013-02-11 15:35:15 +01:00
143af44479
- support --target argument for "osc build"
2013-02-06 17:12:52 +01:00
8097a9550d
- fix local build with emulator support.
...
- fix package signing check (skip always for use inside of secure VMs)
2013-02-03 19:08:38 +01:00
f1c55334b3
- add aarch64 build definitions
2013-02-03 13:25:32 +01:00
3af97625d4
- support prefer pkgs for kiwi builds
2012-11-08 09:01:19 +01:00
Alexey Sidorin
22fb12b66f
build.py: bugfix: incorrect determination of hostarch available for build
...
* x86-64 should be able to build for i586 hostarch but it doesn't.
2012-10-17 17:39:22 +04:00
Marcus Huewe
dc134de6d5
- build: fixed indention (use spaces instead of tabs)
2012-09-27 21:43:45 +02:00
Michael Schroeder
ab28b8f492
- fix build result listing for arch
2012-08-13 12:54:38 +02:00
Michael Schroeder
8df38af7e3
support archlinux builds
2012-04-03 16:00:06 +02:00
Stephan Kulow
770a3e6172
don't only calculate repofilename but also filename according to 'binary'
...
attribute - otherwise cache access won't work
2012-02-22 14:12:06 +01:00
Stephan Kulow
b1502a5715
support buildinfos with binary present - and don't die with XML
2012-02-22 13:28:19 +01:00
39b85af5d9
- use hostarch from buildconfig instead of own architecture guessing
2012-02-09 15:13:04 +01:00
475867cc64
- make file system configurable
2012-02-04 17:05:17 +01:00
e0683d074c
- use qemu as fallback when arch is not supported (unable to test it because of broken binfmt misc)
2012-01-12 13:47:31 +01:00
321cbdc9ff
- add armv7l, armv6l and armv5l archs for building
2011-10-09 11:23:00 +02:00
c0618f3ede
- make osc build working on debian arm
2011-09-28 15:32:57 +02:00
Marcus Huewe
2460d8a8f8
- fix for commit b0ddeb909d
2011-04-28 23:55:22 +02:00
Martin Mohring
b0ddeb909d
[osc] allow expansion of %(apihost)s also as part of setting
...
packagecachedir in .oscrc so we can have caches per apihost
2011-04-14 21:54:00 +02:00
Marcus Huewe
400e417a5f
- build.py: remove debug output
2011-03-19 10:47:00 +01:00
Marcus Huewe
35bf60bbf0
- support %(apihost)s in the "build-root" config option
...
apihost is the hostname extracted from currently used apiurl
2011-03-15 18:45:36 +01:00
Marcus Huewe
bb02a34622
- globally catch OSError ENOENT
2011-02-01 18:25:23 +01:00
Juergen Weigert
40af804c17
No such file or directory should not trigger stack trace.
2011-02-01 15:55:43 +01:00
Marcus Huewe
61dd1613a6
Revert "[osc] add cb(pre)ignore capabilities to osc."
...
This reverts commit 68c7b57f66
.
It isn't needed because the corresponding backend part was also reverted
2011-01-30 21:31:58 +01:00
Jan-Simon Möller
e2f440fe95
Add armv7hl (hardfloat ABI) support.
...
Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
2011-01-30 18:28:00 +01:00
Marcus Huewe
fe8febe56e
- fixed #646886 ('"osc build" when iChain is broken trashes local _buildinfo, _buildconfig')
2011-01-20 20:54:38 +01:00
Michal Marek
562c92d0d7
build: Fix for su-wrapper = su -c
...
su-wrapper = su -c has been broken since commit 5376580
. Handle this
case so that people do not have to update their configs.
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-01-02 23:43:51 +01:00
Ludwig Nussel
6cee3c99fa
fix --define
2010-12-22 08:29:08 +01:00
Ludwig Nussel
5376580652
use list instead of string for command
...
now arguments with spaces should also work
2010-12-21 14:12:14 +01:00
Ludwig Nussel
820595bb20
osc build --shell
2010-12-21 14:12:14 +01:00
Jan-Simon Möller
68c7b57f66
[osc] add cb(pre)ignore capabilities to osc.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-09-21 11:29:18 +02:00
Marcus Huewe
5b25135dea
- enable cpio bulk download by default
...
- removed option --cpio-bulk-download
- added new option --disable-cpio-bulk-download (to disable the default cpio
bulk download)
2010-09-07 16:08:05 +02:00
root
c13fd84169
parisc should always build hppa
2010-09-06 10:40:24 +02:00
Martin Mohring
367f72f731
fixed: mips and mipsel cross build, working with QEMU
2010-08-23 07:55:16 +02:00
Marcus Huewe
286adfc927
- fixed "osc build --prefer-pkgs" for kiwi builds
2010-08-19 14:43:20 +02:00
e3828801db
Revert "set release number to zero if not specified via commandline or server otherwise"
...
doing it in build script
This reverts commit 336530b660
.
2010-08-04 17:24:06 +02:00
336530b660
set release number to zero if not specified via commandline or server otherwise
2010-08-04 17:02:25 +02:00
Ludwig Nussel
40503680c1
tweak output about used keys
2010-08-04 15:14:37 +02:00
Danny Kukawka
35536475e7
fixed 'osc buildconfig'
...
Fixed 'osc buildconfig'. Don't ask for package and arch since the
API don't allow to filter for a package or a architecture.
Remove related and useless parameter from get_buildconfig() in
core.py
2010-07-27 13:58:52 +02:00
Marcus Huewe
faad8ca0c1
- fixed import
2010-07-13 12:13:25 +02:00
Marcus Huewe
34174e301e
- removed useless continue
2010-07-13 11:37:01 +02:00
Ludwig Nussel
14d4ece2fb
allow to override apiurl for 'build'
2010-06-30 13:39:59 +02:00
Juergen Weigert
382dd29e03
Make 'trust always' more verbose, so that a user learns how to undo its effect.
...
Removed a few tabs.
2010-06-29 15:32:53 +02:00
Ludwig Nussel
5270e13baf
implicitly trust the project we are building for
2010-06-28 10:55:38 +02:00
Jan Engelhardt
6eea5f188b
Add can_also_build definitions for SPARC
...
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-06-28 09:07:38 +02:00
Ludwig Nussel
377ee28887
add support for --oldpackages
2010-06-25 11:23:44 +02:00
Ludwig Nussel
c303735ab1
implement trusted projects
2010-06-23 14:47:52 +02:00
Jan-Simon Möller
4c35566e03
Add CB(pre)install hooks to osc
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-05-02 19:58:01 +02:00
Ludwig Nussel
70d772e942
save log file of vm builds
2010-04-30 15:58:31 +02:00
Ludwig Nussel
af467cea2d
allow to override vm type on command line
2010-04-30 15:58:31 +02:00