meta-somdevices: Created somdevices-minimal.bb image to somdevices configuration.
authorJosep Orga <jorga@somdevices.com>
Tue, 16 Nov 2021 17:33:27 +0000 (18:33 +0100)
committerJosep Orga <jorga@somdevices.com>
Tue, 16 Nov 2021 17:33:27 +0000 (18:33 +0100)
Signed-off-by: Josep Orga <jorga@somdevices.com>
recipes-somdevices/images/somdevices-minimal.bb [new file with mode: 0644]

diff --git a/recipes-somdevices/images/somdevices-minimal.bb b/recipes-somdevices/images/somdevices-minimal.bb
new file mode 100644 (file)
index 0000000..28bcb57
--- /dev/null
@@ -0,0 +1,43 @@
+SUMMARY = "SOMDEVICES minimal image"
+
+LICENSE = "MIT"
+
+inherit core-image
+
+CORE_IMAGE_EXTRA_INSTALL += " \
+       packagegroup-core-boot \
+       python3 \
+       python3-requests \
+       python3-pyserial \
+       python3-websocket-client \
+       python3-spidev \
+       python3-numpy \
+       python3-json \
+       python3-pip \
+       sshd \
+       iw \
+       wpa-supplicant \
+       i2c-tools \
+       ppp \
+       tzdata \
+       bluez5 \
+       iproute2 \
+       can-utils \
+       avahi-utils \
+       avahi-daemon \
+       rng-tools \
+       usb-modeswitch \
+       rsync \
+       wifi-modules-load \
+       network \
+       somdevices-keys \
+       hostapd \
+       util-linux-wall \
+       nano \
+"
+
+IMAGE_FEATURES += " package-management"
+IMAGE_BOOT_FILES += " imx8mm-somdevices.dtb"
+
+inherit extrausers
+EXTRA_USERS_PARAMS = "usermod -p '\$6\$fA/wBANidw0\$NDNi79WYCcvUYINNKcLboslF.StZj6xyY7D3m0A3Ggf7NSbGtPbWWFoklwr3rcb6VyAvL9JmqWU.NtQDc2jt7/' root"