]> Zhao Yanbai Git Server - minix.git/commitdiff
minor release.sh fixes and tweaks
authorBen Gras <ben@minix3.org>
Wed, 9 Feb 2011 16:48:10 +0000 (16:48 +0000)
committerBen Gras <ben@minix3.org>
Wed, 9 Feb 2011 16:48:10 +0000 (16:48 +0000)
- pre-install bmake for further (future) base/pkgsrc disentanglement
- print url properly for pre-install source
- correct <minix/sys_config.h> source location

tools/release.sh

index 086111a8f02f1decf1377ee061b0bc9821cec247..22995509d8d47b5de1bac8214cbc00bca08f85ab 100755 (executable)
@@ -12,7 +12,7 @@ secs=`expr 32 '*' 64`
 export SHELL=/bin/sh
 
 # Packages we have to pre-install, and url to use
-PREINSTALLED_PACKAGES="pkgin-0.3.3.4.tgz pkg_install-20101212"
+PREINSTALLED_PACKAGES="pkgin-0.3.3.4.tgz pkg_install-20101212 bmake-20100808"
 PACKAGEURL=ftp://ftp.minix3.org/pub/minix/packages/`uname -r`/`uname -m`/All/
 
 RELEASERC=$HOME/.releaserc
@@ -282,7 +282,7 @@ cp -rp /usr/lib $RELEASEDIR/usr
 cp -rp /bin/sh /bin/echo $RELEASEDIR/bin
 cp -rp /usr/bin/make /usr/bin/install /usr/bin/yacc /usr/bin/lex /usr/bin/asmconv $RELEASEDIR/usr/bin
 
-CONFIGHEADER=$RELEASEDIR/usr/src/include/minix/sys_config.h
+CONFIGHEADER=$RELEASEDIR/usr/src/common/include/minix/sys_config.h
 
 if [ -d $PACKAGEDIR -a -f $PACKAGELIST -a $PACKAGES -ne 0 ]
 then
@@ -415,7 +415,7 @@ echo " * Make hierarchy"
 chroot $RELEASEDIR "PATH=/$XBIN sh -x /usr/$SRC/tools/chrootmake.sh etcfiles" || exit 1
 
 for p in $PREINSTALLED_PACKAGES
-do     echo " * Pre-installing: $p from $url"
+do     echo " * Pre-installing: $p from $PACKAGEURL"
     pkg_add -P $RELEASEDIR $PACKAGEURL/$p
 done