Compare commits

...

11 Commits

Author SHA1 Message Date
DanyLE
958a5aa658 bump session manager to version 0.1.1 2025-07-03 20:19:03 +02:00
DanyLE
797a54d2d9 cleanup + use latest diya-session-manager 2025-07-03 19:28:44 +02:00
DanyLE
ae474d490f Merge branch 'master' of ssh://git.iohub.dev:2222/dany/meta-diya 2025-07-03 19:15:27 +02:00
be8b6c5cf0 using gtk4-layer-shell 1.1.1 2025-07-03 17:54:26 +02:00
ae13e50979 Update recipes-diya/diya-overlay/files/xdg-terminal-exec 2025-07-03 16:06:20 +02:00
e8677f7618 Add recipes-diya/diya-overlay/files/xdg-terminal-exec 2025-07-03 16:04:39 +02:00
DanyLE
2fc68b049d cleanup unused recipes and add libpam 2025-07-02 12:30:28 +02:00
DanyLE
aa120fd4f6 Merge branch 'master' of ssh://git.iohub.dev:2222/dany/meta-diya 2025-06-23 15:53:43 +02:00
DanyLE
5c2c49c639 feat: add webkit gtk 2025-06-23 15:53:35 +02:00
DanyLE
1b87e10297 feat: add libadwaita 1.5.2 2025-06-23 15:48:27 +02:00
DanyLE
70caa69660 correct PATH in overlay scripts 2025-03-29 13:45:23 +01:00
15 changed files with 34 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ INITRAMFS_MAXSIZE="200000"
INHERIT += "rm_work" INHERIT += "rm_work"
EXTRA_IMAGE_FEATURES ?= " ssh-server-dropbear read-only-rootfs " EXTRA_IMAGE_FEATURES ?= " ssh-server-dropbear read-only-rootfs "
DISTRO_FEATURES:append := " opengl " DISTRO_FEATURES:append := " opengl pam "
DISTRO_FEATURES:remove = " x11 vulkan ptest " DISTRO_FEATURES:remove = " x11 vulkan ptest "
TOOLCHAIN_TARGET_TASK:append = " libgles3-mesa-dev " TOOLCHAIN_TARGET_TASK:append = " libgles3-mesa-dev "
# DISTRO_FEATURES:append := " vc4-gfx opengl directfb " # DISTRO_FEATURES:append := " vc4-gfx opengl directfb "

View File

@@ -20,6 +20,7 @@ IMAGE_INSTALL:append = "kernel-modules \
libglapi \ libglapi \
libudev \ libudev \
libinput \ libinput \
libpam \
diya-overlay \ diya-overlay \
seatd \ seatd \
libxkbcommon \ libxkbcommon \

View File

@@ -20,15 +20,15 @@ IMAGE_INSTALL:append = "pango \
gdk-pixbuf \ gdk-pixbuf \
gtk4 \ gtk4 \
gtk4-layer-shell \ gtk4-layer-shell \
libadwaita \
gobject-introspection \ gobject-introspection \
wayland wayland-protocols \ wayland wayland-protocols wlroots \
foot swaybg swayidle swaylock tofi wtype \ foot \
mc \ mc \
gdbserver gdb \ gdbserver gdb \
labwc \
wlr-randr \ wlr-randr \
diya-session-manager \ diya-session-manager \
" "
PACKAGE_EXCLUDE = " gtk+ gtk+3 adwaita-icon-theme " PACKAGE_EXCLUDE = " gtk+ gtk+3 adwaita-icon-theme "
IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme " IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme "
# wlr-randr l3afpad wlopm cairo-egl # wlr-randr l3afpad wlopm cairo-egl webkitgtk

View File

