[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating Hurd chroots on Linux using DPKG_ROOT chrootless mode



Hello, I'm back once again :)

Quoting Johannes Schauer Marin Rodrigues (2024-02-07 18:07:21)
> And in unshare mode, uname -s prints "Linux" because I'm running this on
> linux.  Do you happen to know what this conditional is for on non-linux
> systems?  Instead of calling uname, maintainerscripts could (and probably
> should) use $DPKG_MAINTSCRIPT_ARCH.
> 
> So I hacked around that by replacing /bin/uname with a shell script that prints
> something that is not "Linux". And then it works!

I filed bugs against util-linux (#1063638), sysvinit (#1063629, #1063639) and
glibc (#1063624) and the last of those bugs was fixed yesterday with the new
glibc upload. So I tried the whole thing again and we got a new blocker:

https://buildd.debian.org/status/package.php?p=fakeroot

Do you see an easy way to fix fakeroot on hurd-i386 or should I just disable
fakeroot mode? Or maybe I should switch my tests from hurd-i386 to hurd-amd64?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature


Reply to: