Skip to content

Instantly share code, notes, and snippets.

@CarbonChauvinist
Created March 8, 2018 20:11
Show Gist options
  • Save CarbonChauvinist/b4dda72e6995a9beec95758757ca86e3 to your computer and use it in GitHub Desktop.
Save CarbonChauvinist/b4dda72e6995a9beec95758757ca86e3 to your computer and use it in GitHub Desktop.
bisect-per-loqs
git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/systemd"
cp -r packages/trunk/ systemd
cd systemd
makepkg -rsi # build and install locally v238 and check it is broken (ensure you have the two signing keys installed)
cd systemd/src/systemd-stable
git checkout v237
cd ../..
makepkg -ersi # build and install locally v237 and check it is not broken
cd systemd/src/systemd-stable
git bisect start
git bisect good v237
git bisect bad 738ab7502afb7663d9aacdd73e79025aa7cd0a9b #the commit id arch is using for v238
Bisecting: 259 revisions left to test after this (roughly 8 steps)
[4cac89bd7c449dad262e4b306b76611b80fb51cc] test: add tests for TemporaryFileSystem=
$ cd ../..
makepkg -ersi #build and install bisected commit and check result
cd systemd/src/systemd-stable
git bisect $RESULT # where result is good or bad
$ cd ../..
makepkg -ersi #build and install bisected commit and check result (repeat last four lines until git bisect has found the commit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment