1 2 3 4 5 6 7 8 9 10
updatebuildroot () { chroot-exec aptitude update chroot-exec aptitude safe-upgrade updateScripts } updateScripts () { cp ./chroot-scripts/* $BROOT_BUILDROOT_PATH/root/bin/ chmod 700 $BROOT_BUILDROOT_PATH/root/bin/* }