From 71d08a89a95fef644abc7da635fef8728d422c26 Mon Sep 17 00:00:00 2001
From: Adriaan de Groot <groot@kde.org>
Date: Mon, 10 Jul 2017 11:57:05 -0400
Subject: [PATCH] [unpackfs] fix merge

---
 src/modules/unpackfs/main.py       | 17 +----------------
 src/modules/unpackfs/unpackfs.conf | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/src/modules/unpackfs/main.py b/src/modules/unpackfs/main.py
index c0970ddfef..9eaa5c6228 100644
--- a/src/modules/unpackfs/main.py
+++ b/src/modules/unpackfs/main.py
@@ -263,22 +263,7 @@ class UnpackOperation:
 
 def run():
     """
-    Unsquashes filesystem from given image file.
-
-    from globalstorage: rootMountPoint
-    from job.configuration: the path to where to mount the source image(s) for
-    copying an ordered list of unpack mappings for image file <-> target dir
-    relative to rootMountPoint, e.g.:
-    configuration:
-        unpack:
-            - source: "/path/to/filesystem.img"
-              sourcefs: "ext4"
-              destination: ""
-            - source: "/path/to/another/filesystem.sqfs"
-              sourcefs: "squashfs"
-              destination: ""
-
-    :return:
+    Unsquash filesystem.
     """
     PATH_PROCFS = '/proc/filesystems'
 
diff --git a/src/modules/unpackfs/unpackfs.conf b/src/modules/unpackfs/unpackfs.conf
index 755fc77c5a..ce50d8f299 100644
--- a/src/modules/unpackfs/unpackfs.conf
+++ b/src/modules/unpackfs/unpackfs.conf
@@ -1,5 +1,21 @@
+# Unsquash / unpack a filesystem. Multiple sources are supported, and
+# they may be squashed or plain filesystems.
+#
+# Configuration:
+#
+#   from globalstorage: rootMountPoint
+#   from job.configuration: the path to where to mount the source image(s)
+#       for copying an ordered list of unpack mappings for image file <->
+#       target dir relative to rootMountPoint.
+
 ---
 unpack:
+# Each list item is unpacked, in order, to the target system.
+# Each list item has the following attributes:
+#   source: path relative to the live / intstalling system to the image
+#   sourcefs: ext4 or squashfs (may be others if mount supports is)
+#   destination: path relative to rootMountPoint (so in the target
+#       system) where this filesystem is unpacked.
     -   source: "_root-image_"
         sourcefs: "squashfs"
         destination: ""
-- 
GitLab