diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2024-12-09 22:09:44 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-12-09 09:22:17 -0800 |
| commit | 9c8bdaea06160addbfa0b7e452f2d0f2ed7fa381 (patch) | |
| tree | 3eeaffb29637cee698ffe9da0083a5dfe826143c | |
| parent | 18759cae81f33a0c1b12bafd5a9249d0e9cddc4a (diff) | |
| download | meta-openembedded-9c8bdaea06160addbfa0b7e452f2d0f2ed7fa381.tar.gz | |
lxdm: drop debug-tweaks
Remove deprecated DISTRO_TYPE as the debug-tweaks IMAGE_FEATURE has
been removed in oe-core. Use allow-root-login, empty-root-password and
allow-empty-password instead.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb index 4fc916f4b2..a7d79a916c 100644 --- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb +++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
| 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ | 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ |
| 6 | file://lxdm.conf \ | 6 | file://lxdm.conf \ |
| 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ | 7 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ |
| 8 | ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ | 8 | ${@bb.utils.contains("IMAGE_FEATURES", "allow-root-login", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ |
| 9 | file://0002-let-autotools-create-lxdm.conf.patch \ | 9 | file://0002-let-autotools-create-lxdm.conf.patch \ |
| 10 | file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ | 10 | file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ |
| 11 | file://0004-fix-css-under-gtk-3.20.patch \ | 11 | file://0004-fix-css-under-gtk-3.20.patch \ |
| @@ -29,9 +29,6 @@ DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3 | |||
| 29 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" | 29 | DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" |
| 30 | DEPENDS:append:libc-musl = " libexecinfo" | 30 | DEPENDS:append:libc-musl = " libexecinfo" |
| 31 | 31 | ||
| 32 | # combine oe-core way with angstrom DISTRO_TYPE | ||
| 33 | DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" | ||
| 34 | |||
| 35 | inherit autotools pkgconfig gettext systemd features_check | 32 | inherit autotools pkgconfig gettext systemd features_check |
| 36 | # depends on virtual/libx11 | 33 | # depends on virtual/libx11 |
| 37 | REQUIRED_DISTRO_FEATURES = "x11" | 34 | REQUIRED_DISTRO_FEATURES = "x11" |
| @@ -65,7 +62,8 @@ do_install:append() { | |||
| 65 | # ArchLinux version of pam config has the following advantages: | 62 | # ArchLinux version of pam config has the following advantages: |
| 66 | # * simple setup of passwordless login | 63 | # * simple setup of passwordless login |
| 67 | # * in XFCE powerdown/restart enabled in logoff dialog | 64 | # * in XFCE powerdown/restart enabled in logoff dialog |
| 68 | install -m 644 ${UNPACKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm | 65 | install -m 644 ${UNPACKDIR}/${@bb.utils.contains_any("IMAGE_FEATURES", [ "allow-empty-password", "empty-root-password" ], "lxdm-pam-debug", "lxdm-pam",d)} \ |
| 66 | ${D}${sysconfdir}/pam.d/lxdm | ||
| 69 | fi | 67 | fi |
| 70 | } | 68 | } |
| 71 | 69 | ||
