From: Yu Watanabe Date: Tue, 21 Jul 2026 03:19:00 +0000 (+0900) Subject: hwdb: strip the root from filenames when generating hwdb.bin (#43062) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97653d10ffef178b745077418d11f436fb8e5998;p=thirdparty%2Fsystemd.git hwdb: strip the root from filenames when generating hwdb.bin (#43062) The modern hwdb.bin format contains the filenames of the input data that makes up the database. This is useful but in offline builds where --root is used, the filenames are the full build paths including the specified root. This introduces build paths and thus information leakage and non-reproducible data. Solve this by stripping the root prefix off the original path when passing to import_file. --- 97653d10ffef178b745077418d11f436fb8e5998