Bug#542837: pbuilder has issues with kfreebsd-*

Andreas Barth aba at not.so.argh.org
Sun Nov 29 10:44:56 UTC 2009


* Junichi Uekawa (dancer at netfort.gr.jp) [091129 11:18]:
> So, would 'mount -o bind ' to 'mount -tnullfs ' just work?

Yes, it does. However, it cannot mount into a subdirectory of itself,
i.e.  mounting /home/aba/ into /home/aba/pbuilder/1234 doesn't work
(but /home/aba/buildplace into /home/aba/pbuilder/1234 does). (That's
just some information for an README, I don't think there needs to be
any code detecting that.)


Also, please note that the filesystems are named different:
devfs on /dev (devfs, local)
linprocfs on /proc (linprocfs, local)
linsysfs on /sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)

If you do "bind" (i.e. nullfs-mounts on kbsd) from the main file
system into the build file system, things shouldn't be different
between Linux and kbsd for these directories.


> I don't have a kfreebsd instance handy to test this, so I would like
> to make sure. It would be super if you could supply a patch that I
> could patch in, but since there is no real code to support multiple
> architectures in pbuilder, it might need a bit more infrastructure
> change.

If you have a premilinary code with architecture support, I'm happy to
test and adjust it (or just code the bsd parts into it if I know where
I should code them into).



Cheers,
Andi





More information about the Pbuilder-maint mailing list