http-redirect: Simplify installing service files

The output file name for the service files was unintentionally
different than the input file name. By installing the service
files in a loop, it gets rid of duplicate code and allows the
use of a variable for the input and output field, fixing the typo.

If a variable was not used, output could be set to @PLAINNAME@
to use the same name as input.

Change-Id: Ic0cef9a21227bbd712a0214c6e78814ba27860ab
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 34152da7fa3a16503b3fe44cb6fa33d41d7a9f45
  1. firstboot/
  2. http-redirect/
  3. usb-ctrl/
  4. .gitignore
  5. LICENSE
  6. meson.build
  7. meson_options.txt
  8. README.md
README.md

phosphor-misc

phosphor-misc is a collection of miscellaneous OpenBMC functions that doesn't really fit anywhere else.

Contributing

If you have a new function in mind to be hosted in phosphor-misc, it is usually a good idea to mention it on the OpenBMC mailing list before writing any code. There might already be an implementation of the desired function or the community may suggest alternatives.

phosphor-misc patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.

Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/phosphor-misc is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.

Patch checklist. Please ensure patches adhere to the following guidelines:

For questions or help please come join us on the mailing list or in IRC.