Skip to content

Commit

Permalink
pmsrv: Do not set hostname
Browse files Browse the repository at this point in the history
This powermanager service sets the hostname but this conflicts
with balenaOS so we remove this settings from the configuration file.

Confirmed it with the customer that disabling this behavior does not
introduce issues for them.

Signed-off-by: Florin Sarbu <florin@balena.io>
  • Loading branch information
floion committed Nov 4, 2024
1 parent 9012b2e commit 60a1a4b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: 1.0.27-r0/pmsrv.json
===================================================================
--- 1.0.27-r0.orig/pmsrv.json
+++ 1.0.27-r0/pmsrv.json
@@ -1,7 +1,7 @@
{
"name": "pmsrv",
"reset_lines": 20,
- "set_hostname": 1,
+ "set_hostname": 0,
"set_default": 1,
"set_time": 0,
"secure_time": 1,
3 changes: 3 additions & 0 deletions layers/meta-balena-5x-owa/recipes-core/pmsrv/pmsrv_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FILESEXTRAPATHS:append := ":${THISDIR}/files"

SRC_URI:append = " file://do_not_set_hostname.patch"

0 comments on commit 60a1a4b

Please sign in to comment.