refactor + use gtk4-layer-shell 1.1.0
This commit is contained in:
@ -11,6 +11,9 @@ if [ ! -e "$XDG_RUNTIME_DIR" ]; then
|
||||
mkdir -p "$XDG_RUNTIME_DIR"
|
||||
fi
|
||||
export TERM=xterm-256color
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
eval $(dbus-launch --auto-syntax)
|
||||
fi
|
||||
EOF
|
||||
|
||||
cat << EOF >> "${D}${sysconfdir}/profile"
|
||||
|
50
recipes-core/images/base-image.inc
Normal file
50
recipes-core/images/base-image.inc
Normal file
@ -0,0 +1,50 @@
|
||||
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 +0,0 @@
|
||||
core-image-minimal.bbappend
|
27
recipes-core/images/core-image-base.bbappend
Normal file
27
recipes-core/images/core-image-base.bbappend
Normal file
@ -0,0 +1,27 @@
|
||||
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,63 +1,2 @@
|
||||
inherit extrausers
|
||||
|
||||
# usermod -p BJpK8ADNDLsGg root;
|
||||
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 avahi 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 \
|
||||
libcurl \
|
||||
libdrm \
|
||||
libgbm \
|
||||
libgles2 \
|
||||
libegl-mesa \
|
||||
libglapi \
|
||||
libudev \
|
||||
libinput \
|
||||
pango \
|
||||
libxkbcommon \
|
||||
xkeyboard-config \
|
||||
diya-overlay \
|
||||
seatd \
|
||||
pixman \
|
||||
cairo \
|
||||
glib-2.0 \
|
||||
udev \
|
||||
glew \
|
||||
freetype \
|
||||
fontconfig \
|
||||
librsvg librsvg-gtk \
|
||||
gdk-pixbuf \
|
||||
gtk-layer-shell \
|
||||
gobject-introspection \
|
||||
l3afpad \
|
||||
mesa \
|
||||
sudo \
|
||||
htop \
|
||||
i2c-tools \
|
||||
bash \
|
||||
nano \
|
||||
wpa-supplicant \
|
||||
evtest \
|
||||
rsync \
|
||||
coreutils \
|
||||
wayland wayland-protocols \
|
||||
foot swaybg swayidle swaylock wlopm sfwbar tofi wtype \
|
||||
mc \
|
||||
gdbserver \
|
||||
"
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND += "image_patch;"
|
||||
|
||||
image_patch () {
|
||||
# delete unused kernel image
|
||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||
}
|
||||
# labwc wlr-randr
|
||||
DISTRO_FEATURES:remove = " wayland gobject-introspection-data "
|
||||
require base-image.inc
|
||||
|
Reference in New Issue
Block a user