Thanks, applied as 008fa06e37cd9b93d2164704d73b251016448220. Michael
[sent from post-receive hook] On Fri, 10 Feb 2023 15:17:25 +0100, Christian Melki <christian.me...@t2data.com> wrote: > https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.47.0.txt > The biggest change is default backwards incompatibility > with kernels < 4.4. 4.4 LTS was EOL a year ago. > > * Add patch to disable doc building and installing. > Was in need of several tools and the result is pretty much unused. > * Add patch to fix LDCONFIG permission mishap. > Choosen solution is to disable the LDCONFIG call through this patch. > > Signed-off-by: Christian Melki <christian.me...@t2data.com> > Message-Id: <20230209111556.653774-1-christian.me...@t2data.com> > Signed-off-by: Michael Olbrich <m.olbr...@pengutronix.de> > > diff --git a/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch > b/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch > new file mode 100644 > index 000000000000..38a8cc8ebc00 > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch > @@ -0,0 +1,37 @@ > +From: Christian Melki <christian.me...@t2data.com> > +Date: Thu, 9 Feb 2023 09:41:43 +0100 > +Subject: [PATCH] e2fsprogs: Disable docs. > + > +Disable doc building and installing. > + > +Signed-off-by: Christian Melki <christian.me...@t2data.com> > +--- > + Makefile.in | 5 ++--- > + 1 file changed, 2 insertions(+), 3 deletions(-) > + > +diff --git a/Makefile.in b/Makefile.in > +index 79b71165002d..0b80c20d4858 100644 > +--- a/Makefile.in > ++++ b/Makefile.in > +@@ -35,7 +35,6 @@ TAR=tar > + all:: subs > + $(MAKE) libs > + @ALL_CMT@ $(MAKE) progs > +-@ALL_CMT@ $(MAKE) docs > + > + all-static:: > + $(MAKE) libs > +@@ -72,11 +71,11 @@ distclean-doc: > + -test -d doc && cd doc && $(MAKE) distclean > + > + install: subs all-libs-recursive install-progs-recursive \ > +- install-shlibs-libs-recursive install-doc-libs > ++ install-shlibs-libs-recursive > + @SUBSET_CMT@ $(MAKE) install-libs > + > + install-strip: subs all-libs-recursive install-strip-progs-recursive \ > +- install-shlibs-strip-libs-recursive install-doc-libs > ++ install-shlibs-strip-libs-recursive > + > + uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive > uninstall-doc-libs > + > diff --git a/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch > b/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch > new file mode 100644 > index 000000000000..100d5bc5e870 > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch > @@ -0,0 +1,29 @@ > +From: Christian Melki <christian.me...@t2data.com> > +Date: Thu, 9 Feb 2023 09:42:26 +0100 > +Subject: [PATCH] e2fsprogs: Disable ldconfig. > + > +ldconfig on shlibs pokes files which are normally not > +accessible for non-root users. > +There are two ways to deal with this. > +1. Patch it, disabling the call. > +2. point ldconfig to something like ac_cv_path_LDCONFIG=true > +This patch inplements the former. > + > +Signed-off-by: Christian Melki <christian.me...@t2data.com> > +--- > + lib/Makefile.elf-lib | 2 -- > + 1 file changed, 2 deletions(-) > + > +diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib > +index f850f3ddb795..ea0bbde82b2f 100644 > +--- a/lib/Makefile.elf-lib > ++++ b/lib/Makefile.elf-lib > +@@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib > $(DEP_INSTALL_SYMLINK) > + $(E) " SYMLINK $(libdir)/$(ELF_IMAGE).so" > + $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ > + $(libdir)/$(ELF_IMAGE).so $(DESTDIR) > +- $(E) " LDCONFIG" > +- $(Q) -$(LDCONFIG) > + > + install-strip: install > + $(E) " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)" > diff --git a/patches/e2fsprogs-1.47.0/series b/patches/e2fsprogs-1.47.0/series > new file mode 100644 > index 000000000000..8c305fa95d9b > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/series > @@ -0,0 +1,5 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-e2fsprogs-Disable-docs.patch > +0002-e2fsprogs-Disable-ldconfig.patch > +# f58965e369e408e8446728c89acd0147 - git-ptx-patches magic > diff --git a/rules/e2fsprogs.make b/rules/e2fsprogs.make > index 12e632423c8a..87f1004f3323 100644 > --- a/rules/e2fsprogs.make > +++ b/rules/e2fsprogs.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_E2FSPROGS) += e2fsprogs > # > # Paths and names > # > -E2FSPROGS_VERSION := 1.46.6 > -E2FSPROGS_MD5 := ffcc9cbcc9fac7efe3e52d41e36099f3 > +E2FSPROGS_VERSION := 1.47.0 > +E2FSPROGS_MD5 := 6b4f18a33873623041857b4963641ee9 > E2FSPROGS := e2fsprogs-$(E2FSPROGS_VERSION) > E2FSPROGS_SUFFIX := tar.gz > E2FSPROGS_URL := $(call ptx/mirror, SF, > e2fsprogs/e2fsprogs/v$(E2FSPROGS_VERSION)/$(E2FSPROGS).$(E2FSPROGS_SUFFIX))