diff options
Diffstat (limited to 'inc/update.inc.sh')
-rw-r--r-- | inc/update.inc.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/update.inc.sh b/inc/update.inc.sh new file mode 100644 index 0000000..af3ff9d --- /dev/null +++ b/inc/update.inc.sh @@ -0,0 +1,10 @@ +updatebuildroot () { + chroot-exec aptitude update + chroot-exec aptitude safe-upgrade + updateScripts +} + +updateScripts () { + cp ./chroot-scripts/* $buildrootpath/root/bin/ + chmod 700 $buildrootpath/root/bin/* +} |