ADBD_INPUTS in sysdrv/tools/board/android-tools/Makefile hashes the Makefile, adbd-current.sh and the android-tools patch set. The rule also extracts android-tools_4.2.2+git20130218.orig.tar.xz and android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz and builds adbd from them. A change to either tarball, with the three hashed inputs unchanged, matches the stamp, so adbd is not rebuilt and a warm SDK tree keeps a binary built from the old source. This is the failure class of #44.
Found while re-verifying flare-edge#3129 (warden-sdk sp/adbd-tcp-off).
Fix: hash both tarballs into ADBD_INPUTS. Regression tests: luckfox-sdk-patches/tests/test-adbd-no-tcp.sh checks the new formula and that a changed tarball rebuilds adbd; adbd-no-tcp-cases.sh gains a mutant that drops the tarballs and must fail.
`ADBD_INPUTS` in `sysdrv/tools/board/android-tools/Makefile` hashes the Makefile, `adbd-current.sh` and the android-tools patch set. The rule also extracts `android-tools_4.2.2+git20130218.orig.tar.xz` and `android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz` and builds adbd from them. A change to either tarball, with the three hashed inputs unchanged, matches the stamp, so adbd is not rebuilt and a warm SDK tree keeps a binary built from the old source. This is the failure class of #44.
Found while re-verifying flare-edge#3129 (warden-sdk `sp/adbd-tcp-off`).
Fix: hash both tarballs into `ADBD_INPUTS`. Regression tests: `luckfox-sdk-patches/tests/test-adbd-no-tcp.sh` checks the new formula and that a changed tarball rebuilds adbd; `adbd-no-tcp-cases.sh` gains a mutant that drops the tarballs and must fail.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
ADBD_INPUTSinsysdrv/tools/board/android-tools/Makefilehashes the Makefile,adbd-current.shand the android-tools patch set. The rule also extractsandroid-tools_4.2.2+git20130218.orig.tar.xzandandroid-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gzand builds adbd from them. A change to either tarball, with the three hashed inputs unchanged, matches the stamp, so adbd is not rebuilt and a warm SDK tree keeps a binary built from the old source. This is the failure class of #44.Found while re-verifying flare-edge#3129 (warden-sdk
sp/adbd-tcp-off).Fix: hash both tarballs into
ADBD_INPUTS. Regression tests:luckfox-sdk-patches/tests/test-adbd-no-tcp.shchecks the new formula and that a changed tarball rebuilds adbd;adbd-no-tcp-cases.shgains a mutant that drops the tarballs and must fail.