StarlingX Bare Metal and Node Management, Hardware Maintenance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

platform-kickstarts.spec 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Name: platform-kickstarts
  2. Version: 1.0.0
  3. Release: %{tis_patch_ver}%{?_tis_dist}
  4. Summary: Platform Kickstarts
  5. License: Apache-2.0
  6. Packager: Wind River <info@windriver.com>
  7. URL: unknown
  8. Source0: %{name}-%{version}.tar.gz
  9. Source1: LICENSE
  10. BuildArch: noarch
  11. %description
  12. Platform kickstart files
  13. BuildRequires: perl
  14. BuildRequires: perl(Getopt::Long)
  15. BuildRequires: perl(POSIX)
  16. %define feed_dir /www/pages/feed/rel-%{platform_release}
  17. %prep
  18. %setup
  19. %build
  20. ./centos-ks-gen.pl --release %{platform_release}
  21. cp %{SOURCE1} .
  22. %install
  23. install -d -m 0755 %{buildroot}%{feed_dir}
  24. install -m 0444 generated/* %{buildroot}%{feed_dir}/
  25. install -d -m 0755 %{buildroot}/pxeboot
  26. install -D -m 0444 pxeboot/* %{buildroot}/pxeboot
  27. install -d -m 0755 %{buildroot}/extra_cfgs
  28. install -D -m 0444 extra_cfgs/* %{buildroot}/extra_cfgs
  29. %files
  30. %defattr(-,root,root,-)
  31. %license LICENSE
  32. %{feed_dir}
  33. %package pxeboot
  34. Summary: Kickstarts for pxeboot server
  35. %description pxeboot
  36. Kickstarts for pxeboot server
  37. %files pxeboot
  38. %defattr(-,root,root,-)
  39. /pxeboot/
  40. %package extracfgs
  41. Summary: Extra lab-usage kickstarts
  42. %description extracfgs
  43. Extra lab-usage kickstarts
  44. %files extracfgs
  45. %defattr(-,root,root,-)
  46. /extra_cfgs/