Jianfeng, I understand that. I was able to get the manifest file packed in
the rpm(under /usr/share/) by modifying the spec.
However installing in emulator image still gets "no manifest found" error.
I plan to dig into rpm-installer source code a bit more tomorrow to see how
it tries to find the manifest.

Frankly I am surprised to find out that there are only a handful of
manifest files under /usr/share in the emulator image. I thought every
package would need a manifest file. Is this because most packages are
pre-loaded and part of the platform image?

Thanks.
Meng





On Thu, Mar 20, 2014 at 6:56 PM, Jian-feng Ding <[email protected]>wrote:

> Meng, this 'manifest' is not the manifest for git trees which gbs care
> about.
> It's about the content inside rpm, for SMACK supporting in Tizen runtime.
>
> Please follow the steps that Geoffroy explained to resolve it.
>
> thanks
> - jf.ding
>
> On Thu, Mar 20, 2014 at 04:20:31PM -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.
> > >>
> > >
> > >
>
> > _______________________________________________
> > General mailing list
> > [email protected]
> > https://lists.tizen.org/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to