From: Ben Gras Date: Wed, 9 Feb 2011 16:48:10 +0000 (+0000) Subject: minor release.sh fixes and tweaks X-Git-Tag: v3.2.0~680 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/named.html?a=commitdiff_plain;h=a909eaa9b1e85547182cdb62419d201d6c3230c6;p=minix.git minor release.sh fixes and tweaks - pre-install bmake for further (future) base/pkgsrc disentanglement - print url properly for pre-install source - correct source location --- diff --git a/tools/release.sh b/tools/release.sh index 086111a8f..22995509d 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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