2017-07-10 17:57:05 +02:00
|
|
|
# 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.
|
|
|
|
|
2014-08-19 11:30:59 +02:00
|
|
|
---
|
|
|
|
unpack:
|
2017-07-10 17:57:05 +02:00
|
|
|
# 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.
|
2014-08-19 11:30:59 +02:00
|
|
|
- source: "/path/to/filesystem.img"
|
|
|
|
sourcefs: "ext4"
|
|
|
|
destination: ""
|
|
|
|
- source: "/path/to/another/filesystem.sqfs"
|
|
|
|
sourcefs: "squashfs"
|
|
|
|
destination: ""
|