From patchwork Mon Nov 30 21:19:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106611 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.42652.1796073594880269876 for ; Mon, 30 Nov 2026 13:19:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=QbVDJCdI; spf=pass (domain: gmail.com, ip: 209.85.210.169, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-8b4c8b51b58so6577981b3a.1 for ; Mon, 30 Nov 2026 13:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796073594; x=1796678394; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=TUjzPF8vLtBFyPICoNq6cBLo4YUiWDgZ0AEjvyBor7Q=; b=QbVDJCdIigtSs1iGtN6VKJ47fqg3EPHLrwHuptWQ4b2XvSSExoI8Iz4DSiUdfQGIA+ Vb1V7nwFDfGA1DVhUrBvUBD058+Q/vW6SlBjS5x1jvMA21IM3eouO5/hlrdz7rDu0ace 70ygtqN2X1waRelC3bwPrygv2IOF7pc0Z2S38CgZPSItcSJGk+85JOArVEbn5enwqELW 32rm9FVFTi8IrO8RPIaAi3HeLbxrMVmMg2go0S6/EwWHu7G5/cGegW2JkkCLtcROr+Bf 9LhA9NQ0cL3PzVuSW3GCXyNO3TPYxpEREpgon392ROr5ziYLg+FHHTiyxYAdBgSeur1/ 4R1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796073594; x=1796678394; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TUjzPF8vLtBFyPICoNq6cBLo4YUiWDgZ0AEjvyBor7Q=; b=Fvwqjhf5QqmsOeqsmA7Pyw+b2bG6nwDsSRhBLtPC7Zq/7cL0HobXEgnFJU+/IwexbY fqEsU5IxR3y9CKBZGVnYJH4I64KfVipPjWYTW4KFahiOq/wme3DC6Cgl5VPj6k5Rad1N rBPyadi2Xn4tv76wHRA27PoSxhuOs7Q49YomsR/C+3N9O7yGypxh+GduonVZtgriDPv2 UgpkIwbZ+9HYQrVEk9GV91zph2jkYEU6TOf1nBP0Kmxp+CdLMQ4ekbFJsmQWd+I8h0zn PyxkyTF08LBm0t0dKiCp/McbGK3cF+UMAKgw5YshcjcQTmF9XB584TYanVxImRkNbAin jysA== X-Gm-Message-State: APuU4Z/gjEknk27iO0QPvHaLdV7YxtfDIePh1yp8G7XvHLYsjAXauZGW IghtWpXTOlZjphsfh6wnwQnos7uWzG/hIMkns1XME+9OrlCpSOWcpeTZTg7Ag5/6 X-Gm-Gg: AZFdTZfjRKcWlyld1/z33xBTHVJJoLL/qqC0joJgS2gIUBnG+i2pGa2tYc6juKwep+C 3079CI2nXHj8ntS0V5iwmPx6eSXlfTdVAIXttqp54eNgsvBwQppoZvRkoo+SQBgvCOM14dwaB0C Eqa1nFRUT2GFvxbWzd7KBRjUJoI/hj1kP5H3mFUtDsLdcktUcxrXsnwVX96AukoD/bWVcS039Bx yScCxPMjAC751Nz6my+FjUwHU+rE6rHy0lMVlbMvz4pLq0+pDvmpcvGyGTU1Z9MM7dguXVkfkua melA1cDjUxjEMcNpazY4jdP63C3vgG1w3Ha4rbmikQqku3FmMEAwcpGDJh1+zBMgya+NQftu3qi G1Dp7oPZ92qwq+6/QSDRSSP8hi4S9WoMgSsHzE9p6ex4A/3scs+58Vn6emqRhUgo3o8y3RRLmCw AXN67aLyoJS10ltBdFkbuyVLl+Dn/6NLJKtglvGywE6h6uToJAUdaUN1FcpbGNI2k9WEfNMR5cW /SYOUW1lrQRlYVZGgxkhS2xOA6vRihhaZVjcMjywiTgOr2IDqupDaqDvJFX8VKobzfk+hKV4erS aBvQwBtyjt+Y4E0DJlLOdY85DBJDt0vR0nuhT340frCWmIvoUOTQwg0xltT8h+hGHEENyx28l3s 2i1eH3OwQYzmrNX8dcB/twdSj+jMpzGNtUWD8Ny+VsWb8LXqjeJG+BgWNOrdwD5ryIXSO00Odkf cnMMX7e0WGxljRs+WRdxO2UndYdfvYLaqpPD3K36JDH8IBH82WdLPUEqVU2tDfd3xfaj5GQneVw M/Q8NYG6UM0dQi3/1835WtNHl+ARDCyFAeFP3TygVeyzOSekiTl34S12OC8jTFt7yf43c7L2PDw hDwN X-Received: by 2002:a05:6a21:778b:b0:3eb:8ae3:e1a8 with SMTP id adf61e73a8af0-4014ee5082dmr33450941637.72.1796073593999; Mon, 30 Nov 2026 13:19:53 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cde7f91c6f5sm15795483a12.27.2026.11.30.13.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 13:19:53 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-initramfs][PATCH] dracut: Drop the dracut_git recipe Date: Mon, 30 Nov 2026 13:19:51 -0800 Message-ID: <20261130211951.1887504-1-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 21:19:55 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133615 dracut_git (107+git, DEFAULT_PREFERENCE = "-1") was added to pick up PR1260, which uses ELF .note.dlopen entries instead of (cross-)ldd, before a release had it. That commit (79ffbd2829) is part of the 113 release in dracut_113.bb, so the snapshot is no longer needed. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-devtools/dracut/dracut_git.bb | 106 ------------------ 1 file changed, 106 deletions(-) delete mode 100644 meta-initramfs/recipes-devtools/dracut/dracut_git.bb diff --git a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb b/meta-initramfs/recipes-devtools/dracut/dracut_git.bb deleted file mode 100644 index 4a8e7e56aa..0000000000 --- a/meta-initramfs/recipes-devtools/dracut/dracut_git.bb +++ /dev/null @@ -1,106 +0,0 @@ -SUMMARY = "Initramfs generator using udev" -HOMEPAGE = "https://dracut.wiki.kernel.org/index.php/Main_Page" -DESCRIPTION = "Dracut is an event driven initramfs infrastructure. dracut (the tool) is used to create an initramfs image by copying tools and files from an installed system and combining it with the dracut framework, usually found in /usr/lib/dracut/modules.d." - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -# Since this is not using a release tag *and* features a rewrite of the dependency logic: -DEFAULT_PREFERENCE = "-1" - -PE = "1" - -# We want to drag in PR1260 to use ELF .note.dlopen entries instead of (cross-)ldd, but that was applied a week after the 107 tag -PV = "107+git" -SRCREV = "79ffbd28294818a36e515a441142125d70e3acbb" -SRC_URI = "git://github.com/dracut-ng/dracut-ng.git;protocol=http;branch=main \ - " - -DEPENDS += "kmod" -DEPENDS:append:libc-musl = " fts" - -inherit bash-completion pkgconfig - -EXTRA_OECONF = "--prefix=${prefix} \ - --libdir=${nonarch_libdir} \ - --datadir=${datadir} \ - --sysconfdir=${sysconfdir} \ - --sbindir=${sbindir} \ - --bindir=${bindir} \ - --includedir=${includedir} \ - --localstatedir=${localstatedir} \ - --disable-documentation \ - " - -# RDEPEND on systemd optionally -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" -PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,,,systemd" - -EXTRA_OEMAKE += 'libdir=${nonarch_libdir} LDLIBS="${LDLIBS}" enable_test=no DRACUT_FULL_VERSION=${PV}' - -CFLAGS:append = " -fPIC" -LDLIBS:append:libc-musl = " -lfts" - -do_configure() { - ./configure ${EXTRA_OECONF} -} - -do_install() { - oe_runmake install DESTDIR=${D} - # Its Makefile uses cp -arx to install modules.d, so fix the owner - # to root:root - chown -R root:root ${D}/${nonarch_libdir}/dracut/modules.d \ - ${D}/${nonarch_libdir}/dracut/dracut.conf.d - - if ! ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - rm -rf ${D}${nonarch_libdir}/systemd - fi -} - -do_install:append:class-target () { - # Generate and install a config file listing where the DISTRO puts things, dracut - # is not always savvy enough to figure it out by itself - # Since this primarily fixes systemd issues, only install it when using systemd. - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - cat << EOF > ${B}/${DISTRO}.conf -stdloglvl=3 -sysloglvl=5 -sysctlconfdir=${sysconfdir}/sysctl.d -systemdutildir=${systemd_unitdir} -systemdutilconfdir=${sysconfdir}/systemd -systemdcatalog=${systemd_unitdir}catalog -systemdntpunits=${systemd_unitdir}ntp-units.d -systemdntpunitsconfdir=${sysconfdir}/systemd/ntp-units.d -systemdportable=${systemd_unitdir}/portable -systemdportableconfdir=${sysconfdir}/systemd/portable -systemdsystemunitdir=${systemd_system_unitdir} -systemdsystemconfdir=${sysconfdir}/systemd/system -systemduser=${systemd_user_unitdir} -systemduserconfdir=${sysconfdir}/systemd/user -EOF - install -m 0644 ${B}/${DISTRO}.conf ${D}${libdir}/dracut/dracut.conf.d/ - fi -} - - -FILES:${PN} += "${nonarch_libdir}/kernel \ - ${nonarch_libdir}/dracut \ - ${systemd_unitdir} \ - " -FILES:${PN}-dbg += "${nonarch_libdir}/dracut/.debug" - -CONFFILES:${PN} += "${sysconfdir}/dracut.conf" - -# The native variant uses a non-ldd based method of getting library -# dependencies, so ldd is only needed on the target -RDEPENDS:${PN} = "findutils cpio util-linux-blkid util-linux-getopt util-linux bash" -RDEPENDS:${PN}:append:class-target = " ldd" - -# This could be optimized a bit, but let's avoid non-booting systems :) -RRECOMMENDS:${PN}:class-target = "kernel-modules \ - coreutils \ - " - -BBCLASSEXTEND = "native nativesdk" - -CVE_STATUS[CVE-2010-4176] = "not-applicable-platform: Applies only to Fedora"