mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
The patch series file is now a parameter.
This commit is contained in:
@@ -27,12 +27,13 @@ set -e
|
||||
|
||||
KERNDIR=$1
|
||||
PATCHDIR=$2
|
||||
PATCH_SERIES=$3
|
||||
|
||||
if [ -f "${PATCHDIR}/series" ]; then
|
||||
if [ -f "${PATCH_SERIES}" ]; then
|
||||
#
|
||||
# The series file contains the patch order.
|
||||
#
|
||||
for p in `cat ${PATCHDIR}/series`; do
|
||||
for p in `cat ${PATCH_SERIES}`; do
|
||||
echo "Appying ${p}..."
|
||||
if [ -x "${PATCHDIR}/${p}" ]; then
|
||||
"${PATCHDIR}/${p}" "${KERNDIR}"
|
||||
|
||||
Reference in New Issue
Block a user