From patchwork Sun Aug 18 09:39:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Reschke X-Patchwork-Id: 47915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D360FC52D7C for ; Sun, 18 Aug 2024 09:39:28 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) by mx.groups.io with SMTP id smtpd.web10.186117.1723973963415699761 for ; Sun, 18 Aug 2024 02:39:23 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: signature did not verify: crypto/rsa: verification error" header.i=mr.name@web.de header.s=s29768273 header.b=vRk2Okqe; spf=pass (domain: web.de, ip: 212.227.15.3, mailfrom: mr.name@web.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1723973961; x=1724578761; i=mr.name@web.de; bh=hSuze7UCWuy5lcWV6XO29+DzYZcvuVBqB7kTzl216l4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-ID: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=vRk2OkqeXmJD1h0VYYk39qN6/qtan44w7y38RCKJLZtBfQ+aavVTV/R7XjwY41xL 5dFL/VOb0df46iOqfvUINXL6nqqxmAlKBh9YDIVvV4dFQDQ+vtCnK5H4l0n9g3YPw HhvmeWy8Lyyl5iKS19/G0W/58YQ7fHVe92SQDaNkYmCQ7KJip5Qyifxgd0PLkyAfc oarRKjRsAKD9dGe+ATm1ey7nknvCSPQs2mSv1D+tbEELHqnPLN7q+dJXp5ZqkOoUv 1lSBjREE3GWXPfX0DmwaczujvSWEMqSOwT32Vo184EMNN3dN49SkzF2PfbaYb8yla R8tOxYMdq6wrrAxgyA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from fedora.fritz.box ([93.244.214.241]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MpTxo-1sMqZR2r88-00cmSB; Sun, 18 Aug 2024 11:39:21 +0200 From: Sven Reschke To: openembedded-core@lists.openembedded.org Cc: Sven Reschke Subject: [PATCH] sysvinit: upgrade 3.04 -> 3.10 Date: Sun, 18 Aug 2024 11:39:13 +0200 Message-ID: <20240818093913.43520-1-mr.name@web.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:XEhsJAvJyE/i5bWddtTY7crDxjdCkpsv24vph2mf2WMnzHbf1Dn WMxI+0HLhsloLoqtOESmZF8VrzK/eLFlP/aROCAWitQQd1so53v07/OChI3XlbsPmfp8Dbb U6TT+9b9hRzfnQfcc21M/RHl4Sh08iSzw+Q0tjH5RJLO/uc6u1oJZ+8d+aRzXpDoEA/Qjuc VnCd9cMNwyECip5S8KOKQ== UI-OutboundReport: notjunk:1;M01:P0:Y5/77FYN1Yo=;Cj04hncqID3CP04HYqS7I+ImWaJ jspzYAqEtDJL2dt21QzM6boM4E1DOtsOrw4yYG+b+2MWR98xi+JKLJAkja0LxONKcKwyWWFeI lo5ZsMSJHGc2FfsEWiz4tJFqK/Bppscnq8iXFaTEzyoRLJ41Cl9OWnbgOITExuPGUUe4nF1sr h3ztCEUkF+988hb6m7q9vSGRj7PikkEvcTGJ9s2GbPv+fie81hUsXtZaYDcOO2ehOz4xJvA1q IEBvQ4JGdpLt/NCUMPfNBe3aCN9uifVSZyaeNd2ew6MDhZgizYpmfM3esRIdP+A8L0rpLMmC2 tT6Kpd5NQLP5RoWEK4TBKwbq6Tj9JAJbvUTm7pnPIyRlEN4uTN0/fwJ6I+HHnE2KkvOpBeV28 0QQO++2BRmAlo0rL+9y9kJl9vgutKyv/gPLj0QkWU+5wQOmvf1aKMKLwdA6ST4cQAIW3W+twv jntsa6NKaqW0Soo6xNkz5vk6whnXucrYyp87LPdBK7dMuK+lZoZI2R6zRefjmD3ZXTdjjWW4n yFedo5OReYaATyNfFtX2MGGrK8nRz6fZ3FcrymgJwK6Pl5KY24PE6oVP9l4aMFe0KzqFwRbVh +Yo8r6yCVhbAk/pQ+7KLsPgRDg6ZpYLWN0apeqmTBf1Id85/XiSErL15uJZoDClcP9l06B3Zr zS9nlMEVIKNaTjKXxYR8z9q+6yp5FcLMYZqLSoL/si+YQeyESpbwspdq9EHXTqZPTwFnFp1+/ 3gUzA61HML/jZ6GAzb6zD+9rquQTcL9pnzQWzQHeEQEw77Azx8YB73d6Xsv2RGfw4knycvMr0 T9LSykEQrdzKBGHP/4nim1a5lQ1J3WCWsZ604ShRS7S/Q= List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Aug 2024 09:39:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/203476 Upgrade of sysvinit to version 3.10. The upstream moved in between to github. Removed the following patches: 1. 0001-hddown-include-libgen.h-for-basename-API.patch Is already included in upstream 2. install.patch Referenced PR is already merged in upstream 3. sysvinit_remove_linux_fs.patch Is already included in upstream The remaining patches were mostly just updated, with exception to the realpath.patch Here the changes to the killall5.c source file couldn't be merged anymore. My guess is, that the changes are already done someway in the upstream. At least the file is now using realpath(). I didn't touch the remaining additional includes, as I don't know if they are still needed. Signed-off-by: Sven Reschke Signed-off-by: Sven Reschke Signed-off-by: Khem Raj --- ...wn-include-libgen.h-for-basename-API.patch | 38 -------- ...acros.h-for-major-minor-defines-in-g.patch | 6 +- .../sysvinit/sysvinit/crypt-lib.patch | 6 +- .../sysvinit/sysvinit/install.patch | 97 ------------------- .../sysvinit/pidof-add-m-option.patch | 24 ++--- .../sysvinit/sysvinit/realpath.patch | 23 +---- .../sysvinit/sysvinit_remove_linux_fs.patch | 17 ---- .../{sysvinit_3.04.bb => sysvinit_3.10.bb} | 7 +- 8 files changed, 23 insertions(+), 195 deletions(-) delete mode 100644 meta/recipes-core/sysvinit/sysvinit/0001-hddown-include-libgen.h-for-basename-API.patch delete mode 100644 meta/recipes-core/sysvinit/sysvinit/install.patch delete mode 100644 meta/recipes-core/sysvinit/sysvinit/sysvinit_remove_linux_fs.patch rename meta/recipes-core/sysvinit/{sysvinit_3.04.bb => sysvinit_3.10.bb} (93%) diff --git a/meta/recipes-core/sysvinit/sysvinit/0001-hddown-include-libgen.h-for-basename-API.patch b/meta/recipes-core/sysvinit/sysvinit/0001-hddown-include-libgen.h-for-basename-API.patch deleted file mode 100644 index 5e4053bad1..0000000000 --- a/meta/recipes-core/sysvinit/sysvinit/0001-hddown-include-libgen.h-for-basename-API.patch +++ /dev/null @@ -1,38 +0,0 @@ -From a07c1d94e79840c59563741b45e690e77d4f3dfa Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 3 Dec 2023 20:09:30 -0800 -Subject: [PATCH] hddown: include libgen.h for basename API - -musl has removed the non-prototype declaration of basename from string.h [1] which now results in build errors with clang-17+ compiler - -include libgen.h for using the posix declaration of the funciton. - -Fixes - -hddown.c:135:8: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] - 135 | ptr = basename(lnk); - | ^ ~~~~~~~~~~~~~ - -[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 - -Upstream-Status: Submitted [https://github.com/slicer69/sysvinit/pull/21] -Signed-off-by: Khem Raj ---- - src/hddown.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/hddown.c b/src/hddown.c -index 7a2cf28..3b31bc0 100644 ---- a/src/hddown.c -+++ b/src/hddown.c -@@ -24,6 +24,7 @@ char *v_hddown = "@(#)hddown.c 1.02 22-Apr-2003 miquels@cistron.nl"; - #ifndef _GNU_SOURCE - #define _GNU_SOURCE - #endif -+#include - #include - #include - #include --- -2.43.0 - diff --git a/meta/recipes-core/sysvinit/sysvinit/0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch b/meta/recipes-core/sysvinit/sysvinit/0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch index 60fbd87534..2c29fd81d9 100644 --- a/meta/recipes-core/sysvinit/sysvinit/0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch +++ b/meta/recipes-core/sysvinit/sysvinit/0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch @@ -13,7 +13,7 @@ Upstream-Status: Pending 3 files changed, 3 insertions(+) diff --git a/src/bootlogd.c b/src/bootlogd.c -index 787db87..8b07903 100644 +index a323a76..343cbbe 100644 --- a/src/bootlogd.c +++ b/src/bootlogd.c @@ -29,6 +29,7 @@ @@ -25,7 +25,7 @@ index 787db87..8b07903 100644 #include #include diff --git a/src/mountpoint.c b/src/mountpoint.c -index 5f20522..94df7a1 100644 +index c55b0df..5920e13 100644 --- a/src/mountpoint.c +++ b/src/mountpoint.c @@ -25,6 +25,7 @@ @@ -37,7 +37,7 @@ index 5f20522..94df7a1 100644 #include #include diff --git a/src/shutdown.c b/src/shutdown.c -index b744a2c..40b7faf 100644 +index 89b63a5..7730e53 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -40,6 +40,7 @@ diff --git a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch index 5c39fb001b..cc3df8887b 100644 --- a/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch +++ b/meta/recipes-core/sysvinit/sysvinit/crypt-lib.patch @@ -15,11 +15,11 @@ Upstream-Status: Inappropriate [configuration] 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Makefile b/src/Makefile -index 5b1a5a2..b686394 100644 +index 21cbb2e..a2c103c 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -97,15 +97,8 @@ else - endif +@@ -95,15 +95,8 @@ endif + ROOT ?= $(DESTDIR) # Additional libs for GNU libc. -ifneq ($(wildcard $(ROOT)/usr/lib*/libcrypt.*),) diff --git a/meta/recipes-core/sysvinit/sysvinit/install.patch b/meta/recipes-core/sysvinit/sysvinit/install.patch deleted file mode 100644 index bc6d493c2b..0000000000 --- a/meta/recipes-core/sysvinit/sysvinit/install.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 5e35aa105e7a2e85db2a89fee4114090b1ac55be Mon Sep 17 00:00:00 2001 -From: Qing He -Date: Fri, 18 Jun 2010 09:40:30 +0800 -Subject: [PATCH] sysvinit: upgrade to version 2.88dsf - -Upstream-Status: Submitted [https://github.com/slicer69/sysvinit/pull/13] - ---- - src/Makefile | 53 +++++++++++++++++++++++++++++----------------------- - 1 file changed, 30 insertions(+), 23 deletions(-) - -diff --git a/src/Makefile b/src/Makefile -index 1b368dc..5b1a5a2 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -77,7 +77,14 @@ else - INSTALL_DATA = install -m 644 - endif - INSTALL_DIR = install -m 755 -d --MANDIR = /usr/share/man -+ -+ROOT ?= -+base_bindir ?= /bin -+base_sbindir ?= /sbin -+bindir ?= /usr/bin -+sysconfdir ?= /etc -+includedir ?= /usr/include -+mandir ?= /usr/share/man - - ifeq ($(WITH_SELINUX),yes) - SELINUX_DEF = -DWITH_SELINUX -@@ -191,43 +198,43 @@ clobber: cleanobjs - distclean: clobber - - install: all -- $(INSTALL_DIR) $(ROOT)/bin/ $(ROOT)/sbin/ -- $(INSTALL_DIR) $(ROOT)/usr/bin/ -+ $(INSTALL_DIR) $(ROOT)$(base_bindir)/ $(ROOT)$(base_sbindir)/ -+ $(INSTALL_DIR) $(ROOT)$(bindir)/ - for i in $(BIN); do \ -- $(INSTALL_EXEC) $$i $(ROOT)/bin/ ; \ -+ $(INSTALL_EXEC) $$i $(ROOT)$(base_bindir)/ ; \ - done - for i in $(SBIN); do \ -- $(INSTALL_EXEC) $$i $(ROOT)/sbin/ ; \ -+ $(INSTALL_EXEC) $$i $(ROOT)$(base_sbindir)/ ; \ - done - for i in $(USRBIN); do \ -- $(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \ -+ $(INSTALL_EXEC) $$i $(ROOT)$(bindir)/ ; \ - done - # $(INSTALL_DIR) $(ROOT)/etc/ - $(INSTALL_DIR) $(ROOT)/etc/inittab.d - # $(INSTALL_EXEC) ../doc/initscript.sample $(ROOT)/etc/ -- ln -sf halt $(ROOT)/sbin/reboot -- ln -sf halt $(ROOT)/sbin/poweroff -- ln -sf init $(ROOT)/sbin/telinit -- ln -sf /sbin/killall5 $(ROOT)/bin/pidof -- if [ ! -f $(ROOT)/usr/bin/lastb ]; then \ -- ln -sf last $(ROOT)/usr/bin/lastb; \ -+ ln -sf halt $(ROOT)$(base_sbindir)/reboot -+ ln -sf halt $(ROOT)$(base_sbindir)/poweroff -+ ln -sf init $(ROOT)$(base_sbindir)/telinit -+ ln -sf $(base_sbindir)/killall5 $(ROOT)$(base_bindir)/pidof -+ if [ ! -f $(ROOT)$(bindir)/lastb ]; then \ -+ ln -sf last $(ROOT)$(bindir)/lastb; \ - fi -- $(INSTALL_DIR) $(ROOT)/usr/include/ -- $(INSTALL_DATA) initreq.h $(ROOT)/usr/include/ -- $(INSTALL_DIR) $(ROOT)$(MANDIR)/man1/ -- $(INSTALL_DIR) $(ROOT)$(MANDIR)/man5/ -- $(INSTALL_DIR) $(ROOT)$(MANDIR)/man8/ -+ $(INSTALL_DIR) $(ROOT)$(includedir)/ -+ $(INSTALL_DATA) initreq.h $(ROOT)$(includedir)/ -+ $(INSTALL_DIR) $(ROOT)$(mandir)/man1/ -+ $(INSTALL_DIR) $(ROOT)$(mandir)/man5/ -+ $(INSTALL_DIR) $(ROOT)$(mandir)/man8/ - for man in $(MAN1); do \ -- $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man1/; \ -- sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man1/$$man ; \ -+ $(INSTALL_DATA) ../man/$$man $(ROOT)$(mandir)/man1/; \ -+ sed -i "1{ $(MANDB); }" $(ROOT)$(mandir)/man1/$$man ; \ - done - for man in $(MAN5); do \ -- $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man5/; \ -- sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man5/$$man ; \ -+ $(INSTALL_DATA) ../man/$$man $(ROOT)$(mandir)/man5/; \ -+ sed -i "1{ $(MANDB); }" $(ROOT)$(mandir)/man5/$$man ; \ - done - for man in $(MAN8); do \ -- $(INSTALL_DATA) ../man/$$man $(ROOT)$(MANDIR)/man8/; \ -- sed -i "1{ $(MANDB); }" $(ROOT)$(MANDIR)/man8/$$man ; \ -+ $(INSTALL_DATA) ../man/$$man $(ROOT)$(mandir)/man8/; \ -+ sed -i "1{ $(MANDB); }" $(ROOT)$(mandir)/man8/$$man ; \ - done - ifeq ($(ROOT),) - # diff --git a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch index 8ef292ed12..01df5e6ee4 100644 --- a/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch +++ b/meta/recipes-core/sysvinit/sysvinit/pidof-add-m-option.patch @@ -45,17 +45,17 @@ index 6866cb3..a87d878 100644 .TP .B 0 diff --git a/src/killall5.c b/src/killall5.c -index b0728fa..72289e3 100644 +index 6f7528a..34d656b 100644 --- a/src/killall5.c +++ b/src/killall5.c @@ -121,6 +121,7 @@ typedef struct _s_nfs /* List of processes. */ - PROC *plist; -+PROC *olist; + PROC *plist = NULL; ++PROC *olist = NULL; /* List of processes to omit. */ - OMIT *omit; + OMIT *omit = NULL; @@ -356,6 +357,20 @@ static void clear_mnt(void) } } @@ -85,7 +85,7 @@ index b0728fa..72289e3 100644 struct dirent *d; char path[PATH_MAX+1]; char buf[PATH_MAX+1]; -@@ -670,6 +686,17 @@ int readproc() +@@ -671,6 +687,17 @@ int readproc() p->next = plist; plist = p; p->pid = pid; @@ -103,7 +103,7 @@ index b0728fa..72289e3 100644 } closedir(dir); -@@ -870,6 +897,26 @@ PIDQ_HEAD *pidof(char *prog) +@@ -877,6 +904,26 @@ PIDQ_HEAD *pidof(char *prog) return q; } @@ -130,7 +130,7 @@ index b0728fa..72289e3 100644 /* Give usage message and exit. */ void usage(void) { -@@ -920,6 +967,7 @@ void nsyslog(int pri, char *fmt, ...) +@@ -927,6 +974,7 @@ void nsyslog(int pri, char *fmt, ...) #define PIDOF_OMIT 0x02 #define PIDOF_NETFS 0x04 #define PIDOF_QUIET 0x08 @@ -138,7 +138,7 @@ index b0728fa..72289e3 100644 /* * Pidof functionality. -@@ -937,6 +985,7 @@ int main_pidof(int argc, char **argv) +@@ -944,6 +992,7 @@ int main_pidof(int argc, char **argv) char tmp[512]; char sep = ' '; @@ -146,7 +146,7 @@ index b0728fa..72289e3 100644 omit = (OMIT*)0; nlist = (NFS*)0; opterr = 0; -@@ -944,7 +993,7 @@ int main_pidof(int argc, char **argv) +@@ -951,7 +1000,7 @@ int main_pidof(int argc, char **argv) if ((token = getenv("PIDOF_NETFS")) && (strcmp(token,"no") != 0)) flags |= PIDOF_NETFS; @@ -155,7 +155,7 @@ index b0728fa..72289e3 100644 case '?': nsyslog(LOG_ERR,"invalid options on command line!\n"); closelog(); -@@ -995,6 +1044,9 @@ int main_pidof(int argc, char **argv) +@@ -1002,6 +1051,9 @@ int main_pidof(int argc, char **argv) case 'z': list_dz_processes = TRUE; break; @@ -165,7 +165,7 @@ index b0728fa..72289e3 100644 case 'n': flags |= PIDOF_NETFS; break; -@@ -1026,10 +1078,13 @@ int main_pidof(int argc, char **argv) +@@ -1033,10 +1085,13 @@ int main_pidof(int argc, char **argv) pid_t spid = 0; while ((p = get_next_from_pid_q(q))) { if ((flags & PIDOF_OMIT) && omit) { @@ -181,7 +181,7 @@ index b0728fa..72289e3 100644 } /* -@@ -1071,6 +1126,7 @@ int main_pidof(int argc, char **argv) +@@ -1078,6 +1133,7 @@ int main_pidof(int argc, char **argv) printf("\n"); } diff --git a/meta/recipes-core/sysvinit/sysvinit/realpath.patch b/meta/recipes-core/sysvinit/sysvinit/realpath.patch index b559aa3b49..78bf870612 100644 --- a/meta/recipes-core/sysvinit/sysvinit/realpath.patch +++ b/meta/recipes-core/sysvinit/sysvinit/realpath.patch @@ -12,29 +12,12 @@ Upstream-Status: Inappropriate [Linux specific] Signed-off-by: Khem Raj --- - src/killall5.c | 4 ++-- src/mountpoint.c | 1 + src/wall.c | 1 + - 3 files changed, 4 insertions(+), 2 deletions(-) + 2 files changed, 2 insertions(+) -diff --git a/src/killall5.c b/src/killall5.c -index a664954..9798423 100644 ---- a/src/killall5.c -+++ b/src/killall5.c -@@ -977,9 +977,9 @@ int matches(PROC *o, PROC *p) - char *oargv1, *pargv1; - if ((o->argv0 && p->argv0 && !strcmp(o->argv0,p->argv0))) { - if (o->argv1 && p->argv1) { -- if ((oargv1 = canonicalize_file_name(o->argv1)) == NULL) -+ if ((oargv1 = realpath(o->argv1, NULL)) == NULL) - oargv1 = strdup(o->argv1); -- if ((pargv1 = canonicalize_file_name(p->argv1)) == NULL) -+ if ((pargv1 = realpath(p->argv1, NULL)) == NULL) - pargv1 = strdup(p->argv1); - if (! strcmp(oargv1, pargv1)) { - ret = 1; diff --git a/src/mountpoint.c b/src/mountpoint.c -index b24335e..5f20522 100644 +index 184b1f6..c55b0df 100644 --- a/src/mountpoint.c +++ b/src/mountpoint.c @@ -23,6 +23,7 @@ @@ -46,7 +29,7 @@ index b24335e..5f20522 100644 #include #include diff --git a/src/wall.c b/src/wall.c -index d3a2c70..00826e9 100644 +index e527613..1d363ca 100644 --- a/src/wall.c +++ b/src/wall.c @@ -30,6 +30,7 @@ diff --git a/meta/recipes-core/sysvinit/sysvinit/sysvinit_remove_linux_fs.patch b/meta/recipes-core/sysvinit/sysvinit/sysvinit_remove_linux_fs.patch deleted file mode 100644 index 89d65c23b7..0000000000 --- a/meta/recipes-core/sysvinit/sysvinit/sysvinit_remove_linux_fs.patch +++ /dev/null @@ -1,17 +0,0 @@ -# From glibc 2.36, (included from ) and -# (included from glibc) are no longer compatible: -# https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E - -Upstream-Status: Pending -Signed-off-by: Khem Raj - ---- sysvinit-3.04/src/sulogin.c.orig 2022-08-07 23:07:42.952576274 +0200 -+++ sysvinit-3.04/src/sulogin.c 2022-08-07 23:08:26.511470983 +0200 -@@ -51,7 +51,6 @@ - #ifdef __linux__ - # include - # include --# include - # include - # include - # ifndef TMPFS_MAGIC diff --git a/meta/recipes-core/sysvinit/sysvinit_3.04.bb b/meta/recipes-core/sysvinit/sysvinit_3.10.bb similarity index 93% rename from meta/recipes-core/sysvinit/sysvinit_3.04.bb rename to meta/recipes-core/sysvinit/sysvinit_3.10.bb index fb9d00891c..89281f9fb3 100644 --- a/meta/recipes-core/sysvinit/sysvinit_3.04.bb +++ b/meta/recipes-core/sysvinit/sysvinit_3.10.bb @@ -9,21 +9,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ RDEPENDS:${PN} = "${PN}-inittab" -SRC_URI = "${SAVANNAH_GNU_MIRROR}/sysvinit/sysvinit-${PV}.tar.xz \ - file://install.patch \ +SRC_URI = "https://github.com/slicer69/sysvinit/releases/download/${PV}/sysvinit-${PV}.tar.xz \ file://crypt-lib.patch \ file://pidof-add-m-option.patch \ file://realpath.patch \ file://0001-include-sys-sysmacros.h-for-major-minor-defines-in-g.patch \ - file://sysvinit_remove_linux_fs.patch \ file://rcS-default \ file://rc \ file://rcS \ file://bootlogd.init \ file://01_bootlogd \ - file://0001-hddown-include-libgen.h-for-basename-API.patch \ " -SRC_URI[sha256sum] = "2a621fe6e4528bc91308b74867ddaaebbdf7753f02395c0c5bae817bd2b7e3a5" +SRC_URI[sha256sum] = "c52d22f63e187a1247ad491b6a3a049561b887400a166d6b04fc9d67705c4da6" S = "${WORKDIR}/sysvinit-${PV}"