[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-maintscript-helper and usrmerge



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.

# ls -ld /lib
lrwxrwxrwx 1 root root 7 Oct  1 10:07 /lib -> usr/lib
...
Preparing to unpack .../firmware-sof-signed_2024.06-1_all.deb ...
Unpacking firmware-sof-signed (2024.06-1) over (2.2.4-1) ...
dpkg: warning: unable to delete old directory '/lib/firmware/intel/sof-tplg': Directory not empty
dpkg: warning: unable to delete old directory '/lib/firmware/intel/sof/intel-signed': Directory not empty
dpkg: warning: unable to delete old directory '/lib/firmware/intel/sof/community': Directory not empty
dpkg: warning: unable to delete old directory '/lib/firmware/intel/sof': Directory not empty
dpkg: warning: unable to delete old directory '/lib/firmware/intel': Directory not empty
dpkg: warning: unable to delete old directory '/lib/firmware': Directory not empty
Setting up firmware-sof-signed (2024.06-1) ...
...
# ls /usr/lib/firmware/intel/ -la
total 72
drwxr-xr-x  6 root root  4096 Oct  1 10:09 .
drwxr-xr-x  3 root root  4096 Oct  1 10:08 ..
drwxr-xr-x  4 root root  4096 Oct  1 10:09 sof
lrwxrwxrwx  1 root root    13 Sep  9 18:55 sof-ace-tplg -> sof-ipc4-tplg
drwxr-xr-x 14 root root  4096 Oct  1 10:09 sof-ipc4
drwxr-xr-x  2 root root  4096 Oct  1 10:09 sof-ipc4-tplg
drwxr-xr-x  2 root root 53248 Oct  1 10:09 sof-tplg


The above looks all expected.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: