[oe] image generation
G. Eismann
g.eismann at gmx.net
Mon May 11 20:28:33 UTC 2009
On Lunes 11 Mayo 2009 22:09:47 Cliff Brake escribió:
> >
> > When building the image, the release 5 (the last one) of the package is
> > built, but in the "do_package_write_ipk" step there is an error because
> > is looking for the install directory for the release 1.
>
> Can you post your recipe, and we'll take a look?
Finally I have "fixed" it copying the recipe to a new one with a new name; so
I am not sure if the problem has something to do with the recipe.
bitbake was looking for release 1 of the recipe, while the release number is
5.
I dont know why it did only for "do_package_write_ipk" step and not for all of
them.
Anyway, the recipe:
-----
DESCRIPTION = "foo"
SECTION = "base"
LICENSE = "GPL"
PR = "r5"
RDEPENDS = "haserl dash"
SRC_URI = "file://www/* \
file://init/* \
file://config/* \
"
do_install () {
install -d ${D}${localstatedir}/www/
install -d ${D}${sysconfdir}/config/
install -d ${D}${sysconfdir}/init.d/
install -m 0644 ${WORKDIR}/www/*html ${D}${localstatedir}/www/
install -m 0644 ${WORKDIR}/www/*css ${D}${localstatedir}/www/
install -m 0755 ${WORKDIR}/www/*cgi ${D}${localstatedir}/www/
install -m 0644 ${WORKDIR}/config/* ${D}${sysconfdir}/config/
install -m 0755 ${WORKDIR}/init/* ${D}${sysconfdir}/init.d/
for level in S 0 2 3 4 5 6; do
install -d ${D}${sysconfdir}/rc$level.d
done
}
PACKAGE_ARCH = "all"
-----
--
- Eismann -
More information about the Openembedded-devel
mailing list