buildiso fails because of missing packages due to outdated Packages-Mhwd
Possibly related issue #325
This is what I get when running buildiso -p myi3 -k linux510
:
error: target not found: catalyst-utils
error: target not found: linux510-catalyst
error: target not found: linux510-nvidia-340xx
error: target not found: nvidia-340xx-utils
error: target not found: lib32-catalyst-utils
error: target not found: lib32-nvidia-340xx-utils
error: target not found: pangox-compat
error: target not found: catalyst-utils
error: target not found: linux510-catalyst
error: target not found: linux510-nvidia-340xx
error: target not found: nvidia-340xx-utils
error: target not found: lib32-catalyst-utils
error: target not found: lib32-nvidia-340xx-utils
error: target not found: pangox-compat
-> Copying mhwd package cache ...
building file list ... done
sent 17 bytes received 12 bytes 58.00 bytes/sec
total size is 0 speedup is 0.00
==> ERROR: File '/var/lib/manjaro-tools/buildiso/myi3/x86_64/mhwdfs/opt/mhwd/pkg/*pkg.tar*' not found.
==> No packages modified, nothing to do.
==> ERROR: A failure occurred in make_image_mhwd().
Aborting...
--> overlayfs umount: [/var/lib/manjaro-tools/buildiso/myi3/x86_64/mhwdfs]
==> ERROR: File /var/lib/manjaro-tools/buildiso/myi3/x86_64/mhwdfs/opt/mhwd/pkg/'*pkg.tar*' not found.
After digging a bit, I found that buildiso -i
pulls v18.0
profiles, where Packages-Mhwd
contains entries that are no longer in the repos.
See:
https://gitlab.manjaro.org/tools/development-tools/manjaro-tools/-/blob/master/lib/util.sh#L328
https://gitlab.manjaro.org/tools/development-tools/manjaro-tools/-/blob/master/lib/util.sh#L838
Pulling v20.2 profiles manually fixes this issue.