OpenSDE Packages Database (without history before r20070)
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.

34 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../yaboot/yaboot_conf_example.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. don't replace the real /etc/yaboot.conf, but install a .example file for reference
  17. --- yaboot-1.3.13/Makefile.orig
  18. +++ yaboot-1.3.13/Makefile
  19. @@ -201,12 +201,7 @@
  20. install -o root -g root -m 0644 man/ybin.8.gz ${ROOT}/${PREFIX}/${MANDIR}/man8/ybin.8.gz
  21. install -o root -g root -m 0644 man/yaboot.conf.5.gz ${ROOT}/${PREFIX}/${MANDIR}/man5/yaboot.conf.5.gz
  22. @gunzip man/*.gz
  23. - @if [ ! -e ${ROOT}/etc/yaboot.conf ] ; then \
  24. echo "install -o root -g root -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf"; \
  25. - install -o root -g root -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf; \
  26. + install -o root -g root -m 0644 etc/yaboot.conf ${ROOT}/etc/yaboot.conf.example; \
  27. - else \
  28. - echo "/etc/yaboot.conf already exists, leaving it alone"; \
  29. - fi
  30. @echo
  31. @echo "Installation successful."
  32. @echo