mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 21:51:27 +00:00
Bug fix: does no longer attempt to patch kernels for which there is no kernel patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1722 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -104,8 +104,10 @@ cd "${target}" || exit $?
|
||||
|
||||
tar --strip-components=1 -xjf "${kernel_sources}/linux-${kernel_version}.tar.bz2"
|
||||
|
||||
echo "==== ${kernel_sources}/patch-$1.bz2"
|
||||
bzip2 -cd < "${kernel_sources}/patch-$1.bz2" | patch -s -p1
|
||||
if [ ! -z "$patchlevel" ]; then
|
||||
echo "==== ${kernel_sources}/patch-$1.bz2"
|
||||
bzip2 -cd < "${kernel_sources}/patch-$1.bz2" | patch -s -p1
|
||||
fi
|
||||
|
||||
svn status -v "$(dirname "$(dirname "$scriptname")")" \
|
||||
| grep -v '^Performing' \
|
||||
|
||||
Reference in New Issue
Block a user