Added ARM version of Python Clasroom Lab

Split common parts of Python Clasroom Lab
This commit is contained in:
Miro Hrončok 2017-02-27 21:18:57 +01:00
parent dd3583c6fa
commit 40c41b0516
5 changed files with 132 additions and 116 deletions

View File

@ -0,0 +1,8 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# The ARM Workstion based Python Classroom Lab
%include fedora-arm-workstation.ks
%include fedora-python-classroom-gnome-common.ks

View File

@ -2,109 +2,8 @@
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# The Workstion based Python Classroom Lab
%include fedora-live-workstation.ks
%include fedora-live-minimization.ks
%packages
@python-classroom
# Remove Pythons possibly recommended by tox
-python26
-python33
-python34
-python35
-pypy
# Remove extra gnome-y things
-@graphical-internet
-@games
-@sound-and-video
-@multimedia
-dleyna*
-evolution*
-gnome-boxes
-gnome-calendar
-gnome-clocks
-gnome-contacts
-gnome-disk-utility
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-weather
-grilo-plugins
-cheese
-totem
-totem-nautilus
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
# Remove office suite
-@libreoffice
-libreoffice-*
-planner
# Drop the Java plugin and Java
-icedtea-web
-java*
# No printing
-@printing
-foomatic-db-ppds
-foomatic
# Dictionaries are big
-aspell-*
-hunspell-*
-words
# Help and art can be big, too
-gnome-user-docs
-desktop-backgrounds-basic
-*backgrounds-extras
# Legacy cmdline things we don't want
-krb5-auth-dialog
-krb5-workstation
-pam_krb5
-quota
-dos2unix
-finger
-ftp
-jwhois
-mtr
-pinfo
-rsh
-nfs-utils
-ypbind
-yp-tools
-rpcbind
-acpid
-ntsysv
# Don't need this
-linux-atm
# Drop some system-config things
-system-config-language
-system-config-network
-system-config-rootpassword
-system-config-services
-policycoreutils-gui
%end
%post
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys
%end
%include fedora-python-classroom-gnome-common.ks

View File

@ -0,0 +1,17 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# Common packages of all Python Classroom images
%packages
@python-classroom
# Remove Pythons possibly recommended by tox
-python26
-python33
-python34
-python35
-pypy
%end

View File

@ -0,0 +1,99 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# GNOME part of Python Classroom images
%include fedora-python-classroom-common.ks
%packages
# Remove extra gnome-y things
-@graphical-internet
-@games
-@sound-and-video
-@multimedia
-dleyna*
-evolution*
-gnome-boxes
-gnome-calendar
-gnome-clocks
-gnome-contacts
-gnome-disk-utility
-gnome-documents
-gnome-font-viewer
-gnome-maps
-gnome-weather
-grilo-plugins
-cheese
-totem
-totem-nautilus
# This is no longer workstation
-@workstation-product
-fedora-productimg-workstation
# Add a web browser
@firefox
# Remove office suite
-@libreoffice
-libreoffice-*
-planner
# Drop the Java plugin and Java
-icedtea-web
-java*
# No printing
-@printing
-foomatic-db-ppds
-foomatic
# Dictionaries are big
-aspell-*
-hunspell-*
-words
# Help and art can be big, too
-gnome-user-docs
-desktop-backgrounds-basic
-*backgrounds-extras
# Legacy cmdline things we don't want
-krb5-auth-dialog
-krb5-workstation
-pam_krb5
-quota
-dos2unix
-finger
-ftp
-jwhois
-mtr
-pinfo
-rsh
-nfs-utils
-ypbind
-yp-tools
-rpcbind
-acpid
-ntsysv
# Don't need this
-linux-atm
# Drop some system-config things
-system-config-language
-system-config-network
-system-config-rootpassword
-system-config-services
-policycoreutils-gui
%end
%post
#Override the favorite desktop application in Dash
sed -i "s/favorite-apps=."'*'"/favorite-apps=['firefox.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.gedit.desktop', 'anaconda.desktop']/" /etc/rc.d/init.d/livesys
%end

View File

@ -1,15 +1,8 @@
# Maintained by the Fedora Python SIG:
# http://fedoraproject.org/wiki/SIGs/Python
# mailto:python-devel@lists.fedoraproject.org
# Like the Python Classroom image, but tuned for vagrant.
%include fedora-cloud-base-vagrant.ks
%packages
@python-classroom
# Remove Pythons possibly recommended by tox
-python26
-python33
-python34
-python35
-pypy
%end
%include fedora-python-classroom-common.ks