From 873c89e60146243488fcc8aeb1277f89aa6512e6 Mon Sep 17 00:00:00 2001 From: bt0dotninja Date: Sep 04 2019 15:52:21 +0000 Subject: [PATCH 1/3] Adding a new structure to be compliant with https://pagure.io/fedora-kickstarts (our final objective) fedora-live-neuro.ks is the main file fedora-neuro-gnome-common.ks is used for gnome customization included by fedora-live-neuro.ks fedora-neuro-common.ks is the specific package selection --- diff --git a/fedora-live-neuro.ks b/fedora-live-neuro.ks new file mode 100644 index 0000000..b9df87c --- /dev/null +++ b/fedora-live-neuro.ks @@ -0,0 +1,10 @@ +# Maintained by the NeuroFedora SIG: +# https://fedoraproject.org/wiki/SIGs/NeuroFedora +# mailto:neuro-sig@lists.fedoraproject.org + +# The Workstation based NeuroFedora spin + +%include fedora-live-workstation.ks +%include fedora-neuro-gnome-common.ks + +part / --size 9656 diff --git a/fedora-live-workstation.ks b/fedora-live-workstation.ks index 3ffffe6..38b297c 100644 --- a/fedora-live-workstation.ks +++ b/fedora-live-workstation.ks @@ -4,15 +4,13 @@ %include fedora-live-base.ks %include fedora-workstation-common.ks -%include fedora-neuro.ks - # # Disable this for now as packagekit is causing compose failures # by leaving a gpg-agent around holding /dev/null open. # #include snippets/packagekit-cached-metadata.ks -part / --size 9656 +part / --size 6656 %post diff --git a/fedora-neuro-gnome-common.ks b/fedora-neuro-gnome-common.ks new file mode 100644 index 0000000..9a2ca0c --- /dev/null +++ b/fedora-neuro-gnome-common.ks @@ -0,0 +1,23 @@ +# Maintained by the NeuroFedora SIG: +# https://fedoraproject.org/wiki/SIGs/NeuroFedora +# mailto:neuro-sig@lists.fedoraproject.org + +# The Gnome custom packeges selection for Neuro Fedora +%include fedora-neuro-common.ks + +%packages +@firefox +# This is no longer workstation +-@workstation-product + +# No Workstation backgrounds (maybe we can get one for NeuroFedora as set it as default) +-desktop-backgrounds-basic +-*backgrounds-extras +%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 diff --git a/fedora-neuro.ks b/fedora-neuro.ks deleted file mode 100644 index 4d417d4..0000000 --- a/fedora-neuro.ks +++ /dev/null @@ -1,42 +0,0 @@ -# -# fedora-neuro.ks -# - -%packages - -#Neuro Packages - -#auryn -auryn-mpich -auryn-mpich -auryn-openmpi -bionetgen -calcium-calculator -COPASI -qalculate -getdp -gnuplot -nest -neuron -neurord -octave -paraview -python3-brian2 -python-brian2-doc -python3-nest -python3-neuron -python3-libNeuroML -python3-neo -python3-nineml -python-nineml-doc -python3-PyLEMS -python-PyLEMS-doc -python3-matplotlib -python3-numpy -python3-scipy -smoldyn - -@python-science - -%end - From 6359a7b6b91183a985cb30abba126898258802cb Mon Sep 17 00:00:00 2001 From: bt0dotninja Date: Sep 04 2019 16:06:12 +0000 Subject: [PATCH 2/3] updating README.md with the new structure --- diff --git a/README.md b/README.md index a716dbc..cd259a8 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ Once you have cloned the repo, you can find following files: fedora-live-base.ks fedora-live-workstation.ks - fedora-neuro.ks + fedora-live-neuro.ks + fedora-neuro-common.ks + fedora-neuro-gnome-common.ks fedora-repo-not-rawhide.ks fedora-repo.ks fedora-workstation-common.ks @@ -45,13 +47,13 @@ Set SELinux in permissive mode if your system in Enforcing mode. Open the terminal run the following command. - sudo livecd-creator --verbose --config=fedora-live-workstation.ks --fslabel=Fedora-30-Neuro-0.1.0 --cache=cache --tmpdir=tmp + sudo livecd-creator --verbose --config=fedora-live-neuro.ks --fslabel=Fedora-30-Neuro-0.1.0 --cache=cache --tmpdir=tmp Make sure to use cache directory as you don't need to download all packages each time when you create the ISO. You can find 1.7 GB of F30-Neuron-0.1.0.iso once the completion of build processing using initial script. - `-rw-r--r--. 1 root root 1.7G Aug 14 16:57 Fedora-30-Neuro-0.1.0.iso + `-rw-r--r--. 1 root root 2.3G Sep 04 11:00 Fedora-30-Neuro-0.1.0.iso ` ## Add/Remove packages @@ -68,7 +70,7 @@ Or else you can remove midori and add Firefox ### Add Packages related Fedora Neuro - As listed in [fedora-neuro.ks](https://pagure.io/neuro-sig/neuro-scripts/blob/master/f/fedora-neuro.ks) file you can add your packages. + As listed in [fedora-neuro-common.ks](https://pagure.io/neuro-sig/neuro-scripts/blob/master/f/fedora-neuro-common.ks) file you can add your packages. ## Managing Repositories From 6c0a03f4b20928b50c3b059311ea45b3ed549116 Mon Sep 17 00:00:00 2001 From: bt0dotninja Date: Sep 04 2019 16:56:04 +0000 Subject: [PATCH 3/3] Adding fedora-neuro-common.ks as replacament of fedora-neuro --- diff --git a/fedora-neuro-common.ks b/fedora-neuro-common.ks new file mode 100644 index 0000000..d9c5c06 --- /dev/null +++ b/fedora-neuro-common.ks @@ -0,0 +1,43 @@ +# Maintained by the NeuroFedora SIG: +# https://fedoraproject.org/wiki/SIGs/NeuroFedora +# mailto:neuro-sig@lists.fedoraproject.org +%packages + +@python-science + +#Neuro Packages + +#auryn +auryn-mpich +auryn-mpich +auryn-openmpi +bionetgen +calcium-calculator +COPASI +qalculate +getdp +gnuplot +nest +neuron +neurord +octave +paraview +python3 +python3-brian2 +python-brian2-doc +python3-nest +python3-neuron +python3-libNeuroML +python3-neo +python3-nineml +python-nineml-doc +python3-PyLEMS +python-PyLEMS-doc +python3-matplotlib +python3-numpy +python3-scipy +smoldyn + + +%end +