Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 07:49:45 +0100
From:      David Dooley <dpd@raffles-it.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problems corss mounting /usr/src and /usr/obj
Message-ID:  <20020717074945.344a8a16.dpd@raffles-it.com>

next in thread | raw e-mail | index | archive | help
--=.014Cdg:OIHGPkI
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I have given my self a new problem. I have a selection of machines that
all nfs mount /usr/build filesystem from a development server, each
machine then has softlinks from /usr/src -> /usr/build/src and the
equivelent for /usr/obj and /usr/ports. 

As all machines used to mount the /usr/build filesystem and all had the
relevant softlinks all my installkernel and installworlds worked. I have
now implemented 'amd' on all the client machines for the /usr/build
mount. This has caused the real mount point for /usr/build to change to
be /.a/dev/usr/build and any 'make installworld' fails with the
following error

# make installkernel
cd /usr/obj/.a/dev/usr/src/sys/GATE;  MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  OBJFORMAT_PATH=/usr/obj/.a/dev/usr/src/i386/usr/libexec  PERL5LIB=/usr/obj/.a/dev/usr/src/i386/usr/libdata/perl/5.00503  GROFF_BIN_PATH=/usr/obj/.a/dev/usr/src/i386/usr/bin  GROFF_FONT_PATH=/usr/obj/.a/dev/usr/src/i386/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/.a/dev/usr/src/i386/usr/share/tmac make KERNEL=kernel install
cd: can't cd to /usr/obj/.a/dev/usr/src/sys/GATE
*** Error code 2

Stop in /.a/dev/usr/src.
*** Error code 1

Stop in /.a/dev/usr/src.

Has any one any ideas as to how I can go about masking the change of
location and get the build system to use the soflinked paths and not the
absoloute paths?

Thanks

David.
--=.014Cdg:OIHGPkI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9NROQiTCzTVFwd6wRAmj2AJ9Qt4RoJr/I6PdNV0j7bWe8DPVGGgCgskX6
jsJDQr5GjZjL13P7qCiJHIw=
=jKDh
-----END PGP SIGNATURE-----

--=.014Cdg:OIHGPkI--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717074945.344a8a16.dpd>