From 34b6af632af3389198c46da4fcac8bea4abad897 Mon Sep 17 00:00:00 2001 From: Pei Tong Date: Fri, 3 Jun 2016 14:20:51 +0800 Subject: [PATCH] cp kernel_config out after making kernel --- .gitignore | 1 + build/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 3a9d027..91b0b3f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ build/cbfs.rom build/root/* build/*iso build/daemon +build/kernel_config.old build/.* src/.* Makefile diff --git a/build/Makefile.am b/build/Makefile.am index 07b6db6..205037c 100644 --- a/build/Makefile.am +++ b/build/Makefile.am @@ -15,3 +15,5 @@ kernel-local: hyperctl build -t hyperstart-dev:latest . hyperctl run --rm hyperstart-dev:latest cat /root/build/result/kernel >kernel.new && mv -f kernel.new kernel hyperctl run --rm hyperstart-dev:latest cat /root/build/result/modules.tar >modules.tar + mv kernel_config kernel_config.old + hyperctl run --rm hyperstart-dev:latest cat /root/build/result/kernel_config >kernel_config