Move common recipes to meta-diya, this layer contains hardware specific recipce
This commit is contained in:
@ -1,40 +0,0 @@
|
||||
#webrtc-audio-processing \
|
||||
pulseaudio \
|
||||
pulseaudio-server \
|
||||
alsa-utils \
|
||||
pulseaudio-module-alsa-card \
|
||||
pulseaudio-module-alsa-source \
|
||||
pulseaudio-module-alsa-sink \
|
||||
pulseaudio-module-cli \
|
||||
pulseaudio-module-echo-cancel \
|
||||
pulseaudio-misc \
|
||||
i2c-tools \
|
||||
mpg123
|
||||
libsdl2-mixer \
|
||||
#tslib
|
||||
#tslib-tests
|
||||
#tslib-calibrate
|
||||
#tslib-uinput
|
||||
|
||||
libsdl2 \
|
||||
libsdl2-ttf \
|
||||
libsdl2-image \
|
||||
libsdl2-mixer \
|
||||
libsdl2-net \
|
||||
# v4l-utils
|
||||
evtest
|
||||
|
||||
# openvt -v -c 5 -- /usr/bin/weston --tty=/dev/tty5
|
||||
|
||||
mesa \
|
||||
mesa-demos \
|
||||
libgbm \
|
||||
|
||||
|
||||
dtdebug=1
|
||||
dtoverlay=vc4-kms-v3d
|
||||
dtoverlay=vc4-kms-dpi-generic,hactive=480,hfp=26,hsync=16,hbp=10
|
||||
dtparam=vactive=640,vfp=25,vsync=10,vbp=16
|
||||
dtparam=clock-frequency=32000000,rgb666-padhi
|
||||
|
||||
Diyas symbolise goodness and purity, and lighting them denotes dispelling darkness and going into light.
|
@ -1,50 +0,0 @@
|
||||
inherit extrausers
|
||||
|
||||
EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE diya; \
|
||||
usermod -a -G video diya; \
|
||||
usermod -a -G tty diya; \
|
||||
usermod -a -G input diya; \
|
||||
usermod -a -G dialout diya; \
|
||||
usermod -a -G audio diya; \
|
||||
usermod -a -G sudo diya; \
|
||||
"
|
||||
IMAGE_BOOT_FILES:append = "fs_resize config.txt recovery-${MACHINE}.cpio.gz Image boot.scr ${KERNEL_DEVICETREE} allwinner/overlay/sun50i-h616-fixup.scr "
|
||||
|
||||
IMAGE_INSTALL:append = "kernel-modules \
|
||||
uwe5622-firmware \
|
||||
e2fsprogs \
|
||||
libcurl \
|
||||
libdrm \
|
||||
libgbm \
|
||||
libgles2 \
|
||||
libegl-mesa \
|
||||
libglapi \
|
||||
libudev \
|
||||
libinput \
|
||||
diya-overlay \
|
||||
seatd \
|
||||
libxkbcommon \
|
||||
xkeyboard-config \
|
||||
udev \
|
||||
glew \
|
||||
mesa \
|
||||
sudo \
|
||||
htop \
|
||||
i2c-tools \
|
||||
bash \
|
||||
nano \
|
||||
wpa-supplicant \
|
||||
evtest \
|
||||
rsync \
|
||||
coreutils \
|
||||
glmark2 \
|
||||
"
|
||||
|
||||
# TOOLCHAIN_HOST_TASK:append = " libxkbcommon "
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "image_patch;"
|
||||
|
||||
image_patch () {
|
||||
# delete unused kernel image
|
||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
DISTRO_FEATURES:append = " wayland "
|
||||
|
||||
require base-image.inc
|
||||
|
||||
EXTRA_USERS_PARAMS:append = "usermod -a -G avahi diya"
|
||||
IMAGE_INSTALL:append = "pango \
|
||||
seatd \
|
||||
pixman \
|
||||
cairo \
|
||||
glib-2.0 \
|
||||
freetype \
|
||||
fontconfig \
|
||||
librsvg librsvg-gtk \
|
||||
gdk-pixbuf \
|
||||
gtk4 \
|
||||
gtk4-layer-shell \
|
||||
gobject-introspection \
|
||||
wayland wayland-protocols \
|
||||
foot swaybg swayidle swaylock tofi wtype \
|
||||
mc \
|
||||
gdbserver gdb \
|
||||
labwc \
|
||||
wlr-randr \
|
||||
"
|
||||
PACKAGE_EXCLUDE = " gtk+ gtk+3 adwaita-icon-theme "
|
||||
IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme "
|
||||
# wlr-randr l3afpad wlopm cairo-egl
|
@ -1,2 +1,2 @@
|
||||
DISTRO_FEATURES:remove = " wayland gobject-introspection-data "
|
||||
require base-image.inc
|
||||
IMAGE_BOOT_FILES:append = " boot.scr ${KERNEL_DEVICETREE} allwinner/overlay/sun50i-h616-fixup.scr "
|
||||
IMAGE_INSTALL:append = " uwe5622-firmware "
|
@ -1,53 +0,0 @@
|
||||
|
||||
DESCRIPTION = "Recovery initramfs image."
|
||||
|
||||
|
||||
PACKAGE_INSTALL = "recovery-boot \
|
||||
dosfstools \
|
||||
e2fsprogs \
|
||||
util-linux-fsck \
|
||||
kernel-modules \
|
||||
busybox \
|
||||
sysvinit \
|
||||
sysvinit-inittab \
|
||||
${VIRTUAL-RUNTIME_base-utils} \
|
||||
udev \
|
||||
initscripts \
|
||||
base-passwd \
|
||||
${ROOTFS_BOOTSTRAP_INSTALL}"
|
||||
|
||||
# Do not pollute the initrd image with rootfs features
|
||||
IMAGE_FEATURES = ""
|
||||
|
||||
export IMAGE_BASENAME = "${MLPREFIX}recovery"
|
||||
IMAGE_NAME_SUFFIX ?= ""
|
||||
IMAGE_LINGUAS = ""
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
||||
inherit core-image extrausers
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
|
||||
EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE root "
|
||||
|
||||
# Use the same restriction as initramfs-module-install
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "image_patch;"
|
||||
|
||||
image_patch () {
|
||||
# delete unused image
|
||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||
# create /etc/fstab
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/fstab
|
||||
/dev/mmcblk1p1 /boot auto defaults 0 0
|
||||
/dev/mmcblk1p4 /home auto defaults 0 0
|
||||
|
||||
EOF
|
||||
cat << EOF > ${IMAGE_ROOTFS}/etc/hostname
|
||||
diya-recovery
|
||||
EOF
|
||||
}
|
Reference in New Issue
Block a user