User:JRD/SalixLive
Contents |
Salix Live team discussion
Introduction
Salix Live brings together several elements:
- SaLT -- the initrd, with the Kernel for Live (with aufs)
- SaLT-scripts -- to build the iso
- salix-live -- configuration for salt-scripts for each Salix flavour
- The installer, which includes:
- salix live installer
- BootSetup (= lilosetup + GRUB + EFI)
- Python common libraries: pylibsalt, UrwidMore, pyreadpartitions
These were abstracted from existing code as part of a major cleanup to make development and maintenance easier in future
BootSetup uses os-prober as a backend, but os-prober has a bug (for detecting windows 8 efi sometimes), so need to decide how to handle it. It is a Slackware package.
Testing new libraries
0. Install pip from repos, and wheel from pip:
sudo pip install wheel
1. Clone library from github, e.g.:
git clone http://github.com/jrd/pylibsalt.git
2. Go into cloned directory and do ./make install
(not as root); will be installed in $HOME/.local
3. Module can be imported in python directly
NB (optional, correct utf-8 problems with help()
function): may need to put the following in .bashrc
:
export PYTHONSTARTUP=~/bin/python.i.py
and in `~/bin/python.i.py` add:
#!/usr/bin/env python from __future__ import division, unicode_literals, print_function, absolute_import import sys reload(sys) sys.setdefaultencoding('utf8')
This step is not mandatory at all.
Please see the Python coding style guidelines
Bootsetup has moved to a wizard interface (in efi
branch for now) instead of one window with everything.
This should make debugging and development easier because the parts are independent
Trello
Link: http://trello.com/b/u4H5gtdX/salix-live
Meeting
We will meet on 6th July at 16.00 UTC (=18.00 in France, 19.00 in Greece) to discuss progress