armbian_build/extensions/fs-xfs-support.sh
ColorfulRhino cc59d8af9e extensions: Add "Extension: ${EXTENSION}: " prefix to some extension logs
Establish some consistency with extension logging. Some extensions use another format:
display_alert "message" "${EXTENSION}" "info"

These were *not* adapted to this new schema.
2024-07-18 12:30:11 +02:00

14 lines
645 B
Bash

# `xfs` support is no longer included by default in prepare-host.sh.
# Enable this extension to include the required dependencies for building.
# This is automatically enabled if ROOTFS_TYPE is set to xfs in main-config.sh.
function extension_prepare_config__add_to_image_xfsprogs() {
display_alert "Extension: ${EXTENSION}: Adding extra packages to image" "xfsprogs" "info"
add_packages_to_image xfsprogs
}
function add_host_dependencies__add_xfs_tooling() {
display_alert "Extension: ${EXTENSION}: Adding packages to host dependencies" "xfsprogs" "debug"
EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} xfsprogs" # @TODO: convert to array later
}