hello
i'm trying to build my own release cd for 4-STABLE branch. doing make
release BUILDNAME=4-STABLE-20050328-0300 CHROOTDIR=/usr/release
CVSROOT=/home/ncvs RELEASETAG=RELENG_4 -DSEPARATE_LIVEFS in
/usr/src/release results in error like this
cd /usr/src/release/../etc && make distrib-dirs
DESTDIR=/R/stage/trees/bin
set - `grep "^[a-zA-Z]" /usr/src/etc/locale.deprecated`; while [ $#
-gt 0
] ; do for dir in /usr/share/locale /usr/share/nls
/usr/local/share/nls; do test -d /R/stage/trees/bin/${dir} && cd
/R/stage/trees/bin/${dir}; test -L "$2" && rm -rf
"$2"; test \! -L "$1"
&& test -d "$1" && mv "$1" "$2";
done; shift; shift; done
mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /R/stage/trees/bin/
mtree: /R/stage/trees/bin/: No such file or directory
*** Error code 1
Stop in /usr/src/etc.
*** Error code 1
Stop in /usr/src/release.
+ umount /dev
*** Error code 1
Stop in /usr/src/release.
what to change in my make command or in system to build release? host
system is 5.3-STABLE
On Tue, Mar 29, 2005 at 04:41:55PM +0400, Michael Lednev wrote:> hello > > i'm trying to build my own release cd for 4-STABLE branch. doing make > release BUILDNAME=4-STABLE-20050328-0300 CHROOTDIR=/usr/release > CVSROOT=/home/ncvs RELEASETAG=RELENG_4 -DSEPARATE_LIVEFS in > /usr/src/release results in error like this > > cd /usr/src/release/../etc && make distrib-dirs DESTDIR=/R/stage/trees/bin > set - `grep "^[a-zA-Z]" /usr/src/etc/locale.deprecated`; while [ $# -gt 0 > ] ; do for dir in /usr/share/locale /usr/share/nls > /usr/local/share/nls; do test -d /R/stage/trees/bin/${dir} && cd > /R/stage/trees/bin/${dir}; test -L "$2" && rm -rf "$2"; test \! -L "$1" > && test -d "$1" && mv "$1" "$2"; done; shift; shift; done > mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p /R/stage/trees/bin/ > mtree: /R/stage/trees/bin/: No such file or directory > *** Error code 1 > > Stop in /usr/src/etc. > *** Error code 1 > > Stop in /usr/src/release. > + umount /dev > *** Error code 1 > > Stop in /usr/src/release. > > what to change in my make command or in system to build release? host > system is 5.3-STABLE > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"This is not an officially supported way of building releases. That's why there is some magic to finish this procedure. Even if it will complete successfully it won't neccessary mean it will work correctly. You'd better try building 4.x release on RELENG_4 box. However if you don't have an opportunity to do so maybe I'll be able to provide you with some help. I did built RELENG_5 release on RELENG_4 box successfully some time ago. Contact me offline if you are still interested. -ip -- You can lead a horse to water, but if you can get him to float on his back, you've really got something.
Hi, Michael Lednev,
Tuesday, March 29, 2005, 4:41:55 PM:
ML> what to change in my make command or in system to build release? host
ML> system is 5.3-STABLE
You can try the following:
1. Change /etc/make.conf
OSVERSION=491102 # st this to kern.osreldate value in RELENG_4
OSREL=4.11
2. make buildworld
3. make release ....
after done release.2 break it, and put into ${CHROOTDIR}/etc/make.conf
OSVERSION and OSREL variables like /etc/make.conf
4. make rerelase with RELEASENOUPDATE=yes
5. After done release.7 release fail in doFS.sh. You must build
mdconfig without shared libraries. Go in source code tree of
current 5.3 system, into src/sbin/mdconfig and "make -DNOSHARED
depend all". Copy mdconfig from obj/usr/src/sbin/mdconfig into
${CHROOTDIR}/sbin/
6. Mount devfs:
mount_devfs devfs ${CHROOTDIR}/dev
7. make rerelease ....
--
WBR, Andrey V. Elsukov