#4 New structure for neuro-script
Merged a year ago by ankursinha. Opened a year ago by bt0dotninja.
neuro-sig/ bt0dotninja/neuro-scripts master  into  master

file modified
+6 -4
@@ -28,7 +28,9 @@ 

  

      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 @@ 

  

   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 @@ 

  

  ### 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 

  

file added
+10
@@ -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

file modified
+1 -3
@@ -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

  

fedora-neuro-common.ks fedora-neuro.ks
file renamed
+6 -5
@@ -1,9 +1,10 @@ 

- #

- # fedora-neuro.ks

- #

- 

+ # Maintained by the NeuroFedora SIG:

+ # https://fedoraproject.org/wiki/SIGs/NeuroFedora

+ # mailto:neuro-sig@lists.fedoraproject.org

  %packages

  

+ @python-science

+ 

  #Neuro Packages

  

  #auryn
@@ -21,6 +22,7 @@ 

  neurord

  octave

  paraview

+ python3

  python3-brian2

  python-brian2-doc

  python3-nest
@@ -36,7 +38,6 @@ 

  python3-scipy

  smoldyn

  

- @python-science

  

  %end

  

@@ -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

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

Docs update too

Looks pretty good---I see you removed the fedora-neuro.ks file which had the list of packages in it. Have these been moved to another file (I couldn't see them in the "Files Changed" section here).

Ups.. yes fedora-neuro-common.ks

Ah, it isn't included in the PR. Can you please add it and push another commit :) ?

Metadata Update from @ankursinha:
- Request assigned

a year ago

1 new commit added

  • Adding fedora-neuro-common.ks as replacament of fedora-neuro
a year ago

@dan1mal, could you have a quick peek before we merge please?

Thanks for the peek! First time seeing this progress and how things get changed.

In fedora-neuro-gnome-common.ks
is this separated .ks file so that there might be easy addition of other desktops?

I esp. like the added desktop favorites. I was manually adding terminal everytime i created a vm instance. I'd vote +1 to make that a default in workstation!

Thanks @bt0dotninja ~!

Ready to merge @ankursinha ! :smile:

Pull-Request has been merged by ankursinha

a year ago