[12/13] gerbera: Fix installing config file

Message ID 20261130154031.269150-13-stefan.schantl@ipfire.org
State New
Headers
Series [01/13] libupnp: New package |

Commit Message

Stefan Schantl 30 Nov 2026, 3:18 p.m. UTC
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/rootfiles/packages/gerbera | 3 ++-
 lfs/gerbera                       | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)
  

Comments

Michael Tremer 30 Nov 2026, 4:06 p.m. UTC | #1
Hello Stefan,

> +	cd $(DIR_APP) && mkdir -pv /etc/gerbera

The "cd $(DIR_APP) &&" has no effect for this command and can be left out.

This also should be part of the patch that introduces the installation of the
config file.

-Michael
  

Patch

diff --git a/config/rootfiles/packages/gerbera b/config/rootfiles/packages/gerbera
index 31a0c21cb1..57a209590e 100644
--- a/config/rootfiles/packages/gerbera
+++ b/config/rootfiles/packages/gerbera
@@ -1,4 +1,5 @@ 
-etc/gerbera
+#etc/gerbera
+etc/gerbera/config.xml
 etc/rc.d/init.d/gerbera
 usr/bin/gerbera
 #usr/share/bash-completion/completions/gerbera
diff --git a/lfs/gerbera b/lfs/gerbera
index 50abbde451..e62cce9208 100644
--- a/lfs/gerbera
+++ b/lfs/gerbera
@@ -106,7 +106,9 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
 	cd $(DIR_APP)/build && make install
 
+
 	# Install configuration.
+	cd $(DIR_APP) && mkdir -pv /etc/gerbera
 	install -m 644 $(DIR_SRC)/config/gerbera/config.xml /etc/gerbera
 
 	# Create gerbera home dir.