[gnome-build-meta/valentindavid/pinebook-pro: 12/24] Use u-boot with suspend fixes
- From: Valentin David <valentindavid src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/pinebook-pro: 12/24] Use u-boot with suspend fixes
- Date: Fri, 1 May 2020 22:02:22 +0000 (UTC)
commit b3b8bde993b4c697a208846f7d6096a22519a1c6
Author: Valentin David <valentin david codethink co uk>
Date: Tue Apr 21 12:34:22 2020 +0000
Use u-boot with suspend fixes
elements/boards/pinebook-pro/forbid-suspend.bst | 17 +++++++++++++++++
elements/boards/pinebook-pro/u-boot.bst | 2 +-
2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/elements/boards/pinebook-pro/forbid-suspend.bst b/elements/boards/pinebook-pro/forbid-suspend.bst
new file mode 100644
index 00000000..e906e13e
--- /dev/null
+++ b/elements/boards/pinebook-pro/forbid-suspend.bst
@@ -0,0 +1,17 @@
+kind: manual
+
+build-depends:
+- freedesktop-sdk.bst:components/pkg-config.bst
+- freedesktop-sdk.bst:components/systemd.bst
+
+config:
+ build-commands:
+ - |
+ cat <<EOF >disable-suspend.conf
+ AllowSuspend=false
+ EOF
+
+ install-commands:
+ - |
+ systemdutildir="$(pkg-config --variable systemdutildir systemd)"
+ install -Dm644 -t "%{install-root}${systemdutildir}/sleep.conf.d" disable-suspend.conf
diff --git a/elements/boards/pinebook-pro/u-boot.bst b/elements/boards/pinebook-pro/u-boot.bst
index 103bc6b6..d1b82e7e 100644
--- a/elements/boards/pinebook-pro/u-boot.bst
+++ b/elements/boards/pinebook-pro/u-boot.bst
@@ -3,7 +3,7 @@ kind: manual
sources:
- kind: git_tag
url: https://git.eno.space/pbp-uboot.git
- track: 365495a329c8e92ca4c134562d091df71b75845e
+ track: 3d483332e184deeb44a58c272cc347899ef413fe
build-depends:
- freedesktop-sdk.bst:components/bison.bst
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]