You are not logged in.

#1 2019-06-17 23:00:12

sdh
Member
Registered: 2013-03-17
Posts: 24

Skip building packages using makechrootpkg if already built

makepkg stops building a package if it finds a pre-built package of the same version in PKGDEST. This is especially useful for vcs packages as I can run makepkg regularly and only get builds if there are new commits.

However, makechrootpkg does not seem to exhibit this behavior. Reading the script, I found that makechrootpkg's internal PKGDEST is defined separately as /pkgdest and later packages are copied to externally defined  PKGDEST. I could get the above desired behavior by changing the internal PKGDEST to /startdir.

Is there an easy way to configure this without modifying the makechrootpkg script itself?

Offline

Board footer

Powered by FluxBB