make release fails

Michael Lednev freebsd-maillists at
Tue Mar 29 20:02:37 PST 2005


i'm trying to build my own release cd for 4-STABLE branch. doing make  
release BUILDNAME=4-STABLE-20050328-0300 CHROOTDIR=/usr/release  
/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

More information about the freebsd-stable mailing list