Skip to content

RFC source control tracking for linux/uboot

Charles Hardin buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3support/download: add a helper scipt to generate scmversionspackage/pkg-download.mk support/download/dl-wrapper support/download/git +3 more+97 -20 replies
1/3support/download: add a helper scipt to generate scmversionspackage/pkg-download.mk support/download/dl-wrapper support/download/git +3 more+97 -21 reply
2/3boot/uboot: add a scmversion rsync hook when overriding srcdirboot/uboot/uboot.mk+12 -00 replies
2/3boot/uboot: add a scmversion rsync hook when overriding srcdirboot/uboot/uboot.mk+12 -01 reply
3/3linux: add a scmversion rsync hook when overriding srcdirlinux/linux.mk+12 -00 replies
3/3linux: add a scmversion rsync hook when overriding srcdirlinux/linux.mk+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/3] RFC source control tracking for linux/uboot

Adding source control tracking into the linux and uboot packages specifically.

The generic problem is that buildroot needs to make reproducible tarballs for verification which means the ".git" directories have to exlcuded from the archive since they can change even thought the contents from the git reference has not changed.

This leads to the problem that common setlocalversion script will not work in the build because after the extract there is no access to the history information given the reasons above.

To mitigate this problem and allow change control tracking for local development and remote references a somewhat intruisive change needs to be introduced at the download step for the archive to add an scmversion during the creation when both the revision history in the source tree exists and the archive is being created.

Charles Hardin (3):
support/download: add a helper scipt to generate scmversions boot/uboot: add a scmversion rsync hook when overriding srcdir
linux: add a scmversion rsync hook when overriding srcdir

 boot/uboot/uboot.mk         | 12 +++++++
 linux/linux.mk              | 12 +++++++
 package/pkg-download.mk     |  1 +
 support/download/dl-wrapper |  5 +--
 support/download/git        | 10 ++++++
 support/download/hg         | 10 ++++++
 support/download/scmversion | 63 +++++++++++++++++++++++++++++++++++++
 support/download/svn        | 10 ++++++
 8 files changed, 121 insertions(+), 2 deletions(-)
 create mode 100755 support/download/scmversion
Signature · 6 lines
2.24.3 (Apple Git-128)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot