From: Brian Norris Date: Wed, 16 Aug 2023 00:19:49 +0000 (-0700) Subject: tools: update-hwdb-autosuspend.sh: Point at HEAD, not master branch X-Git-Tag: v255-rc1~717 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd2f6a568d4ec33880e175a4508cb9fdde467358;p=thirdparty%2Fsystemd.git tools: update-hwdb-autosuspend.sh: Point at HEAD, not master branch 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. --- diff --git a/tools/update-hwdb-autosuspend.sh b/tools/update-hwdb-autosuspend.sh index 9f5e6e393ea..75aecb731b9 100755 --- a/tools/update-hwdb-autosuspend.sh +++ b/tools/update-hwdb-autosuspend.sh @@ -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 <