buildFHSUserEnv: mark CHROOTENV_EXTRA_BINDS as discussed for deprecation

This commit is contained in:
Nikolay Amiantov 2016-06-07 14:22:38 +03:00
parent 3e90b00c10
commit 3d8664ee42

View file

@ -66,6 +66,10 @@ execp = ARGV
# Populate extra mounts
if not ENV["CHROOTENV_EXTRA_BINDS"].nil?
$stderr.puts "CHROOTENV_EXTRA_BINDS is discussed for deprecation."
$stderr.puts "If you have a usecase, please drop a note in issue #16030."
$stderr.puts "Notice that we now bind-mount host FS to '/host' and symlink all directories from it to '/' by default."
for extra in ENV["CHROOTENV_EXTRA_BINDS"].split(':')
paths = extra.split('=')
if not paths.empty?