commit | 74a89f930992e7816c7634c23c139a6ad0247f3b | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed.tanous@intel.com> | Tue Jul 17 10:20:09 2018 -0700 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu Jul 19 02:16:51 2018 +0000 |
tree | a60ca18db4e9968aa7312b8e09a6fdf56f769d65 | |
parent | 89e86cd92f38f4816b95e3c243be0e44c11cd01f [diff] |
Fix bmcweb socket activation It looks like the socket activation part of the recipe got missed in the review. bmcweb can boot without it, but it's still desired to allow people to change what port bmcweb boots on per platform. Tested By: Launching image and verifying bmcweb boots on port 883, and all services are available. Change-Id: Idba19082d80ea4007c6a450219481756bd03938b Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb index f744536..c2c3b8b 100644 --- a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb +++ b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb.bb
@@ -24,7 +24,7 @@ EXTRA_OECMAKE = "-DBMCWEB_BUILD_UT=OFF -DYOCTO_DEPENDENCIES=ON" -SYSTEMD_SERVICE_${PN} += "bmcweb.service" +SYSTEMD_SERVICE_${PN} += "bmcweb.service bmcweb.socket" FULL_OPTIMIZATION = "-Os -pipe "
diff --git a/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket new file mode 100644 index 0000000..b1db27d --- /dev/null +++ b/meta-openbmc-machines/meta-x86/meta-intel/meta-common/recipes-intel/bmcweb/bmcweb/bmcweb.socket
@@ -0,0 +1,9 @@ +[Unit] +Description=BMC Webserver socket + +[Socket] +ListenStream=883 +ReusePort=true + +[Install] +WantedBy=sockets.target