From: Ilya Dryomov Date: Sun, 21 Jun 2015 10:36:00 +0000 (+0300) Subject: build-kernel-rpm: create config file in OUTDIR X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fe8bc891ed96e5789fe71b6b8cea669fbc0df543;p=autobuild-ceph.git 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 --- 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"