]> git.apps.os.sepia.ceph.com Git - autobuild-ceph.git/commitdiff
build-kernel-rpm: create config file in OUTDIR
authorIlya Dryomov <idryomov@gmail.com>
Sun, 21 Jun 2015 10:36:00 +0000 (13:36 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 21 Jun 2015 10:42:41 +0000 (13:42 +0300)
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 <idryomov@gmail.com>
build-kernel-rpm.sh

index 45b679f98ebed36eaf66113030a5f0765777202a..0141ac63536da5c71b85f32cf5093ddb5ba87821 100755 (executable)
@@ -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"