[nls@lap ~]$ buildiso -f -p kde -b stable -k linux515 2022.10.18
fatal: detected dubious ownership in repository at '/home/nls/iso-profiles'
To add an exception for this directory, call:
git config --global --add safe.directory /home/nls/iso-profiles
--> Profile: [kde]
==> Start building [kde]
==> Cleaning up ...
-> Deleting chroot [desktopfs] (x86_64) ...
-> Deleting chroot [rootfs] (x86_64) ...
-> Deleting isoroot [iso] ...
--> Loading Packages: [Packages-Root] ...
==> Prepare [Base installation] (rootfs)
--> mirror: https://manjaro.moson.eu/stable/$repo/$arch
==> Creating install root at /var/lib/manjaro-tools/buildiso/kde/x86_64/rootfs
-> Installing packages to /var/lib/manjaro-tools/buildiso/kde/x86_64/rootfs
:: Synchronizing package databases...
core 163,0 KiB 347 KiB/s 00:00 [######################################################] 100%
extra 1834,1 KiB 1286 KiB/s 00:01 [######################################################] 100%
community 7,4 MiB 4,63 MiB/s 00:02 [######################################################] 100%
multilib 175,4 KiB 2,32 MiB/s 00:00 [######################################################] 100%
error: target not found: manjaro-firmware
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
[nls@lap ~]$
The manjaro -firmware is installed.
I don’t understand the bug report
fatal: detected dubious ownership in repository at '/home/nls/iso-profiles'
To add an exception for this directory, call:
git config --global --add safe.directory /home/nls/iso-profiles
They were likely renamed or removed. As someone who makes spins of manjaro this happens sometimes. It is up to the user to find out what happened and edit the package file in the profile. If you really want the packages that were removed, they were likely moved to the aur. In that case you will have to build them, create a repository, move the packages there, and add the repository to the build profile in a user-repos.conf file.
buildiso is working fine - the problem is copy of the iso-profiles not being up-to-date.
You need to update your iso profiles folder to match what is currently in the repo.
git stage .
git commit -m 'my changes'
git pull
or do a fresh clone
before building an iso ensure your host is fully updated and rebooted - kernel module mismatch may create stale mount running buildiso if you don’t reboot after a kernel update.
Another cause to such error is if the build was abrubtly stopped which have led to stale mount.
Reboot and remove the folder /var/lib/manjaro-tools