Mike Hiretsky
85df3751db
Fix os_root_dev and getUUIDDict.
...
getUUIDDict uses /sbin/blkid for correct detect UUID.
Fix detect device for partition, now using udev.
13 years ago
Mike Hiretsky
a073ca298a
Add function for detect device parameters. (LVM and RAID)
...
Fix getPartitionSize from partition with zero size.
Added
countPartitions - get count partition on devices by /sysfs.
getLvmGroups - get all LVM groups.
getLvmPartitions - get partitions using by LVM, specified by vg_name and
lv_name.
getPartitionDevice - get real deivce using by partition,lvm or mdraid
getDeviceType - get scheme of device (specified by syspath).
Example: disk-partition-raid-lvm
getRaidPartitions - get raid partitions.
getPartitionType - get partition table (primary,extended,logical)
getOsProberHash - generate hash for installed OS on all partitions.
13 years ago
Mike Hiretsky
7d95670209
Refactoring and improvement.
...
Class process: add ability specify LANG by lang param.
Rewrite runOsCommand, genpassword, getpathenv.
Fix readFile function.
Add function selectVar to varsShare for selecting variables from matrix.
Add function getKernelUid by device.
Rewrite cl_kernel_uid fill method by using getKernelUid.
13 years ago
Mike Hiretsky
57ee00e91a
Fix detect x11_video_drv by xorg.log.
13 years ago
Mike Hiretsky
eb3033bce5
Fix video detect.
13 years ago
Mike Hiretsky
2c100fab3b
Add video card name variable.
13 years ago
Mike Hiretsky
70100bbfbf
Fix determining allow networks.
13 years ago
Mike Hiretsky
e28572636a
Create ip module. Rewrite some functions.
13 years ago
Mike Hiretsky
37b09bc380
Fix available xorg drivers. (Add drivers from /usr/portage/distfiles).
13 years ago
Mike Hiretsky
6325f31c51
Add isPkgInstalled and fix video for server.
13 years ago
Mike Hiretsky
98beca7700
Fix get Driver from xorg.conf.
13 years ago
Mike Hiretsky
44395261d8
Fix detect root device.
13 years ago
Mike Hiretsky
0db15edb6c
Optimize os_x11_video_drv
13 years ago
Mike Hiretsky
8a16d003a5
Change detect video driver logic.
13 years ago
Mike Hiretsky
0eeb65dc68
Fix detect composite mode by cmd line.
13 years ago
Mike Hiretsky
902e98577f
Add detect video driver by cmdline param.
13 years ago
Mike Hiretsky
1ad2a516b2
Fix locale by default.
13 years ago
Mike Hiretsky
6d553e2abc
Fix uuid path absent.
14 years ago
Mike Hiretsky
11f6a62665
Add hr_cdrom_set variable.
14 years ago
Mike Hiretsky
187878e777
Add 1024x600 and 1366x768 to standard resolution.
14 years ago
Самоукин Алексей
3f70f3c731
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
420dfe29a0
Added template variables cl_ca_cert, cl_ca_key, cl_ca_path.
14 years ago
Mike Hiretsky
2f63df5c82
Fix locale_locale detect.
14 years ago
Mike Hiretsky
5bf89fb289
Add variable hr_laptop_model
14 years ago
Mike Hiretsky
37051d38e9
Added cl_chroot_status from calculate-builder.
14 years ago
Самоукин Алексей
4d7832c98e
Added LDAP variables.
14 years ago
Самоукин Алексей
a2de191f04
Modified method of printing variables.
...
We attribute variables official replaced hide.
Modified algorithm to determine the section to write the variable with higher priority in the library variables.
Variables with a certain value are replaced by variables with the method of filling.
14 years ago
Mike Hiretsky
95d5df3d09
Fix os_net_domain fill method.
...
Result of cl_overriding.exit call is value of variable. This made for
ability override exit for variables print.
14 years ago
Mike Hiretsky
217eb2bb12
Bug fix crash install if /dev/disk/by-id is not exists
14 years ago
Mike Hiretsky
bbfc691dc4
Moved not get_ methods from cl_fill to cl_vars_share module.
...
Fill function refactoring: os_linux_ver,os_linux_shortname and etc.
Moved some fill methods from calculate-install.
Changed regular expression for find initramfs files!!!.
Move os_scratch from install to lib.
14 years ago
Mike Hiretsky
46ce3b180d
Fix fill method of some variables.
...
os_linux_ver: fix get version from gentoo system.
hr_laptop: rewrite method without using hal.
14 years ago
Mike Hiretsky
22eba09cdd
Added support detect root dev by cmdline by UUID.
14 years ago
Самоукин Алексей
2cc5ecd294
Merge branch 'master' of git.calculate.ru:/calculate-lib
14 years ago
Самоукин Алексей
01a81d2fcb
Changed runOsCommand() (returns in case of error - False, if successful - list)
14 years ago
Mike Hiretsky
237aa8dfaf
Added new variable cl_kernel_uid.
...
Variable has value of 8 char of UUID root device.
14 years ago
Mike Hiretsky
90ee22f6cc
Merge branch 'master' of git.calculate.ru:calculate-lib
14 years ago
Mike Hiretsky
40da2e303b
Fix locale object
14 years ago
Самоукин Алексей
e358500edb
Changed algoritm applying clt template
14 years ago
Mike Hiretsky
29f48720d7
Modify locales
14 years ago
Mike Hiretsky
6528db1cdd
Fix bad getting linux shortname
14 years ago
Mike Hiretsky
4eb5b0149c
Fix locale. Fix video var.
14 years ago
Mike Hiretsky
e9c7ebbade
Change Mir Calculate Ltd to Calculate Ltd
14 years ago
Mike Hiretsky
088fe60b8f
Modify filling os_linux_ver os_linux_shortname
14 years ago
Mike Hiretsky
baf6c90b46
Move varaibles to install:
...
os_locale_consolefont
os_locale_dumpkeys
os_locale_keymap
14 years ago
Mike Hiretsky
36ecb9f36c
Move method getValueFromConfig from Fill to globattr
14 years ago
Mike Hiretsky
ab4f58351e
Move os_clock_timezone and os_clock_type variables to calculate-install.
14 years ago
Mike Hiretsky
237c427745
Change place of detect composite
14 years ago
Mike Hiretsky
1606d39240
Rename variables:
...
hr_x11_composite -> os_x11_composite
hr_x11_height -> os_x11_height
hr_x11_width -> os_x11_width
hr_x11_standart -> os_x11_standart
hr_x11_video_drv -> os_x11_video_drv
14 years ago
Mike Hiretsky
5050c48859
Move to lib some variables from calculate-desktop
14 years ago
Mike Hiretsky
2881a51155
Change fill method of video driver
14 years ago