Skip to content
Snippets Groups Projects
Commit 71d08a89 authored by Adriaan de Groot's avatar Adriaan de Groot Committed by Philip
Browse files

[unpackfs] fix merge

parent d6d8e735
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
# 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: ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment