Re: dpkg-maintscript-helper and usrmerge
Thanks Michael
On Tue, Oct 1, 2024, at 7:44 AM, Michael Biebl wrote:
> Am 01.10.24 um 12:17 schrieb Michael Biebl:
>> Am 30.09.24 um 18:53 schrieb Mark Pearson:
>>> The firmware-sof-signed 2024.06 package:
>>> https://packages.debian.org/trixie/firmware-sof-signed
>>>
>>> In particular the sof-ipc4-tplg package that is being converted from a
>>> directory to a symlink.
>>>
>>> The dpkg-maintscript-helper complains about /usr/lib/firmware/intel/
>>> sof-ace-tplg (and it's contents) not being owned by the package -
>>> because they were all previously under /lib.
>>>
>>>> I suspect this is more of a special case, so would like to see a few
>>>> more details.
>>>>
>>>
>>> Holler if you need anything else.
>>
>> I test upgraded firmware-sof-signed from bookworm to trixie. The
>> bookworm chroot was usrmerged.
>>
>
> Ok, I see the problem now.
>
> The issue is, that the path used in dir_to_symlink changed pre and post
> usrmove. I don't think you can express that via a .maintscript file.
>
> The attached debdiff should do.
>
This looks good to me.
Just to confirm with an expert - I also have this MR for the issue:
https://salsa.debian.org/mpearson/firmware-sof/-/merge_requests/7/diffs?commit_id=e25d24fbbb99d8416eef2eb51bf3f1a84ce54fbe
But I think your solution is cleaner - in my limited knowledge/experience.
I'm going ahead and testing it, but if you have any feedback or thoughts let me know.
Many thanks for the help
Mark
Reply to: