Date: Tue, 26 Sep 2006 13:40:47 +0530 From: "Joseph Koshy" <joseph.koshy@gmail.com> To: "Ulrich Spoerlein" <uspoerlein@gmail.com> Cc: stable@freebsd.org Subject: Re: make release vs. installworld Message-ID: <84dead720609260110n4ba360a3r3eee0a9de6c2312e@mail.gmail.com> In-Reply-To: <7ad7ddd90609260030g24ed098ft534719cd4c396570@mail.gmail.com> References: <7ad7ddd90609260030g24ed098ft534719cd4c396570@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I am building my own releases for FreeBSD. When upgrading a server to the > new release, I'd like to use the 'make installworld' procedure. Therefore > I'm mounting the /usr/src and /usr/obj from the release build via NFS onto > the server in question. Are you running "make buildworld" on one host and "make installworld" on another? That isn't guaranteed to work AFAIK. You need to run both steps on the same host. Use DESTDIR=/path-to-nfs-mount-point. Note that you can build a 'world' for a different target architecture than that the build machine is running. > However, installworld will fail, as it looks like some binaries are not > built inside the chrooted make release build. First missing binary is > cat(1). After manually building it, the installworld stops at chmod(1) > > ===> bin/chio (install) > install -s -o root -g wheel -m 555 chio /bin > install -o root -g wheel -m 444 chio.1.gz /usr/share/man/man1 > ===> bin/chmod (install) > install -s -o root -g wheel -m 555 chmod /bin > install: chmod: No such file or directory > *** Error code 71 > So, what's the recommended way to a) build own releases and b) update your > servers with it. See /usr/src/UPDATING, look for "COMMON ITEMS". -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720609260110n4ba360a3r3eee0a9de6c2312e>