@@ -703,7 +703,7 fi | |||||
703 | # Execute custom scripts inside the chroot |
|
703 | # Execute custom scripts inside the chroot | |
704 | if [ -n "$CHROOT_SCRIPTS" ] && [ -d "$CHROOT_SCRIPTS" ] ; then |
|
704 | if [ -n "$CHROOT_SCRIPTS" ] && [ -d "$CHROOT_SCRIPTS" ] ; then | |
705 | cp -r "${CHROOT_SCRIPTS}" "${R}/chroot_scripts" |
|
705 | cp -r "${CHROOT_SCRIPTS}" "${R}/chroot_scripts" | |
706 |
chroot_exec /bin/bash -x << |
|
706 | chroot_exec /bin/bash -x << EOF | |
707 |
|
|
707 | for SCRIPT in /chroot_scripts/* ; do | |
708 |
|
|
708 | if [ -f $SCRIPT -a -x $SCRIPT ] ; then | |
709 |
|
|
709 | $SCRIPT |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant