cp kernel_config out after making kernel

This commit is contained in:
Pei Tong
2016-06-03 14:20:51 +08:00
parent 99c593a8be
commit 34b6af632a
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