Skip to content

Bug 40076: Take refresh_input into account when computing input_files_id

boklm requested to merge boklm/rbm:bug_40076 into main

The refresh_input option forces refreshing an input_file. The option is correctly taken into account when starting a build, but was not when computing input_files_id.

To test the patch I tested computing var/build_id for linux-packages after a mullvadbrowser-alpha build:

$ ./rbm/rbm showconf linux-packages var/build_id --target linux-x86_64 --target linux --target alpha --target browser-all-desktop --target mullvadbrowser
900343

And after changing out/linux-packages/debian/install the id is changing:

$ echo z > out/linux-packages/debian/install
$ ./rbm/rbm showconf linux-packages var/build_id --target linux-x86_64 --target linux --target alpha --target browser-all-desktop --target mullvadbrowser
e0c65e

After applying the patch, the id comes back to the one after a build, and out/linux-packages/debian/install has been restored:

$ ~/rbm/rbm showconf linux-packages var/build_id --target linux-x86_64 --target linux --target alpha --target browser-all-desktop --target mullvadbrowser
900343

#40076 (closed)

Merge request reports

Loading