diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/InstallProfileTODO.txt | 57 | ||||
-rw-r--r-- | docs/gli_uml.dia | bin | 3296 -> 3343 bytes |
2 files changed, 56 insertions, 1 deletions
diff --git a/docs/InstallProfileTODO.txt b/docs/InstallProfileTODO.txt index 0c032ea..f5e8675 100644 --- a/docs/InstallProfileTODO.txt +++ b/docs/InstallProfileTODO.txt @@ -1 +1,56 @@ -This file is to document what information is needed in GLIInstallProfile +This file is to document what information is needed in GLIInstallProfile but isn't yet there... + +############################ + +Method names: +set_make_conf() +get_make_conf() + +This is any kind of iterable data type (list, tuple) containing tuples of key/value pairs. +For instance, in make.conf you would see a line like this: +USE="X gtk gtk2 alsa" + +That line is broken up into the following ("USE", "X gtk gtk2 alsa"). +Therefore, get_make_conf() would return something like this: +(("USE", "X gtk gtk2 alsa"), ("GENTOO_MIRRORS", "http://gentoo.mirrors.pair.com")) + +############################ + +Method names: +set_rc_conf() +get_rc_conf() + +Same as make.conf style + +############################ + +Method name changes (and new methods): +Right now we have a set_network_interfaces() and get_network_interfaces() +However, we need to double this into set/get_network_interfaces_pre() and set/get_network_interfaces_post() +_pre defines network interfaces for the liveCD environment +_post defines network interfaces for the post-install environment +This will allow for a user to install while on one network while having the machine run on another network easily... + +############################ + +Format change: +_partition tables has nfs type devices in the following format as a dictionary record: { <device (nfs)> : <mount point> } +However, often times options need to be added to the mount command. +Therefore the record should be like this: { <device (nfs)> : ( <mount point>, <options> ) } +options is a string of options separated by commas. +It is in the same format used by the mount command. +ie. mount -t nfs -o rw,rsize=8192,wsize=8192 192.168.1.2:/usr/portage /mnt/gentoo/usr/portage +in this case the record would be: { "192.168.1.2:/usr/portage" : ( "/usr/portage", "rw,rsize=8192,wsize=8192" ) } +Unfortunately, the _is_ip() or _is_hostname() test is going to fail (this is a bug) +because the true device name is "192.168.1.2:/usr/portage" rather than "192.168.1.2" +Because of this, we should probably make a test called _is_nfs() + +############################ + +New Method: +set_ignore_install_step_depends() +get_ignore_install_step_depends() + +This is a bool. + +############################ diff --git a/docs/gli_uml.dia b/docs/gli_uml.dia Binary files differindex 3df3c76..132dfc8 100644 --- a/docs/gli_uml.dia +++ b/docs/gli_uml.dia |