[gnome-build-meta/valentindavid/varhome: 5/5] Do not use /home but /var/home
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/valentindavid/varhome: 5/5] Do not use /home but /var/home
- Date: Sun, 10 May 2020 12:58:01 +0000 (UTC)
commit 7059ce1a52db995561f9c678b180f4aa7ecd19ca
Author: Valentin David <valentin david codethink co uk>
Date: Mon Apr 27 15:44:03 2020 +0000
Do not use /home but /var/home
Otherwise flatpak'ed Buildstream and flatpak'ed Flatpak Builder do not work.
https://github.com/ostreedev/ostree/issues/2086
elements/vm/ostree-config.bst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/elements/vm/ostree-config.bst b/elements/vm/ostree-config.bst
index 33994bb0..dbeefe99 100644
--- a/elements/vm/ostree-config.bst
+++ b/elements/vm/ostree-config.bst
@@ -13,6 +13,7 @@ build-depends:
runtime-depends:
- freedesktop-sdk.bst:components/systemd.bst
- core-deps/libostree.bst
+- freedesktop-sdk.bst:components/shadow.bst
config:
build-commands:
@@ -36,7 +37,6 @@ config:
- |
mkdir -p "%{install-root}/sysroot"
ln -s sysroot/ostree "%{install-root}/ostree"
- ln -s var/home "%{install-root}/home"
ln -s var/roothome "%{install-root}/root"
ln -s run/media "%{install-root}/media"
@@ -44,3 +44,8 @@ config:
install -Dm644 -t "%{install-root}/usr/lib/tmpfiles.d" ostree.conf
install -Dm644 *.gpg "%{install-root}/etc/pki/ostree/gnome.gpg"
install -Dm644 -t "%{install-root}/etc/ostree/remotes.d" gnome.conf
+
+public:
+ bst:
+ integration-commands:
+ - sed -i 's,HOME=/home,HOME=/var/home,' /etc/default/useradd
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]