diff --git a/scripts/chroot.sh b/scripts/chroot.sh index 51dc43dae9624b56481f894578832a313597632c..b1d6e5cdca3ee1342720f9aea15ce440a8f6e175 100755 --- a/scripts/chroot.sh +++ b/scripts/chroot.sh @@ -1077,15 +1077,6 @@ if [ -d ${tempdir}/etc/ssh/ -a "x${keep_ssh_keys}" = "x" ] ; then sudo touch ${tempdir}/etc/ssh/ssh.regenerate || true fi -#extra home, from chroot machine when running npm install xyz: -unset extra_home -extra_home=$(ls -lh ${tempdir}/home/ | grep -v ${rfs_username} | awk '{print $9}' | tail -1 || true) -if [ ! "x${extra_home}" = "x" ] ; then - if [ -d ${tempdir}/home/${extra_home}/ ] ; then - sudo rm -rf ${tempdir}/home/${extra_home}/ || true - fi -fi - #ID.txt: if [ -f ${tempdir}/etc/dogtag ] ; then sudo cp ${tempdir}/etc/dogtag ${DIR}/deploy/${export_filename}/ID.txt