From: Greg Kroah-Hartman Date: Tue, 6 Sep 2022 11:37:11 +0000 (+0200) Subject: scripts/bad_stable: update it a bit X-Git-Tag: v5.10.142~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=571fc94c10e2f0351cd0e2f33f16c583270696fa;p=thirdparty%2Fkernel%2Fstable-queue.git scripts/bad_stable: update it a bit --- diff --git a/scripts/bad_stable b/scripts/bad_stable index ed318b14558..c2b3ed46bc0 100755 --- a/scripts/bad_stable +++ b/scripts/bad_stable @@ -162,7 +162,7 @@ reply() -date="$(date -R)" \ -message_id="$ID" \ "$CHARCMD" | \ - ~/bin/msmtp-enqueue.sh -a coco $to + ~/bin/msmtp-enqueue.sh $to } git_id="$1" @@ -170,13 +170,20 @@ shift if [ "${git_id}" == "" ] ; then echo "bad_stable GIT_ID KERNEL_VERSION" - echo "Must provide kernel version to be told is bad" + echo "Must provide git id to be told is bad" exit; fi echo "git_id = ${git_id}" -for STABLE_VERSION in $* +if [ "$#" == "0" ] ; then + versions=$(/home/gregkh/linux/stable/active_kernel_versions_get.sh) +else + versions="$*" +fi +echo "versions=${versions}" + +for STABLE_VERSION in ${versions} do echo "bad version = ${STABLE_VERSION}" TMPFILE=`mktemp bad_patch.XXXXX` || exit 1