diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2025-09-27 01:23:20 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2025-09-27 04:08:00 +0000 |
commit | 523fece9d11e5d084c1d20d10d05971f5354d343 (patch) | |
tree | 41f98d218f8326eeb67850a82bb17d9058ec1ef1 /sys/netgraph/ng_device.c | |
parent | 5e395c34402dc3fd5c786168442290a63ff54596 (diff) |
Prior to this commit, pkgbase-stage.lua used a hard-coded PKG_DBDIR
"./pkgdb"; unfortunately this creates a race condition if we start
building disc1.iso and dvd1.iso at the same time
pkg: sqlite error while executing CREATE TABLE licenses [...]
in file pkgdb.c:2330: table licenses already exists
since pkg checks to see if the pkgdb is initialized and initializes
it if not.
Use separate pkgdb-disc1 and pkgdb-dvd directories.
MFC after: 1 minute
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D52755
Diffstat (limited to 'sys/netgraph/ng_device.c')
0 files changed, 0 insertions, 0 deletions