In your output:- ----------------------------------------------------------------------------- patching file debian/patches-4.0.1rc1/series patching file debian/patches-4.0.1rc1/grub2-fix.patch patching file debian/patches-4.0.1rc1/use-python-2.6.diff patching file debian/patches-4.0.1rc1/misc-docs.diff Info: ZFS & VHD patching 1 out of 1 hunk FAILED -- saving rejects to file tools/libfsimage/Rules.mk.rej 1 out of 1 hunk FAILED -- saving rejects to file ------------------------------------------------------------------------------ On the other hand , where the first echo creating subfolder $WRKD/$DEBDIRNAM/debian disappeared ? This one => echo Info: Patch with debian diff $UDIFNAME ... zcat $STARTDIR/$UDIFNAME | patch -p1 echo "Info: ZFS & VHD patching" patch -p1 -s -i $WRKD/fsimage-zfs-24.patch1; patch -p1 -s -i $WRKD/blktap2_ctrl_func.patch-xen-testing-4.x.patch1;
In your output:- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- patches- 4.0.1rc1/ series patches- 4.0.1rc1/ grub2-fix. patch patches- 4.0.1rc1/ use-python- 2.6.diff patches- 4.0.1rc1/ misc-docs. diff e/Rules. mk.rej ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- - DEBDIRNAM/ debian disappeared ? zfs-24. patch1; ctrl_func. patch-xen- testing- 4.x.patch1;
-------
patching file debian/
patching file debian/
patching file debian/
patching file debian/
Info: ZFS & VHD patching
1 out of 1 hunk FAILED -- saving rejects to file
tools/libfsimag
1 out of 1 hunk FAILED -- saving rejects to file
-------
On the other hand , where the first echo creating subfolder
$WRKD/$
This one =>
echo Info: Patch with debian diff $UDIFNAME ...
zcat $STARTDIR/$UDIFNAME | patch -p1
echo "Info: ZFS & VHD patching"
patch -p1 -s -i $WRKD/fsimage-
patch -p1 -s -i $WRKD/blktap2_