The best way to upgrade my FreeBSD and its jails
Redd Vinylene
reddvinylene at gmail.com
Fri Aug 1 17:26:22 UTC 2008
My dedicated server is mother, its two jails are camel and box. Is
this the best way to upgrade all of them?
Pretty cool huh?
-
# FreeBSD/i386 mother.reddvinylene.no
csup /etc/cvsupfile && \
cd /usr/src && \
make buildworld && \
make buildkernel && \
make installworld && \
make installkernel && \
make delete-old && \
make delete-old-libs && \
mergemaster -U&& \
export D=/usr/jail/camel && \
make installworld DESTDIR=$D && \
make installworld installkernel DESTDIR=$D && \
make delete-old DESTDIR=$D && \
make delete-old-libs DESTDIR=$D && \
cd etc/ && \
make distribution DESTDIR=$D && \
cd .. && \
mergemaster -U -D $D && \
export D=/usr/jail/box && \
make installworld DESTDIR=$D && \
make installworld installkernel DESTDIR=$D && \
make delete-old DESTDIR=$D && \
make delete-old-libs DESTDIR=$D && \
cd etc/ && \
make distribution DESTDIR=$D && \
cd .. && \
mergemaster -U -D $D && \
chflags -R noschg /usr/obj/* && \
rm -rf /usr/obj/*
-
Redd Vinylene
http://www.home.no/reddvinylene
More information about the freebsd-jail
mailing list