|
|
|
@ -2552,7 +2552,7 @@ sub checksystem{
|
|
|
|
|
# Определим профили установки или сборки
|
|
|
|
|
# @{$data{profile_install}}, @{$data{profile_share}}
|
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
if(!$data{builder}){
|
|
|
|
|
if(!$data{builder} && $data{type} ne "flash"){
|
|
|
|
|
printmes(gettext('Installation profiles')."\n");
|
|
|
|
|
{
|
|
|
|
|
#считаем базовые профили установки
|
|
|
|
@ -3074,7 +3074,7 @@ sub extract{
|
|
|
|
|
swapon();
|
|
|
|
|
|
|
|
|
|
printmes(" ".gettext('Mounting new volume')); printmes("... ");
|
|
|
|
|
if(system "$data{path} mount $data{rootinstall} $data{mount}"){
|
|
|
|
|
if(system "$data{path} mount -o sync $data{rootinstall} $data{mount}"){
|
|
|
|
|
printmes("\n"); printmes(gettext('Error')); printmes("! ");
|
|
|
|
|
printmes(gettext('Mounting installation valume failed')); printmes(".\n"); return "";
|
|
|
|
|
}
|
|
|
|
@ -3144,7 +3144,7 @@ sub extract{
|
|
|
|
|
printmes(gettext('Abort')); printmes("...\n");
|
|
|
|
|
printmes(gettext('Unmounting new volume')); printmes("...");
|
|
|
|
|
system "$data{path} rm -f $data{mount}/etc/calculate/calculate.ini"; #удалим информацию об неустановленной системе
|
|
|
|
|
foreach( (0.2,0.5,1,2,4) ) {
|
|
|
|
|
foreach( (0.2,0.5,1,2,4,8) ) {
|
|
|
|
|
if(system "($data{path} fuser -m $data{mount} 2>&1) >/dev/null") {
|
|
|
|
|
system "$data{path} umount $data{mount}";
|
|
|
|
|
last;
|
|
|
|
|