Fixing make install and chroot make process; revision should not be part

of cvs
This commit is contained in:
Ben Gras 2005-04-22 16:16:23 +00:00
parent 7cd999d65f
commit ec96454af3
4 changed files with 6 additions and 14 deletions

View file

@ -66,6 +66,7 @@ hdboot: image
fdboot: image fdboot: image
exec su root mkboot $@ exec su root mkboot $@
install: hdboot
# clean up compile results # clean up compile results
clean: clean:

View file

@ -1,20 +1,12 @@
#!/bin/sh #!/bin/sh
DIST=/usr/dist
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
cd /usr || exit 1
tar cf src.tar src || exit 1
cd /usr/src || exit 1 cd /usr/src || exit 1
mkdir -p $DIST
#echo "Making src.tar"
#tar cf /dist/src.tar /usr/src || exit 1
make world install || exit 1 make world install || exit 1
cd tools || exit 1 cd tools || exit 1
make hdboot make hdboot
cd /usr || exit 1
#rm -rf /usr/src rm -rf /usr/src || exit 1
#echo "Making bin.tar"
#tar cf /dist/bin.tar /
exit 0 exit 0

View file

@ -47,7 +47,7 @@ hdboot)
# Install a new image on the root device. # Install a new image on the root device.
if [ ! -d $rootdir/boot/image ] if [ ! -d $rootdir/boot/image ]
then then
# /boot/image is not yet a directory! Fix it. /boot/image is not yet a directory! Fix it.
su root -c \ su root -c \
"exec mv $rootdir/boot/image /M" "exec mv $rootdir/boot/image /M"
install -d $rootdir/boot/image install -d $rootdir/boot/image

View file

@ -1 +0,0 @@
61