There is no change in the file right now, but the download seems to work
OK.
It's funny that the biggest company in the world cannot provide a
download link in plain text.
run_target(
'hwdb-update',
command : [hwdb_update_sh, meson.current_source_dir()])
+
+run_target(
+ 'autosuspend-update',
+ command : [autosuspend_update_sh, project_source_root + '/tools/chromiumos'])
make_man_index_py = find_program('tools/make-man-index.py')
xml_helper_py = find_program('tools/xml_helper.py')
hwdb_update_sh = find_program('tools/meson-hwdb-update.sh')
+autosuspend_update_sh = find_program('tools/meson-autosuspend-update.sh')
subdir('sysctl.d')
subdir('sysusers.d')
--- /dev/null
+#!/bin/sh
+set -eu
+
+cd "$1"
+
+(curl -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \
+ | base64 -d > gen_autosuspend_rules.py