Hi, Quoting Johannes Schauer Marin Rodrigues (2026-07-26 02:00:47) > Quoting Johannes Schauer Marin Rodrigues (2026-07-22 09:43:08) > > more than a month ago, these two MRs got filed: > > > > https://salsa.debian.org/debian/ifupdown/-/merge_requests/31 > > https://salsa.debian.org/debian/ifupdown/-/merge_requests/32 > > > > missing DPKG_ROOT support in ifupdown is currently the only remaining > > blocker > > for building bootable GNU/Hurd installations on Linux. > > > > Could you please take a look at those two MRs and prepare a new upload? > > > > If you need help, I can also merge and NMU for you. I see that Santiago > > already > > approved both MRs a month ago. > > if you are short on time, I can also offer to NMU these changes.
since there was no response on neither the salsa MRs nor on this bug report, I'm uploading a NMU with the changes from MR32 with maximum delay of 15 days. I included the changes from MR31 and will update packaging git if you do not cancel the upload. A debdiff is attached for your convenience. Thanks! cheers, josch
diff -Nru ifupdown-0.8.45/debian/changelog ifupdown-0.8.45+nmu1/debian/changelog --- ifupdown-0.8.45/debian/changelog 2026-01-07 12:05:46.000000000 +0100 +++ ifupdown-0.8.45+nmu1/debian/changelog 2026-08-11 02:21:06.000000000 +0200 @@ -1,3 +1,14 @@ +ifupdown (0.8.45+nmu1) unstable; urgency=medium + + [ Luca Boccassi ] + * Non-maintainer upload. + * Install and use sysusers.d config file + + [ Johannes Schauer Marin Rodrigues ] + * debian/postinst: support $DPKG_ROOT (Closes: #1142787) + + -- Johannes Schauer Marin Rodrigues <[email protected]> Tue, 11 Aug 2026 02:21:06 +0200 + ifupdown (0.8.45) unstable; urgency=medium * Upload to unstable. diff -Nru ifupdown-0.8.45/debian/control ifupdown-0.8.45+nmu1/debian/control --- ifupdown-0.8.45/debian/control 2026-01-07 12:05:44.000000000 +0100 +++ ifupdown-0.8.45+nmu1/debian/control 2026-08-11 02:21:06.000000000 +0200 @@ -7,7 +7,8 @@ Josué Ortega <[email protected]>, Santiago Ruano Rincón <[email protected]>, Standards-Version: 4.6.1 -Build-Depends: debhelper-compat (= 13) +Build-Depends: debhelper-compat (= 13), + dh-sequence-installsysusers Vcs-Git: https://salsa.debian.org/debian/ifupdown.git Vcs-Browser: https://salsa.debian.org/debian/ifupdown Rules-Requires-Root: no @@ -15,7 +16,6 @@ Package: ifupdown Architecture: any Depends: ${net:Depends}, ${shlibs:Depends}, ${misc:Depends}, - adduser, iproute2 [linux-any], freebsd-net-tools [kfreebsd-any], inetutils-tools [hurd-any] Recommends: dhcpcd-base | dhcp-client Suggests: ppp, rdnssd, ${net:Suggests} diff -Nru ifupdown-0.8.45/debian/ifupdown.sysusers ifupdown-0.8.45+nmu1/debian/ifupdown.sysusers --- ifupdown-0.8.45/debian/ifupdown.sysusers 1970-01-01 01:00:00.000000000 +0100 +++ ifupdown-0.8.45+nmu1/debian/ifupdown.sysusers 2026-08-11 02:21:06.000000000 +0200 @@ -0,0 +1 @@ +g netdev diff -Nru ifupdown-0.8.45/debian/postinst ifupdown-0.8.45+nmu1/debian/postinst --- ifupdown-0.8.45/debian/postinst 2026-01-06 11:32:43.000000000 +0100 +++ ifupdown-0.8.45+nmu1/debian/postinst 2026-08-11 02:21:06.000000000 +0200 @@ -7,20 +7,18 @@ report_warn() { report "Warning: $*" >&2 ; } report_err() { report "Error: $*" >&2 ; } -if [ "$1" = configure ]; then - addgroup --quiet --system netdev || true -fi - # Generic stuff done on all configurations if [ "$1" = "configure" ] ; then # We don't need loopback interface definition anymore as # ifupdown handles loopback interface on its own from now - if [ ! -f /etc/network/interfaces ] ; then + if [ ! -f "$DPKG_ROOT/etc/network/interfaces" ] ; then if [ -z "$2" ]; then echo "Creating /etc/network/interfaces." - echo "# interfaces(5) file used by ifup(8) and ifdown(8)" > /etc/network/interfaces - echo "# Include files from /etc/network/interfaces.d:" >> /etc/network/interfaces - echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces + { + echo "# interfaces(5) file used by ifup(8) and ifdown(8)"; + echo "# Include files from /etc/network/interfaces.d:"; + echo "source /etc/network/interfaces.d/*"; + } > "$DPKG_ROOT/etc/network/interfaces" else report_warn "/etc/network/interfaces does not exist" fi
signature.asc
Description: signature

