* Junichi Uekawa ([email protected]) [090918 17:27]:
> Hmmm... Did you actually got around to trying ? I'm wondering if
> fixing the mounting would fix all the problems or I still need a lot
> more to go.
pbuilder works with this setting in normal mode (i.e. pdebuild without
--use-pdebuild-internal):
USEPROC=no
USEDEVFS=no
USEDEVPTS=no
--use-pdebuild-internal failed with the error indicated.
I tried with the following change:
for mnt in $BINDMOUNTS; do
log "I: Mounting $mnt"
if mkdir -p "$BUILDPLACE/$mnt" &&
mount -tnullfs "$mnt" "$BUILDPLACE/$mnt"; then
# successful.
mounted[${#mount...@]}]="$mnt"
else
in /usr/lib/pbuilder/pbuilder-modules (change of mount only).
In this case, pdebuild --use-pdebuild-internal worked and built
successfully.
However, there is a restriction compared with Linux:
mount /root /root/build/720/root/ -t nullfs
fails, so some setups that work on Linux fail on kbsd.
(I used an buildplace outside of my home, then it worked.)
I didn't tried to change the proc-mounts etc but wouldn't expect
surprises there.
Cheers,
Andi
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]