From a1155dc8f4d98c09eb1fe729c61238728c069394 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 4 May 2024 23:40:10 +0200 Subject: [PATCH] docs/manual: document git backend handling of export-subst attribute Add the changes about export-subst in the git backend, to the migrating section of the manual. Signed-off-by: Yann E. MORIN Cc: Arnout Vandecappelle (Essensium/Mind) [Arnout: slightly extend the message, add sed command to update hash files] Signed-off-by: Arnout Vandecappelle --- docs/manual/migrating.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/manual/migrating.adoc b/docs/manual/migrating.adoc index c0f89cbf07..a6385260a6 100644 --- a/docs/manual/migrating.adoc +++ b/docs/manual/migrating.adoc @@ -123,3 +123,13 @@ LIBFOO_PRE_PATCH_HOOKS += LIBFOO_ARCH_PATCHES Note that no package in Buildroot has architecture-specific patches, and that such patches will most probably not be accepted. + +[[migrating-git-attributes]] +=== Migrating to 2024.05 + +The git download backend now properly expands the `export-subst` +https://git-scm.com/docs/gitattributes[git attribute] when generating +archives. Because of this, the archive version suffix has been updated, +to +-br2+, so the hash files must be updated accordingly. Since +`export-subst` is usually not used, the hash itself usually doesn't change, +so the update can be done with `sed -r -i e 's/-br1/-br2/'`.