samwun
July 17th, 2004, 04:19
Hi,
I tried to build my own release for FreeBSD Current.
I run thru 8 steps manually with success:
(make release.1 to make release.8)
but failed in make release.9 with the following error:
# make release.9
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
ln: /R/stage/crunch/boot: No such file or directory
*** Error code 1
Stop in /usr/src/release.
*** Error code 1
Stop in /usr/src/release.
Any idea how to fix it?
then I copy the boot file from /R/stage/tree/boot/boot to /R/stage/crunch manually,and resume make release.9, but got a different error:
# make release.9
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
( cd /R/stage/mfsfd && for dir in bin sbin ; do ln -sf /stand $dir; done )
cp /R/stage/trees/base/sbin/dhclient-script /R/stage/mfsfd/stand
cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf
( for F in defaults/rc.conf netconfig protocols ; do sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' /R/stage/trees/base/etc/$F > /R/stage/mfsfd/stand/etc/$F ; done )
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' /R/stage/trees/base/etc/services | sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' > /R/stage/mfsfd/stand/etc/services
grep 'operator' /R/stage/trees/base/etc/group > /R/stage/mfsfd/stand/etc/group
ln /R/stage/mfsfd/stand/etc/services /R/stage/mfsfd/etc/services
ln /R/stage/mfsfd/stand/etc/group /R/stage/mfsfd/etc/group
ln /R/stage/mfsfd/stand/etc/netconfig /R/stage/mfsfd/etc/netconfig
cp /R/stage/trees/base/COPYRIGHT /R/stage/mfsfd/stand/help/COPYRIGHT.hlp
test -f /usr/src/release/install.cfg && cp /usr/src/release/install.cfg /R/stage/mfsfd
*** Error code 1 (ignored)
sh -e /usr/src/release/scripts/doFS.sh bsdlabel "i386" /R/stage/mfsroot/mfsroot /R/stage /mnt /R/stage/mfsfd
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=-m i386
+ shift
+ FSIMG=/R/stage/mfsroot/mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=/R/stage/mfsfd
+ shift
+ FSPROTO=
+ shift
shift: can't shift that many
*** Error code 2
thanks
sam
I tried to build my own release for FreeBSD Current.
I run thru 8 steps manually with success:
(make release.1 to make release.8)
but failed in make release.9 with the following error:
# make release.9
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
ln: /R/stage/crunch/boot: No such file or directory
*** Error code 1
Stop in /usr/src/release.
*** Error code 1
Stop in /usr/src/release.
Any idea how to fix it?
then I copy the boot file from /R/stage/tree/boot/boot to /R/stage/crunch manually,and resume make release.9, but got a different error:
# make release.9
cp /R/stage/trees/base/etc/disktab /etc
rm -rf /R/stage/mfsfd
mkdir /R/stage/mfsfd
cd /R/stage/mfsfd && mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
( cd /R/stage/mfsfd && for dir in bin sbin ; do ln -sf /stand $dir; done )
cp /R/stage/trees/base/sbin/dhclient-script /R/stage/mfsfd/stand
cp /usr/src/release/../etc/usbd.conf /R/stage/mfsfd/etc/usbd.conf
( for F in defaults/rc.conf netconfig protocols ; do sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' /R/stage/trees/base/etc/$F > /R/stage/mfsfd/stand/etc/$F ; done )
grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' /R/stage/trees/base/etc/services | sed -e '/^#.*$/d' -e 's/[:space:]*#.*$//g' > /R/stage/mfsfd/stand/etc/services
grep 'operator' /R/stage/trees/base/etc/group > /R/stage/mfsfd/stand/etc/group
ln /R/stage/mfsfd/stand/etc/services /R/stage/mfsfd/etc/services
ln /R/stage/mfsfd/stand/etc/group /R/stage/mfsfd/etc/group
ln /R/stage/mfsfd/stand/etc/netconfig /R/stage/mfsfd/etc/netconfig
cp /R/stage/trees/base/COPYRIGHT /R/stage/mfsfd/stand/help/COPYRIGHT.hlp
test -f /usr/src/release/install.cfg && cp /usr/src/release/install.cfg /R/stage/mfsfd
*** Error code 1 (ignored)
sh -e /usr/src/release/scripts/doFS.sh bsdlabel "i386" /R/stage/mfsroot/mfsroot /R/stage /mnt /R/stage/mfsfd
+ export BLOCKSIZE=512
+ DISKLABEL=bsdlabel
+ shift
+ MACHINE=-m i386
+ shift
+ FSIMG=/R/stage/mfsroot/mfsroot
+ shift
+ RD=/R/stage
+ shift
+ MNT=/mnt
+ shift
+ FSSIZE=/R/stage/mfsfd
+ shift
+ FSPROTO=
+ shift
shift: can't shift that many
*** Error code 2
thanks
sam