Fedora Remix maintained by the Rochester Institute of Technology (RIT) Linux Users Group, targeted at users new to Linux and RIT students, faculty, and staff
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.

125 lines
3.8 KiB

7 years ago
7 years ago
  1. # The RIT Fedora Remix
  2. #
  3. # Authors:
  4. # Luke Macken <lmacken@redhat.com>
  5. # Eitan Romanoff <ear7631@gmail.com>
  6. #
  7. # Tasks:
  8. # https://fedorahosted.org/fossrit/query?milestone=RIT+Spin
  9. #
  10. # Instructions:
  11. # sudo yum -y install spin-kickstarts livecd-tools
  12. # sudo livecd-creator -c fedora-rit-spin.ks
  13. %include /usr/share/spin-kickstarts/fedora-live-desktop.ks
  14. %include /usr/share/spin-kickstarts/fedora-live-minimization.ks
  15. %packages
  16. # Must-have applications
  17. wget
  18. libreoffice-writer
  19. libreoffice-calc
  20. thunderbird
  21. pidgin
  22. ekiga
  23. emacs
  24. gimp
  25. inkscape
  26. dia
  27. banshee
  28. git
  29. htop
  30. powertop
  31. nethack
  32. screen
  33. vim-common
  34. vim-enhanced
  35. vim
  36. zsh
  37. nano
  38. gpp
  39. wine
  40. wireshark
  41. irssi
  42. hexchat
  43. gwibber
  44. elinks
  45. transmission
  46. midori
  47. evince
  48. fpaste
  49. # Legacy cmdline things we don't want
  50. -krb5-auth-dialog
  51. -krb5-workstation
  52. -pam_krb5
  53. -quota
  54. -minicom
  55. -jwhois
  56. -mtr
  57. -pinfo
  58. -rsh
  59. -nfs-utils
  60. -ypbind
  61. -yp-tools
  62. -rpcbind
  63. -acpid
  64. -ntsysv
  65. # Drop some system-config things
  66. -system-config-boot
  67. -system-config-language
  68. -system-config-network
  69. -system-config-rootpassword
  70. -system-config-services
  71. -policycoreutils-gui
  72. %end
  73. %post
  74. # go to the backgrounds folder for custom images
  75. cd /usr/share/backgrounds/images
  76. # fetch custom RIT backgrounds
  77. # note: resolv.conf is not yet set up, so we have to use the hosting ip directly
  78. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_1280x1024.png"
  79. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_2048x1536.png"
  80. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/RIT_1920x1200.png"
  81. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_1280x1024.png"
  82. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_2048x1536.png"
  83. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/tiger_1920x1200.png"
  84. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/sentinel_1280x800.png"
  85. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/celebration_1280x800.png"
  86. # normalish (1280 x 1024)
  87. su -c "cp /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png.backup"
  88. su -c "rm /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png"
  89. su -c "cp /usr/share/backgrounds/images/tiger_1280x1024.png /usr/share/backgrounds/lovelock/default-stripes/normalish/lovelock.png"
  90. # standard (2048x1536)
  91. su -c "cp /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png.backup"
  92. su -c "rm /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png"
  93. su -c "cp /usr/share/backgrounds/images/tiger_2048x1536.png /usr/share/backgrounds/lovelock/default-stripes/standard/lovelock.png"
  94. # wide (1920x1200)
  95. su -c "cp /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png.backup"
  96. su -c "rm /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png"
  97. su -c "cp /usr/share/backgrounds/images/tiger_1920x1200.png /usr/share/backgrounds/lovelock/default-stripes/wide/lovelock.png"
  98. # Fetch rpm fusion scripts, bash_profile
  99. su -c "mkdir -p /usr/share/autostart"
  100. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/enablerpmfusion.txt"
  101. su -c "wget --header=\"Host: foss.rit.edu\" http://129.21.49.21/ritfedoraremix/FusionEnableLauncher.txt"
  102. su -c "mv FusionEnableLauncher.txt FusionEnableLauncher.py"
  103. su -c "mv enablerpmfusion.txt enablerpmfusion.sh"
  104. su -c "chmod a+rwx FusionEnableLauncher.py"
  105. su -c "chmod a+rwx enablerpmfusion.sh"
  106. su -c "cp FusionEnableLauncher.py /usr/share/autostart/FusionEnableLauncher.py"
  107. su -c "cp enablerpmfusion.sh /usr/share/autostart/enablerpmfusion.sh"
  108. %end