From: <cod...@go...> - 2008-12-02 16:02:35
|
Author: M0E.lnx Date: Tue Dec 2 08:01:34 2008 New Revision: 335 Modified: branches/iVL/.lang/#project.pot branches/iVL/MdlConfLilo.module Log: Fixed binding options for lilo setup Modified: branches/iVL/.lang/#project.pot ============================================================================== --- branches/iVL/.lang/#project.pot (original) +++ branches/iVL/.lang/#project.pot Tue Dec 2 08:01:34 2008 @@ -1,4 +1,4 @@ -# /home/rbistolfi/vinstall-ng/.project +# /home/vluser/devel/installer/.project # Generated by Gambas compiler # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. Modified: branches/iVL/MdlConfLilo.module ============================================================================== --- branches/iVL/MdlConfLilo.module (original) +++ branches/iVL/MdlConfLilo.module Tue Dec 2 08:01:34 2008 @@ -298,15 +298,22 @@ DIM sOut AS String DIM cb AS CheckBox DIM cbox AS ComboBox -' SHELL "mount -o bind /sys " & ClsGlobal.sTargetMnt &/ "sys" WAIT -SHELL "mount -o bind /mnt/target/lib /lib && depmod -aq && /etc/rc.d/rc.udev restart" WAIT + DIM sArch AS String + +EXEC ["uname", "-r"] TO sArch +IF Exist("/lib" &/ "modules" &/ Trim(sarch)) = FALSE THEN +' running hosted install detected + TRY MKDIR "/lib" &/ "modules" &/ Trim(sarch) + SHELL "mount -o bind /mnt/target/lib/modules" &/ Trim(sarch) & " /lib/modules" &/ Trim(sarch)" && depmod -aq" +END IF + + +'SHELL "mount -o bind /mnt/target/lib /lib && depmod -aq && /etc/rc.d/rc.udev restart" WAIT EXEC ["mount", "-o", "bind", "/sys", ClsGlobal.sTargetMnt &/ "sys"] WAIT -' SHELL "mount -o bind /proc " & ClsGlobal.sTargetMnt &/ "proc" WAIT EXEC ["mount", "-o", "bind", "/proc", ClsGlobal.sTargetMnt &/ "proc"] WAIT -' SHELL "mount -o bind /tmp " & ClsGlobal.sTargetMnt &/ "tmp" WAIT EXEC ["mount", "-o", "bind", "/tmp", ClsGlobal.sTargetMnt &/ "tmp"] WAIT -' SHELL "mount -o bind /dev " & ClsGlobal.sTargetMnt &/ "dev" WAIT EXEC ["mount", "-o", "bind", "/dev", ClsGlobal.sTargetMnt &/ "dev"] WAIT + ' Mount home directory for user accounts |