Hi! On Mon, 2026-01-19 at 15:52:09 -0600, Mark Hatle wrote: > The set_rootfs function was using the hardcoded ADMINDIR (define). It > should be checking the environment, and then falling back to the define > if not set. > > This matches the behavior in dbdir.c. dpkg_db_new_dir.
I'm not sure I fully understand the problem you are facing that prompted this change. But this does not seem correct, as it's diverging from the documented behavior in the man pages for --root, and it also will make the test suite (which tests the current behavior) fail. Thanks, Guillem

