All of lore.kernel.org
 help / color / mirror / Atom feed
* AUTOREV problems
@ 2012-10-22 11:56 Seth Bollinger
  2012-10-22 12:12 ` Tomas Frydrych
  2012-10-22 12:46 ` Jerrod Peach
  0 siblings, 2 replies; 5+ messages in thread
From: Seth Bollinger @ 2012-10-22 11:56 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1411 bytes --]

Hello All,

I've been having some serious problems trying to get my image to rebuild
recipes when their upstream repositories have changed.  I have SRCREV =
${AUTOREV} in my recipe and in bitbake -e I see these 2 lines:
# SRCREV=${AUTOREV}
SRCREV="AUTOINC"

I've found BB_SRCREV_POLICY and I've set that explicitly to clear, even
though that seems to be the default.  Auto didn't seem to work, even though
it looks like it should from the code.

When I try rebuilding my recipe, it seems to find that everything is cached
and doesn't even attempt the fetch, even though I know the repository has
changed (that's the reason I want to rebuild :)).  I've tried whacking
tmp/cache/*, but that didn't help.  I tried whacking the stamp for
do_fetch.  That didn't help unless I explicitly built using the "fetch"
command, then it at least appeared to fetch.  However, when I tried to
build the image after that, it didn't try to rebuild the recipe that had
just fetched.

The only way I could get it to rebuild was to cleansstate on the recipe and
then rebuild the image.  I assume this isn't the way it should be working.

1.  What is the expected operation of bitbake builds for recipes using
autorev?
2.  How can I get my autorev recipes to rebuild when their repositories
change?
3.  If this is working for everyone else, how can I find what I have
screwed up?  :)

Thanks,

Seth

[-- Attachment #2: Type: text/html, Size: 1823 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* AUTOREV problems
@ 2012-10-21 12:40 Seth Bollinger
  0 siblings, 0 replies; 5+ messages in thread
From: Seth Bollinger @ 2012-10-21 12:40 UTC (permalink / raw)
  To: openembedded-devel

Hello All,

I've been having some serious problems trying to get my image to rebuild
recipes when their upstream repositories have changed.  I have SRCREV =
${AUTOREV} in my recipe and in bitbake -e I see these 2 lines:
# SRCREV=${AUTOREV}
SRCREV="AUTOINC"

I've found BB_SRCREV_POLICY and I've set that explicitly to clear, even
though that seems to be the default.  Auto didn't seem to work, even though
it looks like it should from the code.

When I try rebuilding my recipe, it seems to find that everything is cached
and doesn't even attempt the fetch, even though I know the repository has
changed (that's the reason I want to rebuild :)).  I've tried whacking
tmp/cache/*, but that didn't help.  I tried whacking the stamp for
do_fetch.  That didn't help unless I explicitly built using the "fetch"
command, then it at least appeared to fetch.  However, when I tried to
build the image after that, it didn't try to rebuild the recipe that had
just fetched.

The only way I could get it to rebuild was to cleansstate on the recipe and
then rebuild the image.  I assume this isn't the way it should be working.

1.  What is the expected operation of bitbake builds for recipes using
autorev?
2.  How can I get my autorev recipes to rebuild when their repositories
change?
3.  If this is working for everyone else, how can I find what I have
screwed up?  :)

Thanks,

Seth


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-22 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 11:56 AUTOREV problems Seth Bollinger
2012-10-22 12:12 ` Tomas Frydrych
2012-10-22 12:46 ` Jerrod Peach
2012-10-22 13:15   ` Jerrod Peach
  -- strict thread matches above, loose matches on Subject: below --
2012-10-21 12:40 Seth Bollinger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.