sstatesig: add support to dump incremental locked signatures
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 4 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sstatesig: Only dump incremental locked signaturesmeta/ | +8 | 4 replies | |
| 2/3 | sstatesig: add new item checking for locked signature dumpmeta/ | +16 | 0 replies | |
| 3/3 | sstatesig: fix to support unincremental locked signature dumpmeta/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH V3 0/3] sstatesig: add support to dump incremental locked signatures
How to test incrementally locked signature dump:
1) Create a new build
2) Dump locked sig file for db
$ bitbake -S none db ... Writing locked sigs to /home/jiahongxu/yocto/build-20140904-yocto/locked-sigs.inc NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. ...
3) Back up locked-sigs.inc
$ cp locked-sigs.inc locked-sigs.inc.bak
4) Dump locked sig file for db again
$ bitbake -S none db ... Writing locked sigs to /home/jiahongxu/yocto/build-20140904-yocto/locked-sigs.inc NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. ...
5) Compare locked-sigs.inc and locked-sigs.inc.bak to verify nothing changed
$ vimdiff locked-sigs.inc locked-sigs.inc.bak
6) Require locked-sigs.inc
vim local.conf
...
require "${TOPDIR}/locked-sigs.inc"
...
7) Incrementally dump locked sig file for world
$ bitbake -S none world ... Writing locked sigs to /home/jiahongxu/yocto/build-20140904-yocto/locked-sigs.inc NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. ...
8) Compare locked-sigs.inc and locked-sigs.inc.bak to verify incrementally dumping
$ vimdiff locked-sigs.inc locked-sigs.inc.bak
9) Back up locked-sigs.inc
$ cp locked-sigs.inc locked-sigs.inc.bak
10) Dump for world again
$ bitbake -S none world ... Writing locked sigs to /home/jiahongxu/yocto/build-20140904-yocto/locked-sigs.inc Nothing added to /home/jiahongxu/yocto/build-20140904-yocto/locked-sigs.inc NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be rerun and all succeeded. ...
11) Compare locked-sigs.inc and locked-sigs.inc.bak to verify nothing changed
$ vimdiff locked-sigs.inc locked-sigs.inc.bak
//Hongxu
The following changes since commit 280b6d0011f101e7a8edabd34c265b37a2f791ed:
sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586 (2014-09-17 22:00:26 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/locked-sstate
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/locked-sstate
Hongxu Jia (3):
sstatesig: Only dump incremental locked signatures
sstatesig: add new item checking for locked signature dump
sstatesig: fix to support unincremental locked signature dump
meta/lib/oe/sstatesig.py | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-)
Signature · 1 line
1.9.1