Merge pull request #113 from ptptptptptpt/cp_kernel_config

cp kernel_config out after making kernel
This commit is contained in:
Lai Jiangshan
2016-06-03 14:40:20 +08:00
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ build/cbfs.rom
build/root/*
build/*iso
build/daemon
build/kernel_config.old
build/.*
src/.*
Makefile
+2
View File
@@ -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