mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 17:16:23 +01:00
- justify comments from Jan-Simon, reflecting that the former behaviour
was a bug actually. Only packages from buildinfo must be available in repos. - add news entry about fixed image building
This commit is contained in:
parent
95a935b1dc
commit
e46cba2084
1
NEWS
1
NEWS
@ -33,6 +33,7 @@
|
||||
* -a|--arch to specify a architexure(s)
|
||||
* --xml for xml output (makes results_meta obsolete)
|
||||
- request list -M shows open SRs created by the user.
|
||||
- Fixed build support for images, only refered packages from buildinfo get used. (#485047)
|
||||
|
||||
0.117:
|
||||
- support checkout of single package via "osc co PACKAGE" when local dir is project
|
||||
|
13
osc/build.py
13
osc/build.py
@ -419,8 +419,7 @@ def main(opts, argv):
|
||||
# now update the package cache
|
||||
fetcher.run(bi)
|
||||
|
||||
# its bad linking the complete packagecache as createrepo will run over _all_
|
||||
# so lets just link the needed packages
|
||||
# Make packages from buildinfo available as repos for kiwi
|
||||
if build_type == 'kiwi':
|
||||
if not os.path.exists('repos'):
|
||||
os.mkdir('repos')
|
||||
@ -447,16 +446,6 @@ def main(opts, argv):
|
||||
os.makedirs(os.path.join(pradir))
|
||||
if not os.path.exists(tffn):
|
||||
os.symlink(sffn, tffn)
|
||||
## or - linking complete arch dirs instead of single files
|
||||
#if not os.path.exists(os.path.join(prdir)):
|
||||
# os.makedirs(os.path.join(prdir))
|
||||
## source dir
|
||||
#sdir = config['packagecachedir']+"/"+pdir+"/"+rdir+"/"+adir
|
||||
#if not os.path.exists(pradir):
|
||||
# os.symlink(sdir, pradir)
|
||||
## old
|
||||
#if build_type == 'kiwi' and not os.path.exists('repos'):
|
||||
# os.symlink(config['packagecachedir'], 'repos')
|
||||
|
||||
if bi.pacsuffix == 'rpm':
|
||||
"""don't know how to verify .deb packages. They are verified on install
|
||||
|
Loading…
Reference in New Issue
Block a user