--- /usr/sbin/makechrootpkg.orig 2009-08-15 22:24:11.000000000 +0200 +++ /usr/sbin/makechrootpkg 2009-08-15 22:40:56.000000000 +0200 @@ -187,6 +187,7 @@ basef=$(echo $f | sed 's|::.*||' | sed 's|^.*://.*/||g') if [ -f "$basef" ]; then cp "$basef" "$uniondir/srcdest/" + cp "$basef" "$uniondir/build/" elif [ -f "$SRCDEST/$basef" ]; then cp "$SRCDEST/$basef" "$uniondir/srcdest/" fi