rpmbuild combination for bare minimum custom kernel
[labbott: Tweaked comment text to clarify] Signed-off-by: Miguel Flores Silverio <floresmigu3l@gmail.com>
This commit is contained in:
parent
fb65b02dcf
commit
e43790fe84
13
scripts/fast-build.sh
Executable file
13
scripts/fast-build.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user