phosphor-misc: Create recipe
Create a recipe for the phosphor-misc repo that creates PACKAGES based
on supported configuration options. This allows individual packages
to be added to an image such as phosphor-misc-usb-ctrl,
phosphor-misc-http-redirect-awk, etc.
Tested:
- Verified that adding the misc packages to a packagegroup recipe
built the desired misc package and the binaries and system service
files (if applicable) were installed in the rootfs. Tried different
combinations of misc packages such as:
phosphor-misc-usb-ctrl
phosphor-misc-first-boot-set-mac
phosphor-misc-http-redirect-awk
- Built an image that included the phosphor-misc-http-redirect-awk
package and verified that http://bmc got redirected to https://bmc
to the GUI homepage.
Masking out the IP addresses:
Aug 06 14:31:36 witherspoon-YL10UF78A0H4 systemd[1]: Started Redirect HTTP to HTTPS Per-connection (xxx.xxx.xxx.xxx:62348).
Aug 06 14:31:36 witherspoon-YL10UF78A0H4 systemd[1]: http-redirect@1-yyy.yyy.yyy.yyy:80-xxx.xxx.xxx.xxx:62348.service: Succeeded.
Change-Id: I16a06b5f6adedd41ce078d76b3bbe96d69f9413b
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed