diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2016-06-23 08:38:16 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2016-06-23 08:38:16 +0200 |
commit | 6d3bc6ea36caa7ca9093fde47cec767fdff96291 (patch) | |
tree | 689c37ba12666912888d329ade52ed35c4fb0c38 /scripts/fast-build.sh | |
parent | 5cd3738dff6bc2ec9590abe115b120c624ce59d5 (diff) | |
parent | f18819a92bcc92cc7c1311339c0146ec02172ba0 (diff) | |
download | kernel-6d3bc6ea36caa7ca9093fde47cec767fdff96291.tar.gz kernel-6d3bc6ea36caa7ca9093fde47cec767fdff96291.tar.xz kernel-6d3bc6ea36caa7ca9093fde47cec767fdff96291.zip |
Merge remote-tracking branch 'origin/master'kernel-4.7.0-0.rc4.git1.1.vanilla.knurd.1.fc25kernel-4.7.0-0.rc4.git1.1.vanilla.knurd.1.fc24kernel-4.7.0-0.rc4.git1.1.vanilla.knurd.1.fc23kernel-4.7.0-0.rc4.git1.1.vanilla.knurd.1.fc22
Diffstat (limited to 'scripts/fast-build.sh')
-rwxr-xr-x | scripts/fast-build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/fast-build.sh b/scripts/fast-build.sh new file mode 100755 index 000000000..8286a110f --- /dev/null +++ b/scripts/fast-build.sh @@ -0,0 +1,13 @@ +#! /bin/sh +# Description: +# rpmbuild combo to build the given architecture without +# debugging information, perf or 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 |