summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-09-01 18:27:39 +0000
committerluigi <luigi@FreeBSD.org>2001-09-01 18:27:39 +0000
commit056bad6e37214da97a729e22475476016588e773 (patch)
tree7b147edbd72c645b92a55a5ca76ae92a73ce27b7 /release
parent91ecbe11ac43371a199f60ef54cfef2011fdb901 (diff)
downloadFreeBSD-src-056bad6e37214da97a729e22475476016588e773.zip
FreeBSD-src-056bad6e37214da97a729e22475476016588e773.tar.gz
Bugfix: Use the correct variable for picobsd type (same bug is
present in STABLE). Also add a bit more logging (when enabled).
Diffstat (limited to 'release')
-rwxr-xr-xrelease/picobsd/build/picobsd11
1 files changed, 6 insertions, 5 deletions
diff --git a/release/picobsd/build/picobsd b/release/picobsd/build/picobsd
index bb8ded9..60ceb42 100755
--- a/release/picobsd/build/picobsd
+++ b/release/picobsd/build/picobsd
@@ -313,7 +313,7 @@ this as small as possible. " 10 70 2> ${RISU} || rm ${RISU}
# Call the build procedure
# Install image
do_install() {
- dialog --title "Build ${TYPE} completed" --inputbox \
+ dialog --title "Build ${THETYPE} completed" --inputbox \
"\nThe build process was completed successfuly.\n\
`cat .build.reply` \n\n\
Now we are going to install the image on the floppy.\n\
@@ -345,7 +345,8 @@ init_stage1() {
. ${MY_TREE}/config
fi
- PICO_OBJ=${OBJ}/picobsd/${TYPE}
+ PICO_OBJ=${OBJ}/picobsd/${THETYPE}
+ log "PICO_OBJ is ${PICO_OBJ}"
if [ ! -d ${BUILDDIR} ]; then
log "Creating builddir"
@@ -387,7 +388,7 @@ do_kernel() { # OK
populate_floppy_fs() { # OK
dst=${BUILDDIR}/floppy.tree
- log "---> Populating floppy filesystem..."
+ log "---> pwd=`pwd` Populating floppy filesystem..."
# clean relics from old compilations. This is the destination.
rm -rf $dst || true
@@ -462,8 +463,8 @@ create_mfs() { # OK
# Finally, if required, make a copy of the floppy.tree onto /fd
populate_mfs() {
- log "---> Populating MFS tree..."
- cd ../${TYPE}
+ log "---> pwd=`pwd`, Populating MFS tree..."
+ # cd ${THETYPE}
log "---> Running mtree ..."
if [ -f ${MY_TREE}/mfs.mtree ] ; then
OpenPOWER on IntegriCloud