On Sun, Jan 19, 2003 at 05:05:37PM -0800, Darren Pilgrim wrote: > > How do tell make to use /5/usr/obj instead of /usr/obj? Will > MAKEOBJDIRPREFIX=/5/usr/obj do this? > > I have more questons: > > Can I force make to ignore /etc/make.conf and /etc/defaults/make.conf and > read another set of config files? Would it be safe to use > /5/usr/src/etc/defaults/make.conf? > > Will DESTDIR=/5 cause the new build tools to install under /5 as well, or > do I need to set something else to avoid having my 4.7p3 build tools > clobbered? > > So far I have this set of commands: > > # cd /5/usr/src && MAKEOBJDIRPREFIX=/5/usr/obj DESTDIR=/5 make buildworld > # MAKEOBJDIRPREFIX=/5/usr/obj DESTDIR=/5 make kernel > # MAKEOBJDIRPREFIX=/5/usr/obj DESTDIR=/5 make installworld > # cd /5/usr/src/etc && DESTDIR=/5 make distribution
MAKEOBJDIRPREFIX is probably redundant here, but I don't know. > # cd /5/usr/src/release/sysinstall && make clean && make all install sysinstall now lives in usr/sbin, so it'll be taken care of by the regular build/installworld. > # install -o root -g wheel -m 0555 /5/usr/src/etc/MAKEDEV /5/dev/MAKEDEV > # cd /5/dev && ./MAKEDEV all ad4 ad4s2h ad4s3h ad4s4h ums1 vn1 vty16 Don't do these two, MAKEDEV isn't needed in 5.0, even though it still exists, and when DEVFS is mounted on /dev, this stuff will get lost anyway (and take up disk space). > # disklabel -B -b /mnt/boot/boot1 -s /mnt/boot/boot2 /dev/ad4s3 Don't you mean # disklabel -B -b /5/boot/boot1 -s /5/boot/boot2 /dev/ad4s3 ? -- Ray Kohler <[EMAIL PROTECTED]> After living in New York, you trust nobody, but you believe everything. Just in case. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message