summarylogtreecommitdiffstats
path: root/0006-mkchroot-symlink.patch
diff options
context:
space:
mode:
Diffstat (limited to '0006-mkchroot-symlink.patch')
-rw-r--r--0006-mkchroot-symlink.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/0006-mkchroot-symlink.patch b/0006-mkchroot-symlink.patch
new file mode 100644
index 000000000000..280cac2676d3
--- /dev/null
+++ b/0006-mkchroot-symlink.patch
@@ -0,0 +1,12 @@
+--- a/mkchroot.sh 2014-10-07 15:41:21.168017698 +0200
++++ b/mkchroot.sh 2014-10-07 15:47:19.483758137 +0200
+@@ -111,6 +111,9 @@ for jail_path in `dirname "$jail_dir$scp
+
+ done
+
++ln -fst "${jail_dir}" "usr/lib" || \
++ fail "Error creating /lib symlink. Exiting." 5
++
+ cp "$scp_path" "$jail_dir$scp_path" || \
+ fail "Error copying $scp_path. Exiting." 5
+ cp "$sftp_server_path" "$jail_dir$sftp_server_path" || \