]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tools: Pass source directory to autosuspend-update.sh
authorBenjamin Berg <bberg@redhat.com>
Tue, 19 Jan 2021 13:51:44 +0000 (14:51 +0100)
committerBenjamin Berg <bberg@redhat.com>
Tue, 19 Jan 2021 14:05:27 +0000 (15:05 +0100)
This makes sense so that we can extend the script to also update other
files.

hwdb.d/meson.build
tools/autosuspend-update.sh

index f26e1f8576236bcc8bfc3f9b1ed6b4d923020fed..ec7060a7a173987853e17fd1fdb2ae4ab1e0e67d 100644 (file)
@@ -70,4 +70,4 @@ run_target(
 
 run_target(
         'autosuspend-update',
-        command : [autosuspend_update_sh, project_source_root + '/tools/chromiumos'])
+        command : [autosuspend_update_sh, project_source_root])
index 0e93eab720a83f20dcbb43f7fce4646ed1b5b393..ce945f84f67fcc4497a1d12ce0e4b4d0c72e7b9d 100755 (executable)
@@ -4,4 +4,4 @@ set -eu
 cd "$1"
 
 (curl --fail -L 'https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py?format=TEXT'; echo) \
-    | base64 -d > gen_autosuspend_rules.py
+    | base64 -d > tools/chromiumos/gen_autosuspend_rules.py
\ No newline at end of file