* [PATCH 0/6] debian: Debian and Ubuntu archive changes
@ 2024-09-12 7:20 Bastian Germann
2024-09-12 7:20 ` [PATCH 1/6] debian: Update debhelper-compat level Bastian Germann
` (6 more replies)
0 siblings, 7 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
Hi,
I am forwarding all the changes that are in the Debian and Ubuntu
archives with a major structural change in the debian/rules file,
which gets the package to a more modern dh-based build flavor.
Bastian Germann (6):
debian: Update debhelper-compat level
debian: Update public release key
debian: Prevent recreating the orig tarball
debian: Add Build-Depends: systemd-dev
debian: Modernize build script
debian: Correct the day-of-week on 2024-09-04
debian/changelog | 2 +-
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 81 ++++++++----------------
debian/upstream/signing-key.asc | 106 ++++++++++++++------------------
5 files changed, 75 insertions(+), 118 deletions(-)
--
2.45.2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/6] debian: Update debhelper-compat level
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-12 7:20 ` [PATCH 2/6] debian: Update public release key Bastian Germann
` (5 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
debhelper-compat-upgrade-checklist.7 discourages using level 11.
Update to compat level 12, which is supported back to buster.
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/compat | 2 +-
debian/control | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/compat b/debian/compat
index b4de3947..48082f72 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-11
+12
diff --git a/debian/control b/debian/control
index 31773e53..369d11a4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: XFS Development Team <linux-xfs@vger.kernel.org>
Uploaders: Nathan Scott <nathans@debian.org>, Anibal Monsalve Salazar <anibal@debian.org>, Bastian Germann <bage@debian.org>
-Build-Depends: libinih-dev (>= 53), uuid-dev, dh-autoreconf, debhelper (>= 5), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev
+Build-Depends: libinih-dev (>= 53), uuid-dev, debhelper (>= 12), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev
Standards-Version: 4.0.0
Homepage: https://xfs.wiki.kernel.org/
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/6] debian: Update public release key
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
2024-09-12 7:20 ` [PATCH 1/6] debian: Update debhelper-compat level Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-12 7:20 ` [PATCH 3/6] debian: Prevent recreating the orig tarball Bastian Germann
` (4 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
New key material, used for some releases in the Debian archive:
pub ed25519 2022-05-27 [C]
4020459E58C1A52511F5399113F703E6C11CF6F0
uid Carlos Eduardo Maiolino <carlos@maiolino.me>
uid Carlos Eduardo Maiolino <cem@kernel.org>
uid Carlos Eduardo Maiolino <cmaiolino@redhat.com>
sub ed25519 2022-05-27 [A]
sub ed25519 2022-05-27 [S]
sub nistp384 2024-02-15 [A]
sub nistp384 2024-02-15 [S]
sub nistp384 2024-02-15 [E]
sub cv25519 2022-05-27 [E]
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/upstream/signing-key.asc | 106 ++++++++++++++------------------
1 file changed, 46 insertions(+), 60 deletions(-)
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key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uGqGJ8a0sqN8kBicGNkFAtoyvfEFTH+KUSNn
+GP34wya2HnMUB7t0LU8d+lt5M3pH1bv6Tg3GSfGQ530R9FjU2Qz5QFcajA5inBTV
+qYY+Dk/ZCYE3/qtPspuryGRiIQMBCQmIeAQYFgoAIBYhBEAgRZ5YwaUlEfU5kRP3
+A+bBHPbwBQJlzhRcAhsMAAoJEBP3A+bBHPbwExUBAMuOSJrrxg2Y3S23/sXr6uB8
+GHgFdcBGp6G4jx+0QeOsAP0ZfWgHg40YqRFhwmTAE9j3FE1j9u7kiuHn6iAJS4Qf
+Brg4BGKQ5mASCisGAQQBl1UBBQEBB0DaAZhs0bB5OqligT7Z6+r5TuwAaPx75HqC
+1FGVNq/0PQMBCAeIeAQYFgoAIBYhBEAgRZ5YwaUlEfU5kRP3A+bBHPbwBQJikOZg
+AhsMAAoJEBP3A+bBHPbwvsQA/34JP7FUK5H4Lq+2b47KL364x2xwuLVnoN1fGFRy
+DnXKAP9ULaEyzGc8LewpHfrxRn6kkrOQ9RTJsGhOGf1laKj5Aw==
+=apYB
-----END PGP PUBLIC KEY BLOCK-----
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/6] debian: Prevent recreating the orig tarball
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
2024-09-12 7:20 ` [PATCH 1/6] debian: Update debhelper-compat level Bastian Germann
2024-09-12 7:20 ` [PATCH 2/6] debian: Update public release key Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-12 7:20 ` [PATCH 4/6] debian: Add Build-Depends: systemd-dev Bastian Germann
` (3 subsequent siblings)
6 siblings, 0 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/rules | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c3fbcd26..98dafcab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -103,7 +103,6 @@ binary-arch: checkroot built
$(pkgme) $(MAKE) -C . install
$(pkgdev) $(MAKE) -C . install-dev
$(pkgdi) $(MAKE) -C debian install-d-i
- $(pkgme) $(MAKE) dist
install -D -m 0755 debian/local/initramfs.hook debian/xfsprogs/usr/share/initramfs-tools/hooks/xfs
rmdir debian/xfslibs-dev/usr/share/doc/xfsprogs
rm -f debian/xfslibs-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libhandle.la
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/6] debian: Add Build-Depends: systemd-dev
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
` (2 preceding siblings ...)
2024-09-12 7:20 ` [PATCH 3/6] debian: Prevent recreating the orig tarball Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-16 22:35 ` Darrick J. Wong
2024-09-12 7:20 ` [PATCH 5/6] debian: Modernize build script Bastian Germann
` (2 subsequent siblings)
6 siblings, 1 reply; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 369d11a4..c3c6b263 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: XFS Development Team <linux-xfs@vger.kernel.org>
Uploaders: Nathan Scott <nathans@debian.org>, Anibal Monsalve Salazar <anibal@debian.org>, Bastian Germann <bage@debian.org>
-Build-Depends: libinih-dev (>= 53), uuid-dev, debhelper (>= 12), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev
+Build-Depends: libinih-dev (>= 53), uuid-dev, debhelper (>= 12), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev, systemd-dev
Standards-Version: 4.0.0
Homepage: https://xfs.wiki.kernel.org/
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/6] debian: Modernize build script
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
` (3 preceding siblings ...)
2024-09-12 7:20 ` [PATCH 4/6] debian: Add Build-Depends: systemd-dev Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-12 7:20 ` [PATCH 6/6] debian: Correct the day-of-week on 2024-09-04 Bastian Germann
2024-09-13 5:42 ` [PATCH 0/6] debian: Debian and Ubuntu archive changes Carlos Maiolino
6 siblings, 0 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann, Zixing Liu
- Use autoreconf template, this will now properly installs the
translation files
- Use $(CURDIR) to replace `pwd` syntax
Link: https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/2076309
Suggested-by: Zixing Liu <zixing.liu@canonical.com>
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/rules | 80 +++++++++++++++++-----------------------------------
1 file changed, 26 insertions(+), 54 deletions(-)
diff --git a/debian/rules b/debian/rules
index 98dafcab..7c9f90e6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
export DH_VERBOSE=1
+export AUTOHEADER=true
+
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
PMAKEFLAGS += -j$(NUMJOBS)
@@ -15,9 +17,7 @@ package = xfsprogs
develop = xfslibs-dev
bootpkg = xfsprogs-udeb
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
version = $(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1)
target ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -26,9 +26,9 @@ udebpkg = $(bootpkg)_$(version)_$(target).udeb
dirme = debian/$(package)
dirdev = debian/$(develop)
dirdi = debian/$(bootpkg)
-pkgme = DIST_ROOT=`pwd`/$(dirme); export DIST_ROOT;
-pkgdev = DIST_ROOT=`pwd`/$(dirdev); export DIST_ROOT;
-pkgdi = DIST_ROOT=`pwd`/$(dirdi); export DIST_ROOT;
+pkgme = DIST_ROOT=$(CURDIR)/$(dirme); export DIST_ROOT;
+pkgdev = DIST_ROOT=$(CURDIR)/$(dirdev); export DIST_ROOT;
+pkgdi = DIST_ROOT=$(CURDIR)/$(dirdi); export DIST_ROOT;
stdenv = @GZIP=-q; export GZIP;
configure_options = \
@@ -42,35 +42,20 @@ configure_options = \
--localstatedir=/var
options = export DEBUG=-DNDEBUG DISTRIBUTION=debian \
- INSTALL_USER=root INSTALL_GROUP=root \
+ INSTALL_USER=root INSTALL_GROUP=root LDFLAGS='$(LDFLAGS)' \
LOCAL_CONFIGURE_OPTIONS="$(configure_options) --enable-editline=yes --enable-blkid=yes" ;
diopts = $(options) \
export OPTIMIZER=-Os LOCAL_CONFIGURE_OPTIONS="$(configure_options) --enable-gettext=no" ;
-checkdir = test -f debian/rules
-build: build-arch build-indep
-build-arch: built
-build-indep: built
-built: dibuild config
- @echo "== dpkg-buildpackage: build" 1>&2
- $(MAKE) $(PMAKEFLAGS) default
- touch built
+%:
+ dh $@
-config: .gitcensus
-.gitcensus:
- @echo "== dpkg-buildpackage: configure" 1>&2
- $(checkdir)
- AUTOHEADER=/bin/true dh_autoreconf
- dh_update_autotools_config
- # runs configure with $(options)
- $(options) $(MAKE) $(PMAKEFLAGS) include/builddefs
- cp -f include/install-sh .
+override_dh_auto_configure:
+ dh_testdir
touch .gitcensus
-dibuild:
- $(checkdir)
+override_dh_auto_build:
@echo "== dpkg-buildpackage: installer" 1>&2
- # runs configure with $(options)
if [ ! -f mkfs/mkfs.xfs-$(bootpkg) ]; then \
$(diopts) $(MAKE) include/builddefs; \
mkdir -p include/xfs; \
@@ -83,46 +68,33 @@ dibuild:
mv mkfs/mkfs.xfs mkfs/mkfs.xfs-$(bootpkg); \
$(MAKE) distclean; \
fi
+ @echo "== dpkg-buildpackage: configure" 1>&2
+ # runs configure with $(options)
+ $(options) $(MAKE) $(PMAKEFLAGS) include/builddefs
+ cp -f include/install-sh .
+ @echo "== dpkg-buildpackage: build" 1>&2
+ $(MAKE) $(PMAKEFLAGS) default
-clean:
+execute_before_dh_clean:
@echo "== dpkg-buildpackage: clean" 1>&2
- $(checkdir)
+ dh_testdir
-rm -f built .gitcensus mkfs/mkfs.xfs-$(bootpkg)
$(MAKE) distclean
-rm -rf $(dirme) $(dirdev) $(dirdi)
- -rm -f debian/*substvars debian/files* debian/*.debhelper
- dh_autoreconf_clean
- dh_clean
-
-binary-indep:
-binary-arch: checkroot built
+override_dh_auto_install:
@echo "== dpkg-buildpackage: binary-arch" 1>&2
- $(checkdir)
-rm -rf $(dirme) $(dirdev) $(dirdi)
+ dh_testdir
$(pkgme) $(MAKE) -C . install
$(pkgdev) $(MAKE) -C . install-dev
$(pkgdi) $(MAKE) -C debian install-d-i
install -D -m 0755 debian/local/initramfs.hook debian/xfsprogs/usr/share/initramfs-tools/hooks/xfs
- rmdir debian/xfslibs-dev/usr/share/doc/xfsprogs
rm -f debian/xfslibs-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libhandle.la
rm -f debian/xfslibs-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libhandle.a
- dh_installdocs -XCHANGES
- dh_installchangelogs
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installsystemd -p xfsprogs --no-restart-after-upgrade --no-stop-on-upgrade system-xfs_scrub.slice xfs_scrub_all.timer
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-checkroot:
- test 0 -eq `id -u`
+override_dh_installdocs:
+ dh_installdocs -XCHANGES
-.PHONY: binary binary-arch binary-indep clean checkroot
+override_dh_installsystemd:
+ dh_installsystemd -p xfsprogs --no-restart-after-upgrade --no-stop-on-upgrade system-xfs_scrub.slice xfs_scrub_all.timer
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/6] debian: Correct the day-of-week on 2024-09-04
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
` (4 preceding siblings ...)
2024-09-12 7:20 ` [PATCH 5/6] debian: Modernize build script Bastian Germann
@ 2024-09-12 7:20 ` Bastian Germann
2024-09-13 5:42 ` [PATCH 0/6] debian: Debian and Ubuntu archive changes Carlos Maiolino
6 siblings, 0 replies; 11+ messages in thread
From: Bastian Germann @ 2024-09-12 7:20 UTC (permalink / raw)
To: linux-xfs; +Cc: Bastian Germann
Signed-off-by: Bastian Germann <bage@debian.org>
---
debian/changelog | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index cf7fcb4c..82d4a488 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ xfsprogs (6.10.1-1) unstable; urgency=low
* New upstream release
- -- Nathan Scott <nathans@debian.org> Mon, 04 Sep 2024 14:00:00 +0100
+ -- Nathan Scott <nathans@debian.org> Wed, 04 Sep 2024 14:00:00 +0100
xfsprogs (6.10.0-1) unstable; urgency=low
--
2.45.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/6] debian: Debian and Ubuntu archive changes
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
` (5 preceding siblings ...)
2024-09-12 7:20 ` [PATCH 6/6] debian: Correct the day-of-week on 2024-09-04 Bastian Germann
@ 2024-09-13 5:42 ` Carlos Maiolino
2024-09-16 22:38 ` Darrick J. Wong
6 siblings, 1 reply; 11+ messages in thread
From: Carlos Maiolino @ 2024-09-13 5:42 UTC (permalink / raw)
To: Bastian Germann; +Cc: linux-xfs
On Thu, Sep 12, 2024 at 09:20:47AM GMT, Bastian Germann wrote:
> Hi,
>
> I am forwarding all the changes that are in the Debian and Ubuntu
> archives with a major structural change in the debian/rules file,
> which gets the package to a more modern dh-based build flavor.
>
> Bastian Germann (6):
> debian: Update debhelper-compat level
> debian: Update public release key
> debian: Prevent recreating the orig tarball
> debian: Add Build-Depends: systemd-dev
> debian: Modernize build script
> debian: Correct the day-of-week on 2024-09-04
>
> debian/changelog | 2 +-
> debian/compat | 2 +-
> debian/control | 2 +-
> debian/rules | 81 ++++++++----------------
> debian/upstream/signing-key.asc | 106 ++++++++++++++------------------
> 5 files changed, 75 insertions(+), 118 deletions(-)
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Those changes look fine for me, but I'll wait Darrick's review too as he's more
familiar with Debian than I am.
Carlos
>
> --
> 2.45.2
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 4/6] debian: Add Build-Depends: systemd-dev
2024-09-12 7:20 ` [PATCH 4/6] debian: Add Build-Depends: systemd-dev Bastian Germann
@ 2024-09-16 22:35 ` Darrick J. Wong
0 siblings, 0 replies; 11+ messages in thread
From: Darrick J. Wong @ 2024-09-16 22:35 UTC (permalink / raw)
To: Bastian Germann; +Cc: linux-xfs
On Thu, Sep 12, 2024 at 09:20:51AM +0200, Bastian Germann wrote:
> Signed-off-by: Bastian Germann <bage@debian.org>
> ---
> debian/control | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/control b/debian/control
> index 369d11a4..c3c6b263 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -3,7 +3,7 @@ Section: admin
> Priority: optional
> Maintainer: XFS Development Team <linux-xfs@vger.kernel.org>
> Uploaders: Nathan Scott <nathans@debian.org>, Anibal Monsalve Salazar <anibal@debian.org>, Bastian Germann <bage@debian.org>
> -Build-Depends: libinih-dev (>= 53), uuid-dev, debhelper (>= 12), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev
> +Build-Depends: libinih-dev (>= 53), uuid-dev, debhelper (>= 12), gettext, libtool, libedit-dev, libblkid-dev (>= 2.17), linux-libc-dev, libdevmapper-dev, libattr1-dev, libicu-dev, pkg-config, liburcu-dev, systemd-dev
/me notices that on a bookworm system, systemd-dev only exists in
bookworm-backports as version 254.16. This is newer than the systemd
252.30 package, which causes a fair amount of mayhem here.
Is there a compelling reason to upgrade systemd on a stable debian
system?
I don't mind patching this back out for my own purposes, but thought I'd
make a note of this publicly.
--D
> Standards-Version: 4.0.0
> Homepage: https://xfs.wiki.kernel.org/
>
> --
> 2.45.2
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/6] debian: Debian and Ubuntu archive changes
2024-09-13 5:42 ` [PATCH 0/6] debian: Debian and Ubuntu archive changes Carlos Maiolino
@ 2024-09-16 22:38 ` Darrick J. Wong
0 siblings, 0 replies; 11+ messages in thread
From: Darrick J. Wong @ 2024-09-16 22:38 UTC (permalink / raw)
To: Carlos Maiolino; +Cc: Bastian Germann, linux-xfs
On Fri, Sep 13, 2024 at 07:42:22AM +0200, Carlos Maiolino wrote:
> On Thu, Sep 12, 2024 at 09:20:47AM GMT, Bastian Germann wrote:
> > Hi,
> >
> > I am forwarding all the changes that are in the Debian and Ubuntu
> > archives with a major structural change in the debian/rules file,
> > which gets the package to a more modern dh-based build flavor.
> >
> > Bastian Germann (6):
> > debian: Update debhelper-compat level
> > debian: Update public release key
> > debian: Prevent recreating the orig tarball
> > debian: Add Build-Depends: systemd-dev
> > debian: Modernize build script
Yeah!
> > debian: Correct the day-of-week on 2024-09-04
> >
> > debian/changelog | 2 +-
> > debian/compat | 2 +-
> > debian/control | 2 +-
> > debian/rules | 81 ++++++++----------------
> > debian/upstream/signing-key.asc | 106 ++++++++++++++------------------
> > 5 files changed, 75 insertions(+), 118 deletions(-)
>
> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
>
> Those changes look fine for me, but I'll wait Darrick's review too as he's more
> familiar with Debian than I am.
Looks fine to me too, modulo the thing that I noticed. I don't think
debian stable builds should hold up merging this series.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
--D
> Carlos
>
> >
> > --
> > 2.45.2
> >
> >
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 3/6] debian: Prevent recreating the orig tarball
2024-10-02 1:04 [PATCHSET 1/6] xfsprogs: " Darrick J. Wong
@ 2024-10-02 1:06 ` Darrick J. Wong
0 siblings, 0 replies; 11+ messages in thread
From: Darrick J. Wong @ 2024-10-02 1:06 UTC (permalink / raw)
To: aalbersh, djwong, cem; +Cc: Bastian Germann, linux-xfs
From: Bastian Germann <bage@debian.org>
Signed-off-by: Bastian Germann <bage@debian.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
debian/rules | 1 -
1 file changed, 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index c3fbcd262..98dafcab8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -103,7 +103,6 @@ binary-arch: checkroot built
$(pkgme) $(MAKE) -C . install
$(pkgdev) $(MAKE) -C . install-dev
$(pkgdi) $(MAKE) -C debian install-d-i
- $(pkgme) $(MAKE) dist
install -D -m 0755 debian/local/initramfs.hook debian/xfsprogs/usr/share/initramfs-tools/hooks/xfs
rmdir debian/xfslibs-dev/usr/share/doc/xfsprogs
rm -f debian/xfslibs-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libhandle.la
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2024-10-02 1:06 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 7:20 [PATCH 0/6] debian: Debian and Ubuntu archive changes Bastian Germann
2024-09-12 7:20 ` [PATCH 1/6] debian: Update debhelper-compat level Bastian Germann
2024-09-12 7:20 ` [PATCH 2/6] debian: Update public release key Bastian Germann
2024-09-12 7:20 ` [PATCH 3/6] debian: Prevent recreating the orig tarball Bastian Germann
2024-09-12 7:20 ` [PATCH 4/6] debian: Add Build-Depends: systemd-dev Bastian Germann
2024-09-16 22:35 ` Darrick J. Wong
2024-09-12 7:20 ` [PATCH 5/6] debian: Modernize build script Bastian Germann
2024-09-12 7:20 ` [PATCH 6/6] debian: Correct the day-of-week on 2024-09-04 Bastian Germann
2024-09-13 5:42 ` [PATCH 0/6] debian: Debian and Ubuntu archive changes Carlos Maiolino
2024-09-16 22:38 ` Darrick J. Wong
-- strict thread matches above, loose matches on Subject: below --
2024-10-02 1:04 [PATCHSET 1/6] xfsprogs: " Darrick J. Wong
2024-10-02 1:06 ` [PATCH 3/6] debian: Prevent recreating the orig tarball Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox