LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Modifying Slackware 12 installer, replacing lilo with grub (https://www.linuxquestions.org/questions/slackware-14/modifying-slackware-12-installer-replacing-lilo-with-grub-633203/)

zomane 04-05-2008 02:36 AM

Modifying Slackware 12 installer, replacing lilo with grub
 
Hello
I trying to make some modification of installer. I read this , but in usr/lib/setup I cant find any script that invokes liloconfig. Somehow "CONFIGURE" from main menu of the installer invokes liloconfig, can someone tell me how it happens ?
Only two things for lilo I find in usr/lib/setup - first is in one dialog box and second is for lilo.conf .These two are in SeTconfig script.
Thanks in advance.

drmozes 04-05-2008 02:49 AM

Quote:

Originally Posted by zomane (Post 3111420)
Hello
I trying to make some modification of installer. I read this , but in usr/lib/setup I cant find any script that invokes liloconfig. Somehow "CONFIGURE" from main menu of the installer invokes liloconfig, can someone tell me how it happens ?
Only two things for lilo I find in usr/lib/setup - first is in one dialog box and second is for lilo.conf .These two are in SeTconfig script.
Thanks in advance.

Packages have an install/doinst.sh script that is invoked immediately after package installation (either during the installer or using installpkg once the OS is booted), and
/var/log/setup/<pkgname>.setup

In lilo's case, the lilo package has:
/var/log/setup/setup.liloconfig

At the end of the installation, The installer cycles through the contents of /var/log/setup and executes all of the scripts in /var/log/setup.

That's why you don't find a specific reference to the lilo config in the installer scripts.

zomane 04-05-2008 04:19 AM

Many thanks, drmozes.


All times are GMT -5. The time now is 09:12 PM.