[Xen-devel,OSSTEST] ts-kernel-build: make sure CONFIG_PACKET is enabled

Message ID 1391767848-9633-1-git-send-email-ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell Feb. 7, 2014, 10:10 a.m.
It is required by the dhcp client and is not present in the arm
multi_v7_defconfig.

Also stash the config file in the build results for easy reference, it is
already in kerndist.tar.gz but that's a 30+M download compared with a few tens
of K.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 ts-kernel-build | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ian Campbell Feb. 7, 2014, 4:01 p.m. | #1
On Fri, 2014-02-07 at 10:10 +0000, Ian Campbell wrote:
> It is required by the dhcp client and is not present in the arm
> multi_v7_defconfig.
> 
> Also stash the config file in the build results for easy reference, it is
> already in kerndist.tar.gz but that's a 30+M download compared with a few tens
> of K.
> 
> Signed-off-by: Ian Campbell <ian.campbell@citrix.com>

Ian acked this on IRC and I have now pushed it.

Ian.

Patch

diff --git a/ts-kernel-build b/ts-kernel-build
index 96f6b74..742d2b4 100755
--- a/ts-kernel-build
+++ b/ts-kernel-build
@@ -185,6 +185,7 @@  setopt CONFIG_SYSVIPC y
 
 setopt CONFIG_BLK_DEV_LOOP y
 
+setopt CONFIG_PACKET y
 END
 sub stash_config_edscript ($) {
     my ($settings) = @_;
@@ -347,3 +348,4 @@  if ($r{tree_linuxfirmware}) {
 built_stash($ho, $builddir, 'dist', 'kerndist');
 built_stash_file($ho, $builddir, 'vmlinux', 'linux/vmlinux');
 built_compress_stashed('vmlinux');
+built_stash_file($ho, $builddir, 'config', 'linux/.config');