diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-07-07 11:52:41 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2015-07-07 11:52:41 +0000 |
commit | 4883d557fd39604d89ffd832152d1758d4740464 (patch) | |
tree | e648fb2bf9423fc09b32f43d0aecda673827633e /ybd.py | |
parent | bd999d9d68ae9664d5ffc2482bf100d37241db93 (diff) | |
download | ybd-4883d557fd39604d89ffd832152d1758d4740464.tar.gz |
Add warning that chroot builds may overwrite system
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -40,6 +40,9 @@ with app.timer('TOTAL'): sandbox.executor = sandboxlib.executor_for_platform() app.log(app.settings['target'], 'Sandbox using %s' % sandbox.executor) + if sandboxlib.chroot == sandbox.executor: + app.log(app.settings['target'], 'WARNING: rogue builds in a chroot ' + + 'sandbox may overwrite your system') if app.settings.get('instances'): app.spawn() |