Switch to the FreeBSD built-in lockf instead of the package flock.

main
Tom Alexander 2 weeks ago
parent 06fb8db40a
commit faa9b7bb62
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -38,7 +38,7 @@ function log {
function run_locked {
if [ "${RUN_LOCKED:-}" != "RUN" ]; then
exec env RUN_LOCKED=RUN flock --nonblock $LOCKFILE $0 $@
exec env RUN_LOCKED=RUN lockf -t 0 $LOCKFILE $0 $@
fi
}

@ -82,7 +82,6 @@ sysutils/cpu-microcode
sysutils/ddrescue
sysutils/dsbmd
sysutils/exfat-utils
sysutils/flock
sysutils/fusefs-exfat
sysutils/fusefs-simple-mtpfs
sysutils/fusefs-sshfs

@ -26,7 +26,6 @@
- poudriere
- bash
- rsync
- flock
state: present
- name: Create directories

Loading…
Cancel
Save