summaryrefslogtreecommitdiffstats
path: root/tools/update-hwdb-autosuspend.sh
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2023-08-16 02:19:49 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-08-16 03:07:00 +0200
commitbd2f6a568d4ec33880e175a4508cb9fdde467358 (patch)
tree045140af18075f491c6dd96feb57431cf866309c /tools/update-hwdb-autosuspend.sh
parentMerge pull request #28839 from DaanDeMeyer/repart-followups (diff)
downloadsystemd-bd2f6a568d4ec33880e175a4508cb9fdde467358.tar.xz
systemd-bd2f6a568d4ec33880e175a4508cb9fdde467358.zip
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.
Diffstat (limited to 'tools/update-hwdb-autosuspend.sh')
-rwxr-xr-xtools/update-hwdb-autosuspend.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update-hwdb-autosuspend.sh b/tools/update-hwdb-autosuspend.sh
index 9f5e6e393e..75aecb731b 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 <<EOF