mirror of
https://github.com/armbian/build.git
synced 2025-08-13 22:56:57 +02:00
Establish some consistency with extension logging. Some extensions use another format: display_alert "message" "${EXTENSION}" "info" These were *not* adapted to this new schema.
18 lines
730 B
Bash
Executable File
18 lines
730 B
Bash
Executable File
# Enable this extension to include the required dependencies for building.
|
|
# This is automatically enabled if ROOTFS_TYPE is set to nilfs2 in main-config.sh.
|
|
|
|
function extension_prepare_config__add_to_image_nilfs-tools() {
|
|
display_alert "Extension: ${EXTENSION}: Adding extra packages to image" "nilfs-tools" "info"
|
|
add_packages_to_image nilfs-tools
|
|
}
|
|
|
|
function add_host_dependencies__add_nilfs_tools() {
|
|
display_alert "Extension: ${EXTENSION}: Adding packages to host dependencies" "nilfs-tools" "debug"
|
|
EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} nilfs-tools" # @TODO: convert to array later
|
|
}
|
|
|
|
function pre_update_initramfs__add_module_into_initramfs_config() {
|
|
echo "nilfs2" >> "$MOUNT"/etc/initramfs-tools/modules
|
|
return 0
|
|
}
|