1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Don't do make release and make install in one step. Setting DESTDIR for

make release has deleterious consequences.
This commit is contained in:
Nathan Whitehorn 2011-04-11 15:03:01 +00:00
parent d474a63433
commit 8ef63d0dcd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220542
2 changed files with 4 additions and 2 deletions

View File

@ -60,5 +60,6 @@ if [ -d $2/usr/doc ]; then
fi
chroot $2 /bin/sh -c "cd /usr/src && make $MAKE_FLAGS buildworld buildkernel" || exit 1
chroot $2 /bin/sh -c "cd /usr/src/release && make release install DESTDIR=/R" || exit 1
chroot $2 /bin/sh -c "cd /usr/src/release && make release" || exit 1
chroot $2 /bin/sh -c "cd /usr/src/release && make install DESTDIR=/R" || exit 1

View File

@ -295,7 +295,8 @@ svn co svn://svn.freebsd.org/base/head src
cd src
make buildworld
cd release
make release install DESTDIR=/var/freebsd-snapshot
make release
make install DESTDIR=/var/freebsd-snapshot
.Ed
.Pp
After running these commands, all produced distribution files (tarballs