summaryrefslogtreecommitdiffstats
path: root/inc/update.inc.sh
blob: fa7cd2573de3be72d82a058b6baec6299aece103 (plain) (blame)
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/*
}