]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tools: update-hwdb-autosuspend.sh: Point at HEAD, not master branch
authorBrian Norris <briannorris@chromium.org>
Wed, 16 Aug 2023 00:19:49 +0000 (17:19 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 16 Aug 2023 01:07:00 +0000 (02:07 +0100)
Many Chromium projects have moved from 'master' to 'main', where
'master' is no longer updated. Point at HEAD instead, which should
always represent the default branch.

I don't actually rerun/regenerate the database, since I don't really run
systemd environments to test that update on.

tools/update-hwdb-autosuspend.sh

index 9f5e6e393ea1eff3e78e1b94e95f5b7622d78813..75aecb731b9b3c783e6a10a82f074b37a7963510 100755 (executable)
@@ -4,7 +4,7 @@ set -eu
 
 cd "${1:?}"
 
-(curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \
+(curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \
     | base64 -d >tools/chromiumos/gen_autosuspend_rules.py
 
 (cat <<EOF