Source: golang-github-foxboron-go-uefi
Version: 0.0~git20250207.69fb7db-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-foxboron-go-uefi could not be built reproducibly.

This was because the packaging removes some files in the target called
"execute_before_dh_auto_test", which is skipped if the tests are not
run. This was resulting in different package contents if the tests
were run or not.

Patch attached that moves these removals to the (unconditionally run)
execute_after_dh_auto_build target.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-02 11:49:44.151425153 -0800
--- b/debian/rules      2025-12-02 11:51:03.980185054 -0800
@@ -10,7 +10,7 @@
        dh $@ --builddirectory=_build --buildsystem=golang
 
 # requires unpackaged github.com/hugelgpuf/vmtest
-execute_before_dh_auto_test:
+execute_after_dh_auto_build:
        rm -fv _build/src/github.com/foxboron/go-uefi/tests/integration_test.go
        rm -fv 
_build/src/github.com/foxboron/go-uefi/tests/tests/enroll_keys/enroll_keys_test.go
        rm -fv 
_build/src/github.com/foxboron/go-uefi/tests/tests/modify_dbx/modify_dbx_test.go

Reply via email to