Skip to content

[archiso][licenses] `mkarchiso` failing due to change in `licenses` package version 20240115-1

Description:

Command mkarchiso is failing with error

install: cannot stat '/pkgs/archiso/releng/work/x86_64/airootfs/usr/share/licenses/common/GPL2/license.txt': No such file or directory

Additional info:

  • package version(s): archiso 74-1, licenses 20240115-1

The error appears to be the side effect of the removal of directory /usr/share/licenses/common from licenses package.

Steps to reproduce:

  1. Upgrade licenses package to version 20240115-1
  2. Ensure archiso is at version 74-1
  3. Run sudo mkarchiso -v -w work -o out inside a local copy of /usr/share/archiso/configs/releng
  4. Observe error:
[mkarchiso] INFO: Done! Packages installed successfully.
[mkarchiso] INFO: Creating version files...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Copying /etc/skel/* to user homes...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Creating a list of installed packages on live-enviroment...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Setting up SYSLINUX for BIOS booting from a disk...
[mkarchiso] INFO: Preparing kernel and initramfs for the ISO 9660 file system...
[mkarchiso] INFO: Done!
install: cannot stat '/pkgs/archiso/releng/work/x86_64/airootfs/usr/share/licenses/common/GPL2/license.txt': No such file or directory
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information