@@ -1,5 +1,6 @@
DESCRIPTION = "Auto configuration deployment from media" DESCRIPTION = "Auto configuration deployment from media"
DEPENDS = "" DEPENDS = ""
RDEPENDS:${PN} = "bash"
LICENSE = "MIT" LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
@@ -7,7 +8,9 @@ SRC_URI += "file://confd \
file://expandfs.sh \ file://expandfs.sh \
file://80_diya \ file://80_diya \
file://fs_resize \ file://fs_resize \
file://boot-to-recovery" file://boot-to-recovery \
file://diya.pam \
file://xdg-terminal-exec"
inherit update-rc.d useradd inherit update-rc.d useradd
@@ -30,7 +33,10 @@ do_install() {
install -m 0755 ${WORKDIR}/expandfs.sh ${D}/sbin/expandfs.sh install -m 0755 ${WORKDIR}/expandfs.sh ${D}/sbin/expandfs.sh
install -m 0755 ${WORKDIR}/boot-to-recovery ${D}/sbin/boot-to-recovery install -m 0755 ${WORKDIR}/boot-to-recovery ${D}/sbin/boot-to-recovery
install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/ install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/
install -d ${D}/etc/pam.d
install -m 0644 ${WORKDIR}/diya.pam ${D}${sysconfdir}/pam.d/diya
install -d ${D}/usr/bin
install -m 0755 ${WORKDIR}/xdg-terminal-exec ${D}/usr/bin
cat << EOF > ${DEPLOY_DIR_IMAGE}/diya-config.txt cat << EOF > ${DEPLOY_DIR_IMAGE}/diya-config.txt
recovery=false recovery=false
recovery_image=recovery-${MACHINE}.cpio.gz recovery_image=recovery-${MACHINE}.cpio.gz

View File

@@ -6,6 +6,7 @@ if [[ $(/usr/bin/id -u) -ne 0 ]]; then
fi fi
. /etc/profile . /etc/profile
PATH=/sbin:/bin:/usr/sbin:/usr/bin
if [ ! -e /boot/diya-config.txt ]; then if [ ! -e /boot/diya-config.txt ]; then
# prepare env for recovery boot # prepare env for recovery boot

View File

@@ -1,9 +1,9 @@
#!/bin/sh #!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC="Auto deployment configuration from media" DESC="Auto deployment configuration from media"
. /etc/profile . /etc/profile
PATH=/sbin:/bin:/usr/sbin:/usr/bin
if [ -z "$DISK" ]; then if [ -z "$DISK" ]; then
DISK="mmcblk0" DISK="mmcblk0"

View File

@@ -0,0 +1,5 @@
#%PAM-1.0
auth include common-auth
account include common-account
session include common-session

View File

@@ -1,5 +1,6 @@
#! /bin/sh #! /bin/sh
. /etc/profile . /etc/profile
PATH=/sbin:/bin:/usr/sbin:/usr/bin
if [ -z "$DISK" ]; then if [ -z "$DISK" ]; then
DISK="mmcblk0" DISK="mmcblk0"

View File

@@ -0,0 +1,2 @@
#! /bin/bash
foot "$@"

View File

@@ -10,7 +10,7 @@ SRC_URI += "git://git.iohub.dev/dany/diya-session-manager.git;protocol=https;bra
file://diya-sessiond" file://diya-sessiond"
SRCREV = "${AUTOREV}" SRCREV = "${AUTOREV}"
PV = "0.1.0+git${SRCPV}" PV = "0.1.1+git${SRCPV}"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
inherit meson pkgconfig inherit meson pkgconfig

View File

@@ -21,4 +21,7 @@ login_session_user = xdg
# login session is successful # login session is successful
# the logged in user will own this session # the logged in user will own this session
user_session_command = diya-session-launch diyac -x diya-shell user_session_command = diya-session-launch diyac -x diya-shell
# PAM service used by the daemon for authentication
pam_service = diya

View File

@@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DESC="Custom configuration" DESC="Custom configuration"
. /etc/profile . /etc/profile
PATH=/sbin:/bin:/usr/sbin:/usr/bin
case "$1" in case "$1" in
start) start)

View File

@@ -1,6 +1,7 @@
#! /bin/sh #! /bin/sh
. /etc/profile . /etc/profile
PATH=/sbin:/bin:/usr/sbin:/usr/bin
if [ -z "$DISK" ]; then if [ -z "$DISK" ]; then
DISK="mmcblk0" DISK="mmcblk0"

View File

@@ -1,4 +1,4 @@
PV = "1.1.0" PV = "1.1.1"
SRCREV = "v1.1.0" SRCREV = "v1.1.1"
INSANE_SKIP:${PN}-dev += "dev-elf" INSANE_SKIP:${PN}-dev += "dev-elf"

View File

@@ -0,0 +1 @@
PACKAGECONFIG:remove = "x11 systemd"