Files
meta-kineintercom/conf/distro/kineintercom.conf

67 lines
1.9 KiB
Plaintext

#PACKAGE_CLASSES ?= "package_deb"
DISTRO_VERSION = "1.0.0"
DISTRO_NAME = "KineIntercom Distro"
SDK_VENDOR = "-benserv"
SDK_VERSION = "${DISTRO_VERSION}"
MAINTENER = "vincent.benoit@benserv.fr"
# Image Rootfs type and size
IMAGE_FSTYPES = "tar.bz2 ext4 ext4.xz rpi-sdimg"
SDIMG_ROOTFS_TYPE = "ext4.xz"
# define a multiplier that the build system apllies to
# the initial image size (4Go freespace)
#IMAGE_OVERHEAD_FACTOR = "2"
IMAGE_ROOTFS_EXTRA_SPACE = "4194304"
# rpi specific
DISABLE_OVERSCAN = "1"
BOOT_DELAY = "0"
BOOT_DELAY_MS = "0"
DISABLE_RPI_BOOT_LOGO = "1"
DISABLE_SPLASH = "1"
ENABLE_I2C = "1"
ENABLE_UART = "1"
KERNEL_MODULE_AUTOLOAD:rpi += "i2c-dev i2c-bcm2708 rtc-ds1307"
CMDLINE_SERIAL = "console=tty1"
RPI_EXTRA_CONFIG = ' \n \
# Yocto Extra config \n \
dtoverlay=i2c-rtc,ds3231 \n \
'
# mask systemd-serialgetty parsed attribute SERIAL_CONSOLES
SERIAL_CONSOLES = ""
# Use systemd
DISTRO_FEATURES += " systemd usbhost ipv4 pam format"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL_RUNTIME_login_manager = "shadow-base"
VIRTUAL_RUNTIME_syslog = "rsyslog"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
IMAGE_FEATURES += " package-management ssh-server-openssh"
MACHINE_FEATURES = "rtc"
#KERNEL_MODULE_AUTOLOAD += " i2c-dev"
# set /var/log persistent
VOLATILE_LOG_DIR = "no"
PREFERRED_VERSION_cargo = "1.64.0"
PREFERRED_VERSION_libstd-rs = "1.64.0"
PREFERRED_VERSION_rust = "1.64.0"
PREFERRED_VERSION_rust-cross = "1.64.0"
PREFERRED_VERSION_rust-llvm = "1.64.0"
PREFERRED_VERSION_rust-native = "1.64.0"
PREFERRED_VERSION_rust-source = "1.64.0"
PREFERRED_VERSION_rust-snapshot = "1.64.0"
INHERIT += "rm_work"
RM_WORK_EXCLUDE += "configurateur-frontend python3-jsonschema"
# Use extrausers
INHERIT += "extrausers"
EXTRA_USERS_PARAMS += "usermod -p '\$6\$kineintercom\$PL/XDMsCl7L2Gpb.2WcE9ad8RpoLp9t5jIIs2YGqeCii/UQmRHfJTOIQl3Axx/MmpJnwcetOtJsNSxUqHSx411' root;"