Bug 296497

Summary: license.zip and info.txt in media.1/
Product: [openSUSE] openSUSE 10.3 Reporter: Duncan Mac-Vicar <dmacvicar>
Component: YaST2Assignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aj, coolo, jsuchome, locilka, ro
Version: Alpha 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 300982    
Bug Blocks:    

Description Duncan Mac-Vicar 2007-08-01 15:16:25 UTC
If this files are part of the product, then they should be either at the repository level, or as a Product::licenseToConfirm.

That is, in / + $path or some subdirectory there if the repository is in / + $path of the media. But media.1 is always in the root of the media and it is common to all repositories/products in the media.
Comment 1 Katarina Machalkova 2007-08-06 08:41:50 UTC
Uff, this licensing stuff is a closed book for me :(
Lukas, please check
Comment 2 Lukas Ocilka 2007-08-06 08:53:16 UTC
Product layout is designed and maintained by product/project managers.
Additionally, Add-On-Creator should be changed according such layout changes.
Comment 3 Christoph Thiel 2007-08-09 12:35:09 UTC
What needs to be done here?

Currently, we put licenses.tar.gz (has been renamed!) into / -- this was, what was suggested by several folks in the discussion.
Comment 4 Lukas Ocilka 2007-08-09 12:41:34 UTC
Currently we have

* Installation (Base Product)
    /license.tar.gz file in the root of the media and it should be protected by 
    SHA1 and checked by Linuxrc before installation starts. Linuxrc also copies
    the file to inst-sys.

* Add-Ons
    /license.tar.gz file protected by SHA1 downloaded by package bindings
    (this case will probably need to check the SHA1)
Comment 5 Duncan Mac-Vicar 2007-08-09 21:20:49 UTC
If there are no product related data in media specific directory, then this can be closed.
Comment 6 Ruediger Oertel 2007-08-09 22:28:37 UTC
"this case will probably need to check the SHA1"

I did a little extension on the content file together with snwint
to be able to get more checksums in that file.

now we have:

META SHA1 $SUM $FILENAME
(files based below $DESCRDIR)
KEY SHA1 $SUM $FILENAME
(gpg keys in / to import into rpmdb)

and new:
HASH SHA1 $SUM $FILENAME
(files relative to / without a leading "/")

added licenses.tar.gz to the list of files to be included 
in this last group.
Comment 7 Stanislav Visnovsky 2007-08-17 09:02:54 UTC

*** This bug has been marked as a duplicate of bug 300982 ***
Comment 8 Stanislav Visnovsky 2007-08-17 09:07:08 UTC
Oops, to quick.
Comment 10 Stanislav Visnovsky 2007-08-27 19:51:00 UTC
What about info.txt?
Comment 11 Duncan Mac-Vicar 2007-10-03 16:45:26 UTC
What is info.txt for?
Comment 12 Lukas Ocilka 2007-10-04 06:53:36 UTC
info.txt in inst-sys is an identical copy of README.BETA

That file contains something like:
--- cut ---
This is Beta distribution of openSUSE 12.6
...
     your
         openSUSE Team
--- cut ---
Comment 13 Duncan Mac-Vicar 2007-10-10 12:34:27 UTC
But, is it a media property or a product property.
Comment 14 Lukas Ocilka 2007-10-10 12:37:06 UTC
What's the difference, Duncan?

Coolo, can you help here, please?
Comment 15 Stephan Kulow 2007-10-10 12:47:36 UTC
Not sure there is a clear definition. But I guess info.txt is just a media addon, not part of the product. As a matter of fact I think we never had a product with it. Only media for alphas or betas. But then again, it's very likely we put it on e.g. a cover mount medium to mark the medium as such.
Comment 16 Duncan Mac-Vicar 2007-10-12 12:39:12 UTC
Then we can close this.