release.sh: add /usr/pkg/bin to $PATH for clang
This commit is contained in:
parent
881431bf7e
commit
83b3a3df74
1 changed files with 2 additions and 2 deletions
|
@ -239,7 +239,7 @@ chown -R root $RELEASEDIR/usr/share/mk
|
||||||
cp chrootmake.sh $RELEASEDIR/usr/$SRC/tools/chrootmake.sh
|
cp chrootmake.sh $RELEASEDIR/usr/$SRC/tools/chrootmake.sh
|
||||||
|
|
||||||
echo " * Make hierarchy"
|
echo " * Make hierarchy"
|
||||||
chroot $RELEASEDIR "PATH=/$XBIN sh -x /usr/$SRC/tools/chrootmake.sh etcfiles" || exit 1
|
chroot $RELEASEDIR "PATH=/$XBIN:/usr/pkg/bin sh -x /usr/$SRC/tools/chrootmake.sh etcfiles" || exit 1
|
||||||
|
|
||||||
for p in $PREINSTALLED_PACKAGES
|
for p in $PREINSTALLED_PACKAGES
|
||||||
do echo " * Pre-installing: $p from $PKG_ADD_URL"
|
do echo " * Pre-installing: $p from $PKG_ADD_URL"
|
||||||
|
@ -247,7 +247,7 @@ do echo " * Pre-installing: $p from $PKG_ADD_URL"
|
||||||
done
|
done
|
||||||
|
|
||||||
echo " * Chroot build"
|
echo " * Chroot build"
|
||||||
chroot $RELEASEDIR "PATH=/$XBIN MAKEMAP=$MAKEMAP sh -x /usr/$SRC/tools/chrootmake.sh" || exit 1
|
chroot $RELEASEDIR "PATH=/$XBIN:/usr/pkg/bin MAKEMAP=$MAKEMAP sh -x /usr/$SRC/tools/chrootmake.sh" || exit 1
|
||||||
# Copy built images for cd booting
|
# Copy built images for cd booting
|
||||||
cp $RELEASEDIR/boot/image_big image
|
cp $RELEASEDIR/boot/image_big image
|
||||||
echo " * Chroot build done"
|
echo " * Chroot build done"
|
||||||
|
|
Loading…
Reference in a new issue