Hi Meng,

This could be a line that copies the file from the source to the
buildroot in the %prep section (e.g. cp %{SOURCE1001} .) or a similar
command in the %install section. This wiki page has some good info on
that:
https://wiki.tizen.org/wiki/Security/Application_installation_and_Manifest#Adding_manifest_to_the_rpm_package

I haven't played at all with the emulator images for mobile so I don't
know if things work differently there although the way to go about
packaging it the manifest file should be valid for any profile, any
platform.

HTH,
Geoffroy

On Thu, 2014-03-20 at 16:20 -0500, Meng Hu wrote:
> I meant to say "I could NOT find manifest file" in the generated rpm
> file.
> 
> 
> On Thu, Mar 20, 2014 at 4:09 PM, Meng Hu <[email protected]> wrote:
>         Geoggeroy, thahnks for the information. 
>         
>         Manifest file is under %file but not under %install section.
>         In fact, if I move the manifest file, rpm errors our, which
>         suggests that it is being used during packaging phase. I just
>         could see it in the rpm file.
>         
>         
>         I checked rpms on
>         
> http://download.tizen.org/snapshots/tizen/emulator/tizen_20140310.5/repos/mobile/ia32/packages/i686/.
>  
>         
>         Manifest file is not included in these rpms either. How do
>         they get installed?
>         
>         
>         BTW: I am trying to install in a emulator image. Not sure if
>         this matters.
>         
>         
>         Meng
>         
>         
>         
>         On Thu, Mar 20, 2014 at 3:28 PM, VanCutsem, Geoffroy
>         <[email protected]> wrote:
>                 You should check in the spec file (in packaging/) to
>                 see if the manifest file gets installed (%install
>                 section) and is also listed in the %files section (%
>                 manifest %{name}.manifest).
>                 
>                  
>                 
>                 Cheers,
>                 
>                 Geoffroy
>                 
>                  
>                 
>                 From: [email protected]
>                 [mailto:[email protected]] On Behalf Of
>                 Meng Hu
>                 Sent: Thursday, March 20, 2014 8:32 PM
>                 To: [email protected]
>                 Subject: [Tizen General] Missing manifest file in gbs
>                 local build rpm
>                 
>                 
>                  
>                 
>                 Hello
>                 
>                 I used gbs to build one of the native apps from
>                 upstream but the rpm generated won't install on the
>                 device, as rpm-installer complains about missing
>                 <package-name>.manifest in the rpm.
>                 
>                 
>                 I found the manifest is in my source folder but just
>                 didn't packaged into the rpm.
>                 The command I used to build is :
>                 gbs build -A i586 --include-all
>                 
>                 
>                 Any idea how this can be fixed? Thank you!
>                 
>                 
>                 Meng
>                 
>                 
>                 Intel Corporation NV/SA
>                 Kings Square, Veldkant 31
>                 2550 Kontich
>                 RPM (Bruxelles) 0415.497.718. 
>                 Citibank, Brussels, account 570/1031255/09
>                 
>                 This e-mail and any attachments may contain
>                 confidential material for the sole use of the intended
>                 recipient(s). Any review or distribution by others is
>                 strictly prohibited. If you are not the intended
>                 recipient, please contact the sender and delete all
>                 copies.
>                 
>                 
>         
>         
> 
> 

Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient(s). Any review or distribution by others is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender and delete all copies.
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to