Bug#1063639: initscripts.postinst: avoid calling uname for non-empty DPKG_ROOT
Johannes Schauer Marin Rodrigues
josch at debian.org
Sat Feb 10 10:20:22 GMT 2024
Source: sysvinit
Version: 3.08-6
Severity: normal
Tags: patch
X-Debbugs-Cc: debian-hurd at lists.debian.org
User: debian-hurd at lists.debian.org
Usertags: hurd-i386
User: debian-dpkg at lists.debian.org
Usertags: dpkg-root-support
Hi,
this bug is similar to #1063629 in that it removes another use of "uname -s"
from maintainer scripts so that it will become possible to create chroots of a
foreign kernel using dpkg --force-script chroootless. In contrast to the other
bug, the solution I propose in this bug uses a non-empty DPKG_ROOT as an
indicator not to call "uname -s". The patch can be found here:
https://salsa.debian.org/debian/sysvinit/-/merge_requests/13
Thanks!
cheers, josch
More information about the Debian-init-diversity
mailing list