README.md

neuro-scripts

This repo contains scripts related to the FedoraNeuro Lab images which is maintained by NeuroFedora SIG. These are currently hosted here: https://fedorapeople.org/groups/neuro-sig/

Preparation

Install livecd-tools and spin-kickstarts. There are different kickstart scripts available in the spin-kickstarts package and you can try out different desktop enviroments as you wish.

sudo dnf install livecd-tools spin-kickstarts

You may need to configure sudo access to install files.

Clone the NeuroScripts

Clone the NeuroScripts repo.

git clone ssh://git@pagure.io/neuro-sig/neuro-scripts.git

You may need to install git, and install a ssh key at Pagure for this to work.

sudo dnf install git-all

Build an ISO

Once you have cloned the repo, you can find following files:

README.md
fedora-comp-neuro-common.ks
fedora-live-comp-neuro.ks
fedora-neuro-gnome-common.ks
fedora-repo-not-rawhide.ks
fedora-live-base.ks
fedora-live-workstation.ks
fedora-repo.ks
fedora-workstation-common.ks

Now we can build the initial ISO of FedoraNeuro.

Set SELinux in permissive mode if your system in Enforcing mode.

[danishka@localhost ~]$ getenforce 
Enforcing
[danishka@localhost ~]$ sudo setenforce 0
[danishka@localhost ~]$ getenforce 
Permissive

Open the terminal run the following command.

sudo livecd-creator --verbose --config=fedora-live-comp-neuro.ks --fslabel=Fedora-31-Comp-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 will find the generated ISO file once the completion of build processing using initial script.

Add/Remove packages

You can add or remove required packages in these files:

fedora-workstation-common.ks
fedora-neuro-gnome-common.ks
fedora-live-base
fedora-comp-neuro-common.ks

Add/Remove group of packages

Example: remove @lxde-office package and add @libreoffice package

-@lxde-office   
@libreoffice

Add/Remove single of package

Example: remove midori and add Firefox

-midori
firefox

Add Packages related Fedora Neuro

You can add or remove Fedora neuro related packages in fedora-comp-neuro-common.ks

Managing Repositories

Build ISO on Fedora 30 which is the current release.

Edit the fedora-repo.ks file and make sure following entry is available in the file.

%include fedora-repo-not-rawhide.ks

Build ISO on Rawhide.

Edit the fedora-repo.ks file and make sure following entry is available in the file.

%include fedora-repo-rawhide.ks

You have freedom to manage repository URLs within the fedora-repo-not-rawhide.ks file. For example, you can add your local repository as well.

In the end

Once finished, remember to set SELinux in Enforcing mode.

[danishka@localhost ~]$ getenforce Permissive [danishka@localhost ~]$ sudo setenforce 1 [danishka@localhost ~]$ getenforce Enforcing