rapidquilt changes symlink to file copy when refreshing patch
Opened this issue · 2 comments
hramrach commented
- add patch adding symlink to series.conf
- sequence with rapidquilt until the patch
- push and refresh patch
Expected: patch still adds symlink
Actual: patch now adds copy of the linked file
mkubecek commented
The primary problem IMHO is that rapidquilt doesn't really understand the syntax and doesn't apply such patch correctly. If you run scripts/sequence-patch.sh --rapid
on current SLE15-SP2 or openSUSE-15.2 branch, you get
> ls -l tools/testing/selftests/powerpc/copyloops/
---------- 1 mike users 50 úno 17 08:53 memcpy_mcsafe_64.S
where the contents of the file created is what was supposed to be the link target:
../../../../../arch/powerpc/lib/memcpy_mcsafe_64.S
(i.e. the path, not the contents of the target file).