ajout des recettes et fichiers de configuration du meta
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
#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"
|
||||
|
||||
# rpi specific
|
||||
IMAGE_FSTYPES = "tar.bz2 ext4 ext4.xz rpi-sdimg"
|
||||
SDIMG_ROOTFS_TYPE = "ext4.xz"
|
||||
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"
|
||||
RPI_EXTRA_CONFIG = ' \n \
|
||||
# Yocto Extra config \n \
|
||||
dtoverlay=i2c-rtc,ds3231 \n \
|
||||
'
|
||||
|
||||
# Use systemd
|
||||
DISTRO_FEATURES += " systemd usbhost ipv4 pam"
|
||||
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"
|
||||
|
||||
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"
|
||||
|
||||
# Use extrausers
|
||||
INHERIT += "extrausers"
|
||||
EXTRA_USERS_PARAMS += "usermod -p '\$6\$kineintercom\$PL/XDMsCl7L2Gpb.2WcE9ad8RpoLp9t5jIIs2YGqeCii/UQmRHfJTOIQl3Axx/MmpJnwcetOtJsNSxUqHSx411' root;"
|
||||
@@ -0,0 +1,14 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have a packages directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "kineintercom"
|
||||
BBFILE_PATTERN_kineintercom := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_kineintercom = "10"
|
||||
|
||||
LAYERDEPENDS_kineintercom = "raspberrypi"
|
||||
|
||||
LAYERSERIES_COMPAT_kineintercom = "kirkstone"
|
||||
@@ -0,0 +1,21 @@
|
||||
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||
# changes incompatibly
|
||||
POKY_BBLAYERS_CONF_VERSION = "2"
|
||||
|
||||
BBPATH = "${TOPDIR}"
|
||||
BSPPATH = "${TOPDIR}/.."
|
||||
BBFILES ?= ""
|
||||
|
||||
BBLAYERS ?= " \
|
||||
${BSPPATH}/poky/meta \
|
||||
${BSPPATH}/poky/meta-poky \
|
||||
${BSPPATH}/poky/meta-yocto-bsp \
|
||||
${BSPPATH}/meta-openembedded/meta-oe \
|
||||
${BSPPATH}/meta-openembedded/meta-python \
|
||||
${BSPPATH}/meta-openembedded/meta-networking \
|
||||
${BSPPATH}/meta-openembedded/meta-webserver \
|
||||
${BSPPATH}/meta-openembedded/meta-filesystems \
|
||||
${BSPPATH}/meta-rust \
|
||||
${BSPPATH}/meta-raspberrypi \
|
||||
${BSPPATH}/meta-kineintercom \
|
||||
"
|
||||
Reference in New Issue
Block a user