From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Long-term package revision maintenance
Date: Thu, 10 Mar 2016 09:12:14 +0100 [thread overview]
Message-ID: <56E12C5E.6030904@mlbassoc.com> (raw)
I've been running local PR servers for my builds. This works
quite well, as long as I don't touch my build trees.
What's the best way to manage versions long-term? i.e. if I
have a deployed system that I build today, but may not touch
for a long time (years?) and I might not want to keep my build
trees for that long. If I just blow away the build tree, the
next time I build for that target, all of the version info will
be lost. I'd like to be able to pick up where I left off.
It it safe enough to just save .../cache/prserv.sqlite3? or
is there a better way? I tried the bitbake-prserv-tool export
but I'm not sure it does what I want. In particular, I don't
plan on saving the sstate info and will probably just expect
to rebuild from scratch. When I ran the export, I see things
like this:
$ grep bash PR-list.conf
PRAUTO$bash-completion-2.1-r0$ppce500v2$5044c7315caa9edef95defcc20bdf74a = "1"
PRAUTO_bash-completion-2.1-r0_ppce500v2 = "1"
PRAUTO$bash-4.3.30-r0$ppce500v2$03b7364b0d93910fee2eddf1f2c83f4b = "1"
PRAUTO_bash-4.3.30-r0_ppce500v2 = "1"
So, if I import this file into a new build tree, will it properly
track that the next revision of bash should be r2 (assuming that
its signature changes and r1 if it doesn't change)? Is it sufficient
to export the PR list when I'm packing the project up and then import
it back when I need to resume? I really want to be able to keep a
package feed that I can manage over time without having to preserve
the build tree that was used to create it.
Thanks for any advice
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2016-03-10 8:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 8:12 Gary Thomas [this message]
2016-03-10 9:35 ` Long-term package revision maintenance Joshua G Lock
2016-03-10 9:43 ` Gary Thomas
2016-03-10 10:04 ` Joshua G Lock
2016-03-10 10:09 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56E12C5E.6030904@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.