From: Tim <tim...@gm...> - 2008-01-31 17:58:15
|
Sure. Here's the bbfile. If I change "sbindir" to "targetdir" a ipk will not be generated. SECTION = "" DEPENDS = "" DESCRIPTION = "" LICENSE = "" SRC_URI = "file://helloworld.tar.gz" targetdir = "/opt" inherit pkgconfig gettext autotools do_compile () { oe_runmake PREFIX=${prefix} DESTDIR=${D} } do_install() { install -d ${D}${sbindir}/ install -m 0755 ${S}/helloworld ${D}${sbindir}/ } FILES_{PN} = "${sbindir}/*" On Thu, Jan 31, 2008 at 9:44 AM, Steve Sakoman <sa...@gm...> wrote: > Could you post exactly what you are attempting? Might make it easier > to see what is going wrong. > > Steve > > > > On Jan 31, 2008 9:34 AM, Tim Tim <tim...@gm...> wrote: > > I'm trying to create a package that will install files to places other > > than ${bindir} or ${sbindir}, but whenever I try to set FILES_{PN} in > > the bb file to something other than those two paths, I get a warning > > such as "NOTE: Not creating empty archive for testpackage-1.0-r0". Is > > setting FILES_{PN} the right way to go about this? Is there something > > else that I need to do to get this to work? > > > > Thanks, > > Tim > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |