diff options
author | jmmv <jmmv@pkgsrc.org> | 2002-12-28 14:58:31 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2002-12-28 14:58:31 +0000 |
commit | fad8adc322436dfe5c1a1eeaf0c3cafb481ae56b (patch) | |
tree | d373eed596e10d35e43c33a79150cb9495ed9f3d /sysutils | |
parent | e2f70f199552f375e188cba00ab578d4f845d1cc (diff) | |
download | pkgsrc-fad8adc322436dfe5c1a1eeaf0c3cafb481ae56b.tar.gz |
Update sysbuild to 1.7:
- Set DESTDIR properly while building toolchain.
- Create HOMEDIR if not exists when copying the sample configuration file
(by the config target).
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/sysbuild/Makefile | 4 | ||||
-rw-r--r-- | sysutils/sysbuild/files/sysbuild.sh | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sysutils/sysbuild/Makefile b/sysutils/sysbuild/Makefile index 45b42e68ca1..437403eef38 100644 --- a/sysutils/sysbuild/Makefile +++ b/sysutils/sysbuild/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2002/12/19 14:23:00 jmmv Exp $ +# $NetBSD: Makefile,v 1.9 2002/12/28 14:58:31 jmmv Exp $ # -DISTNAME= sysbuild-1.6 +DISTNAME= sysbuild-1.7 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/sysutils/sysbuild/files/sysbuild.sh b/sysutils/sysbuild/files/sysbuild.sh index 53dab1fe410..c4bfbf44b67 100644 --- a/sysutils/sysbuild/files/sysbuild.sh +++ b/sysutils/sysbuild/files/sysbuild.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: sysbuild.sh,v 1.7 2002/12/19 12:55:57 jmmv Exp $ +# $NetBSD: sysbuild.sh,v 1.8 2002/12/28 14:58:32 jmmv Exp $ # # sysbuild - Automatic NetBSD system builds # Copyright (c) 2002, Julio Merino <jmmv@netbsd.org> @@ -360,7 +360,7 @@ sysbuild_build_tools() { printf "Building tools (toolchain):" cd $SRCDIR rm -rf $BUILDDIR/tools/* - BSDSRCDIR=$SRCDIR BSDOBJDIR=$BUILDDIR/obj OBJMACHINE=yes MKOBJDIRS=yes ./build.sh -T $BUILDDIR/tools -t >> $_log 2>&1 + BSDSRCDIR=$SRCDIR BSDOBJDIR=$BUILDDIR/obj OBJMACHINE=yes MKOBJDIRS=yes ./build.sh -T $BUILDDIR/tools -t -D $BUILDDIR/root >> $_log 2>&1 if [ $? -ne 0 ]; then echo " failed." else @@ -544,6 +544,10 @@ sysbuild_init() { sysbuild_config() { check_root + if [ ! -d "@SYSBUILD_HOMEDIR@" ]; then + mkdir -p @SYSBUILD_HOMEDIR@ + fi + _conf="$1" if [ -z "$_conf" ]; then _conf="default" |