c7c2b6
--- a/examples/chroot-setup/LINUX2	2006-01-01 15:53:58.000000000 -0800
c7c2b6
+++ b/examples/chroot-setup/LINUX2	2016-11-27 00:45:52.145301784 -0800
c7c2b6
@@ -45,14 +45,14 @@
c7c2b6
 # 20060101 /lib64 support by Keith Owens.
c7c2b6
 #
c7c2b6
 
c7c2b6
-CP="cp -p"
c7c2b6
+CP="cp -p -Z"
c7c2b6
 
c7c2b6
 cond_copy() {
c7c2b6
   # find files as per pattern in $1
c7c2b6
   # if any, copy to directory $2
c7c2b6
   dir=`dirname "$1"`
c7c2b6
   pat=`basename "$1"`
c7c2b6
-  lr=`find "$dir" -maxdepth 1 -name "$pat"`
c7c2b6
+  lr=`find "$dir/" -maxdepth 1 -name "$pat"`
c7c2b6
   if test ! -d "$2" ; then exit 1 ; fi
c7c2b6
   if test "x$lr" != "x" ; then $CP $1 "$2" ; fi
c7c2b6
 } 
c7c2b6
@@ -63,8 +63,8 @@
c7c2b6
 POSTFIX_DIR=${POSTFIX_DIR-/var/spool/postfix}
c7c2b6
 cd ${POSTFIX_DIR}
c7c2b6
 
c7c2b6
-mkdir -p etc lib usr/lib/zoneinfo
c7c2b6
-test -d /lib64 && mkdir -p lib64
c7c2b6
+mkdir -p -Z etc lib usr/lib/zoneinfo
c7c2b6
+test -d /lib64 && mkdir -p -Z lib64
c7c2b6
 
c7c2b6
 # find localtime (SuSE 5.3 does not have /etc/localtime)
c7c2b6
 lt=/etc/localtime
c7c2b6
@@ -88,4 +88,3 @@
c7c2b6
   cond_copy '/lib64/libdb.so*' lib64
c7c2b6
 fi
c7c2b6
 
c7c2b6
-postfix reload