]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
config: Store data in /var/lib/waydroid rather than /home/.waydroid
authorBart Ribbers <bribbers@disroot.org>
Thu, 2 Sep 2021 19:56:48 +0000 (21:56 +0200)
committerErfan Abdi <erfangplus@gmail.com>
Sat, 4 Sep 2021 19:16:45 +0000 (23:46 +0430)
data/configs/config_1
data/configs/config_2
tools/config/__init__.py
tools/helpers/arguments.py

index 02d82a70adf9cea8872d4fda6a1cc88b4f3afabd..97ef00ec6946c953dbe4aa40309d5e18b1b2930f 100644 (file)
@@ -1,6 +1,6 @@
 # Waydroid LXC Config
 
-lxc.rootfs.path = /home/.waydroid/rootfs
+lxc.rootfs.path = /var/lib/waydroid/rootfs
 lxc.utsname = waydroid
 lxc.arch = LXCARCH
 lxc.autodev = 0
@@ -20,6 +20,6 @@ lxc.network.mtu = 1500
 
 lxc.console.path = none
 
-lxc.include = /home/.waydroid/lxc/waydroid/config_nodes
+lxc.include = /var/lib/waydroid/lxc/waydroid/config_nodes
 
 lxc.hook.post-stop = /dev/null
index dd2af685d4065f615c9b5265fa101afbf9c422d0..b397c02ee90fda08e21f163c87a09082df986592 100644 (file)
@@ -1,6 +1,6 @@
 # Waydroid LXC Config
 
-lxc.rootfs.path = /home/.waydroid/rootfs
+lxc.rootfs.path = /var/lib/waydroid/rootfs
 lxc.uts.name = waydroid
 lxc.arch = LXCARCH
 lxc.autodev = 0
@@ -20,6 +20,6 @@ lxc.net.0.mtu = 1500
 
 lxc.console.path = none
 
-lxc.include = /home/.waydroid/lxc/waydroid/config_nodes
+lxc.include = /var/lib/waydroid/lxc/waydroid/config_nodes
 
 lxc.hook.post-stop = /dev/null
index 9af1657eba81b6e0af3a39feec753a322fc18daf..f1bde16eddac1c909999d129734f69c7981f5040 100644 (file)
@@ -38,7 +38,7 @@ session_config_keys = ["user_name",
 # overridden on the commandline)
 defaults = {
     "arch": "arm64",
-    "work": "/home/.waydroid",
+    "work": "/var/lib/waydroid",
     "vendor_type": "MAINLINE",
     "system_datetime": "0",
     "vendor_datetime": "0",
index ec4ef7c0efb1c76a99e24494d6ce3cea52bf3cbc..efb520f95379f61c1445fcd67f1b6775907db77d 100644 (file)
@@ -22,7 +22,7 @@ def arguments_init(subparser):
                                " configs and install images")
     ret.add_argument("-i", "--images_path",
                         help="custom path to waydroid images (default in"
-                             " /home/.waydroid/images)")
+                             " /var/lib/waydroid/images)")
     ret.add_argument("-f", "--force", action="store_true",
                      help="re-initialize configs and images")
     ret.add_argument("-c", "--system_channel",