On 06/15/2016 11:16 AM, Miguel Flores Silverio wrote:
Signed-off-by: Miguel Flores Silverio <floresmigu3l@xxxxxxxxx>
Looks good to me. Can you submit a separate patch to delete the existing fast-x86_64 script with a note that it is replaced by this script?
--- scripts/fast-build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/fast-build.sh diff --git a/scripts/fast-build.sh b/scripts/fast-build.sh new file mode 100755 index 0000000..1430fed --- /dev/null +++ b/scripts/fast-build.sh @@ -0,0 +1,13 @@ +#! /bin/sh +# Description: +# rpmbuild combo to build the given architecture with +# no debugging information, perf and tools. +# +# Sample usage: +# ./fast-build.sh x86_64 kernel-4.7.0-0.rc1.git1.2.fc25.src.rpm + +if [ -z "$1" ] || [ -z "$2" ]; then + echo "usage: $0 [ arch ] [ kernel-x.x.x.fcxx.src.rpm ] " +fi + +rpmbuild --target $1 -- without debug --without debuginfo --without perf --without tools --rebuild $2 -- 2.7.4 _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx