85 lines
3.3 KiB
Plaintext
85 lines
3.3 KiB
Plaintext
# Define an alternative execution strategy, in this case, the value must be
|
|
execution_strategy: iso_to_tar
|
|
|
|
# Error script command, executed when something went wrong and molecule has
|
|
# to terminate the execution
|
|
# environment variables exported:
|
|
# - CHROOT_DIR: path to chroot directory
|
|
error_script: specs/data/error_script.sh
|
|
|
|
# Outer chroot script command, to be executed outside destination chroot before
|
|
# before entering it (and before inner_chroot_script)
|
|
outer_chroot_script: specs/data/outer_chroot_script.sh
|
|
|
|
# Inner chroot script command, to be executed inside destination chroot before packing it
|
|
inner_chroot_script: specs/data/inner_chroot_script.sh
|
|
|
|
# Inner chroot script command, to be executed inside destination chroot after
|
|
# packages installation and removal
|
|
inner_chroot_script_after: specs/data/inner_chroot_script_after.sh
|
|
|
|
# Outer chroot script command, to be executed outside destination chroot before
|
|
# before entering it (and AFTER inner_chroot_script)
|
|
outer_chroot_script_after: specs/data/outer_chroot_script_after.sh
|
|
|
|
# Pre-tar building script. Hook called before tar file creation
|
|
# Variables exported:
|
|
# CHROOT_DIR = path pointing to the working chroot (the one that gets modified)
|
|
# TAR_PATH = path pointing to the destination tar file
|
|
# TAR_CHECKSUM_PATH = path pointing to the destination tar file checksum (md5)
|
|
pre_tar_script: specs/data/pre_tar_script.sh
|
|
|
|
# Post-tar building script. Hook called after tar file creation
|
|
# Variables exported:
|
|
# CHROOT_DIR = path pointing to the working chroot (the one that gets modified)
|
|
# TAR_PATH = path pointing to the destination tar file
|
|
# TAR_CHECKSUM_PATH = path pointing to the destination tar file checksum (md5)
|
|
post_tar_script: specs/data/post_tar_script.sh
|
|
|
|
# Destination directory for the tar file (MANDATORY)
|
|
destination_tar_directory: specs/out/
|
|
|
|
# Compression method (default is: gz). Supported compression methods: gz, bz2
|
|
compression_method: bz2
|
|
|
|
# Specify an alternative tar file name (tar file name will be automatically
|
|
# produced otherwise)
|
|
# tar_name:
|
|
|
|
# Alternative ISO file mount command (default is: mount -o loop -t iso9660)
|
|
iso_mounter: mount -t iso9660 -o loop,ro
|
|
|
|
# Alternative ISO umounter command (default is: umount)
|
|
iso_umounter: umount -l
|
|
|
|
# Alternative squashfs file mount command (default is: mount -o loop -t squashfs)
|
|
squash_mounter: mount -t squashfs -o loop,ro
|
|
|
|
# Alternative ISO squashfs umount command (default is: umount)
|
|
squash_umounter: umount -l
|
|
|
|
# List of packages that would be removed from chrooted system (comma separated)
|
|
packages_to_remove: app-remove/this, app-remove/that
|
|
|
|
# Custom shell call to packages removal (default is: equo remove)
|
|
custom_packages_remove_cmd: equo remove --debug
|
|
|
|
# List of packages that would be added from chrooted system (comma separated)
|
|
packages_to_add: add-this/pkg, add-that/pkg
|
|
|
|
# Custom shell call to packages add (default is: equo install)
|
|
custom_packages_add_cmd: equo install --debug
|
|
|
|
# Custom command for updating repositories (default is: equo update)
|
|
repositories_update_cmd: equo update --debug
|
|
|
|
# Determine whether repositories update should be run (if packages_to_add is set)
|
|
# (default is: no), values are: yes, no.
|
|
execute_repositories_update: yes
|
|
|
|
# Directories to remove completely (comma separated)
|
|
paths_to_remove: remove/this, and/that
|
|
|
|
# Directories to empty (comma separated)
|
|
paths_to_empty: remove/that, and/this
|