2022-02-05 14:23:32 +00:00
|
|
|
show_config() {
|
|
|
|
# load graphic configuration
|
|
|
|
get_graphicdrivers
|
|
|
|
|
|
|
|
dashes="==========================="
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}${dashes}"
|
2023-04-04 23:14:31 +00:00
|
|
|
config_message="${config_message}\n Configuration for ${DISTRONAME} v${OS_VERSION}"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Build options
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n Buildoptions:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n - CPU (ARCH):\t\t\t\t ${TARGET_CPU} (${TARGET_ARCH})"
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - FLOAT:\t\t\t\t ${TARGET_FLOAT}"
|
|
|
|
config_message="${config_message}\n - FPU:\t\t\t\t\t ${TARGET_FPU}"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n - CPU features:\t\t\t ${TARGET_FEATURES}"
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - LTO (Link Time Optimization) support: $LTO_SUPPORT"
|
|
|
|
config_message="${config_message}\n - GOLD (Google Linker) Support:\t ${GOLD_SUPPORT}"
|
|
|
|
config_message="${config_message}\n - LLVM support:\t\t\t $LLVM_SUPPORT"
|
|
|
|
config_message="${config_message}\n - DEBUG:\t\t\t\t ${DEBUG:-no}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
# config_message="${config_message}\n - CFLAGS:\t ${TARGET_CFLAGS}"
|
|
|
|
# config_message="${config_message}\n - LDFLAGS:\t ${TARGET_LDFLAGS}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
|
2022-07-02 01:39:43 +00:00
|
|
|
# Graphic configuration
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-07-02 01:39:43 +00:00
|
|
|
config_message+="\n\n Graphic configuration:"
|
|
|
|
config_message+="\n ${dashes}${dashes}"
|
|
|
|
config_message+="\n - Graphic Drivers:\t\t\t ${GRAPHIC_DRIVERS}"
|
|
|
|
config_message+="\n - Display Server:\t\t\t ${DISPLAYSERVER}"
|
|
|
|
if [ "${DISPLAYSERVER}" = "x11" ] ; then
|
|
|
|
for drv in ${XORG_DRIVERS}; do
|
|
|
|
XORG_DRIVERS_CONFIG+="xf86-video-${drv} "
|
|
|
|
done
|
|
|
|
config_message+="\n - X.Org Graphic Drivers:\t\t ${XORG_DRIVERS_CONFIG}"
|
|
|
|
config_message+="\n - X.Org Composite support:\t\t ${COMPOSITE_SUPPORT}"
|
|
|
|
fi
|
|
|
|
config_message+="\n - Window Manager / Compositor:\t\t ${WINDOWMANAGER}"
|
|
|
|
config_message+="\n - OpenGL (GLX) support (provider):\t ${OPENGL_SUPPORT} (${OPENGL})"
|
|
|
|
config_message+="\n - OpenGL ES support (provider):\t ${OPENGLES_SUPPORT} (${OPENGLES})"
|
|
|
|
config_message+="\n - Vulkan API support (provider):\t ${VULKAN_SUPPORT} (${VULKAN})"
|
|
|
|
if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
|
|
|
config_message+="\n - Vulkan Graphic Drivers:\t\t ${VULKAN_DRIVERS_CONFIG}"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
|
|
|
|
2022-07-02 01:39:43 +00:00
|
|
|
# Video Acceleration configuration
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-07-02 01:39:43 +00:00
|
|
|
config_message+="\n\n Video Acceleration configuration:"
|
|
|
|
config_message+="\n ${dashes}${dashes}"
|
|
|
|
config_message+="\n - VA-API Support:\t\t\t ${VAAPI_SUPPORT}"
|
|
|
|
config_message+="\n - VDPAU Support:\t\t\t ${VDPAU_SUPPORT}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Input device configuration
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n Input device configuration:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# Misc. hardware configuration
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n Misc. hardware configuration:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-08-11 22:17:56 +00:00
|
|
|
config_message="${config_message}\n - Pipewire support:\t\t\t $PIPEWIRE_SUPPORT"
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Bluetooth support:\t\t\t $BLUETOOTH_SUPPORT"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
for config_driver in $ADDITIONAL_DRIVERS; do
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Include driver:\t\t\t $config_driver"
|
2022-02-05 14:23:32 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
if [ "$DRIVER_ADDONS_SUPPORT" = "yes" ]; then
|
|
|
|
for config_driver_addons in $DRIVER_ADDONS; do
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Include driver add-ons:\t\t $config_driver_addons"
|
2022-02-05 14:23:32 +00:00
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
|
|
|
for config_firmware in $FIRMWARE; do
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Include firmware:\t\t\t $config_firmware"
|
2022-02-05 14:23:32 +00:00
|
|
|
done
|
|
|
|
|
2023-08-24 09:53:35 +00:00
|
|
|
# Image Filsystem
|
|
|
|
|
|
|
|
config_message+="\n\n Image Filesystems:"
|
|
|
|
config_message+="\n ${dashes}${dashes}"
|
|
|
|
config_message+="\n - Flash Size (MiB): \t\t\t ${SYSTEM_SIZE}"
|
|
|
|
config_message+="\n - Storage Size (MiB): \t\t\t ${STORAGE_SIZE}"
|
|
|
|
config_message+="\n - SquashFS Compression Method: \t ${SQUASHFS_COMPRESSION}"
|
|
|
|
if [ -n "${SQUASHFS_COMPRESSION_OPTION}" ]; then
|
|
|
|
config_message+="\n - SquashFS Compression Options: \t ${SQUASHFS_COMPRESSION_OPTION}"
|
|
|
|
fi
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
# Network service configuration
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n Network service configuration:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Avahi (Zeroconf) support:\t\t $AVAHI_DAEMON"
|
|
|
|
config_message="${config_message}\n - NFS mounting support:\t\t $NFS_SUPPORT"
|
|
|
|
config_message="${config_message}\n - SAMBA mounting support:\t\t $SAMBA_SUPPORT"
|
|
|
|
config_message="${config_message}\n - SAMBA server support:\t\t $SAMBA_SERVER"
|
|
|
|
config_message="${config_message}\n - SFTP server support:\t\t\t $SFTP_SERVER"
|
2023-12-22 13:56:32 +00:00
|
|
|
config_message="${config_message}\n - HTTP server support:\t\t\t $SIMPLE_HTTP_SERVER"
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - OpenVPN support:\t\t\t $OPENVPN_SUPPORT"
|
|
|
|
config_message="${config_message}\n - WireGuard support:\t\t\t $WIREGUARD_SUPPORT"
|
2023-05-09 11:25:30 +00:00
|
|
|
config_message="${config_message}\n - ZeroTier support:\t\t\t $ZEROTIER_SUPPORT"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
# OS configuration
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n OS configuration:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - OEM Support:\t\t\t\t $OEM_SUPPORT"
|
|
|
|
config_message="${config_message}\n - Default ROOT Password:\t\t ${ROOT_PASSWORD}"
|
|
|
|
config_message="${config_message}\n - Bootloader:\t\t\t\t $BOOTLOADER"
|
|
|
|
config_message="${config_message}\n - UDevil support:\t\t\t $UDEVIL"
|
|
|
|
config_message="${config_message}\n - Installer support:\t\t\t ${INSTALLER_SUPPORT}"
|
|
|
|
for config_package in ${ADDITIONAL_PACKAGES}; do
|
|
|
|
config_message="${config_message}\n - Include package:\t\t\t ${config_package}"
|
2022-02-05 14:23:32 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
# Misc. Filesystems
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n Misc. Filesystems:"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Swap Support:\t\t\t $SWAP_SUPPORT"
|
2022-02-05 14:23:32 +00:00
|
|
|
if [ "$SWAP_SUPPORT" = "yes" ]; then
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - Swapfile default size:\t\t $SWAPFILESIZE"
|
2022-02-05 14:23:32 +00:00
|
|
|
fi
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n - exFAT Support (via Fuse):\t\t $EXFAT"
|
|
|
|
config_message="${config_message}\n - NTFS Support (via Fuse):\t\t $NTFS3G"
|
|
|
|
config_message="${config_message}\n - Install HFS Tools:\t\t\t $HFSTOOLS"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
if [ "$(type -t show_distro_config)" = "function" ]; then
|
|
|
|
show_distro_config
|
|
|
|
fi
|
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}${dashes}"
|
2023-03-04 19:15:34 +00:00
|
|
|
config_message="${config_message}\n End Configuration for ${DISTRONAME}"
|
2023-02-27 02:56:16 +00:00
|
|
|
config_message="${config_message}\n ${dashes}${dashes}${dashes}"
|
2023-02-24 13:53:43 +00:00
|
|
|
config_message="${config_message}\n\n\n"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-02-24 13:53:43 +00:00
|
|
|
echo -e "${config_message}"
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|