pkgctl build --install apparently needs full path
When using pkgctl build --install
it seems like there is a problem when relative paths are specified:
$ pkgctl build --repo extra \
--install linux-lts/linux-lts-headers-6.1.40-1-x86_64.pkg.tar.zst \
--install linux-lts/linux-lts-6.1.40-1-x86_64.pkg.tar.zst \
--install zfs-utils/zfs-utils-2.1.12-1-x86_64.pkg.tar.zst \
zfs-linux-lts
==> WARNING: installing packages into the chroot may break reproducible builds, use with caution!
==> WARNING: installing packages into the chroot may break reproducible builds, use with caution!
==> Building zfs-linux-lts
-> repo: extra
-> arch: x86_64
-> worker: chris-0
==> Building zfs-linux-lts for [extra] (x86_64)
:: Synchronizing package databases...
core downloading...
extra downloading...
:: Starting full system upgrade...
there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [chris-0]...done
cp: cannot stat 'linux-lts/linux-lts-headers-6.1.40-1-x86_64.pkg.tar.zst': No such file or directory
cp: cannot stat 'zfs-utils/zfs-utils-2.1.12-1-x86_64.pkg.tar.zst': No such file or directory
loading packages...
error: '/root/linux-lts-headers-6.1.40-1-x86_64.pkg.tar.zst': could not find or read package
error: '/root/zfs-utils-2.1.12-1-x86_64.pkg.tar.zst': could not find or read package
rm: cannot remove '/var/lib/archbuild/extra-x86_64/chris-0/root/linux-lts-headers-6.1.40-1-x86_64.pkg.tar.zst': No such file or directory
rm: cannot remove '/var/lib/archbuild/extra-x86_64/chris-0/root/zfs-utils-2.1.12-1-x86_64.pkg.tar.zst': No such file or directory
Edited by Christian Heusel