blob: 64720a337d66c35f9fa54b5d293a69c679c38ab1 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
update_chrootscripts () {
rm -f $BROOT_BUILDROOT_PATH/root/bin/*.sh 2>&1 > /dev/null
rm -rf $BROOT_BUILDROOT_PATH/root/bin/packages
cp -r ./chroot-scripts/* $BROOT_BUILDROOT_PATH/root/bin/
chmod 700 $BROOT_BUILDROOT_PATH/root/bin/*
count=$(ls -1 $BROOT_BUILDROOT_PATH/root/bin/*.sh|wc -l)
echo " Reinstalled $count scripts"
}
|