From fe8bc891ed96e5789fe71b6b8cea669fbc0df543 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Sun, 21 Jun 2015 13:36:00 +0300 Subject: [PATCH] build-kernel-rpm: create config file in OUTDIR build-kernel-deb exports .config to spare downloading and unpacking the entire packgage just to check if some config option is set. Do this in build-kernel-rpm as well. Signed-off-by: Ilya Dryomov --- build-kernel-rpm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-kernel-rpm.sh b/build-kernel-rpm.sh index 45b679f..0141ac6 100755 --- a/build-kernel-rpm.sh +++ b/build-kernel-rpm.sh @@ -87,6 +87,7 @@ OUTDIR="../out/output/sha1/$REV" OUTDIR_TMP="${OUTDIR}.tmp" install -d -m0755 -- "$OUTDIR_TMP" printf '%s\n' "$REV" >"$OUTDIR_TMP/sha1" +cp -- .config "$OUTDIR_TMP/config" printf '%s\n' "$uname_string" >"$OUTDIR_TMP/version" printf '%s\n' "ceph" >"$OUTDIR_TMP/name" -- 2.39.5