mbox

[v4,0/1] dpkg-base: resolve DL_DIR in do_adjust_git

Message ID 20220209081244.814-1-Cedric_Hombourger@mentor.com
State Accepted, archived
Headers show

Message

Cedric Hombourger Feb. 8, 2022, 10:12 p.m. UTC
Changes since v3:
  The path placed in .git/objects/info/alternates shall be relative,
  we should resolve git symbolic links only when comparing them

v3 changes:
  fix subject line

v2 changes:
  found actual root cause. instead of catching FileExistsError, we
  should instead resolve symbolic links and compare them. In the
  event when they do not match, the previous symbolic link should
  be re-created.

Cedric Hombourger (1):
  dpkg-base: resolve DL_DIR in do_adjust_git

 meta/classes/dpkg-base.bbclass | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Comments

Anton Mikanovich Feb. 21, 2022, 9:25 a.m. UTC | #1
9.02.22 11:12, Cedric Hombourger wrote:
> Changes since v3:
>    The path placed in .git/objects/info/alternates shall be relative,
>    we should resolve git symbolic links only when comparing them
>
> v3 changes:
>    fix subject line
>
> v2 changes:
>    found actual root cause. instead of catching FileExistsError, we
>    should instead resolve symbolic links and compare them. In the
>    event when they do not match, the previous symbolic link should
>    be re-created.
>
> Cedric Hombourger (1):
>    dpkg-base: resolve DL_DIR in do_adjust_git
>
>   meta/classes/dpkg-base.bbclass | 10 +++++++---
>   1 file changed, 7 insertions(+), 3 deletions(-)
>
Applied to next, thanks.