From 3d8664ee42d43218bdec1cc9b1075998ad66082f Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 7 Jun 2016 14:22:38 +0300 Subject: [PATCH] buildFHSUserEnv: mark CHROOTENV_EXTRA_BINDS as discussed for deprecation --- pkgs/build-support/build-fhs-userenv/chroot-user.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/build-support/build-fhs-userenv/chroot-user.rb b/pkgs/build-support/build-fhs-userenv/chroot-user.rb index 2fb3b0954b37..e3b268d57af6 100755 --- a/pkgs/build-support/build-fhs-userenv/chroot-user.rb +++ b/pkgs/build-support/build-fhs-userenv/chroot-user.rb @@ -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?