LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware Installer Source Code (https://www.linuxquestions.org/questions/slackware-14/slackware-installer-source-code-134336/)

cybermonkey 01-13-2004 09:48 AM

Slackware Installer Source Code
 
Has anyone found the source to the simi graphical install for slackware?
What i am trying to do is build my own custom distro based on slackware.
I have tag files figured out but now i would like to try my hand at editing and customizing the slackware installer.
I also have anaconda in mind because i have that one down to but configure anaconda for slackware may be a pain in the ass.
If anyone knows where i could find the slackware installer source code that would be great.

Astro 01-13-2004 03:16 PM

Doesn't look like anyhting much complicated. I would guess a nice graphical BASH script or something of the sorts..

OdieQ 01-13-2004 03:16 PM

Shell scripts
 
I assume you are referring to the standard installer? As (nearly?) all Slackware system tools, it is a set of shell scripts. If I remember correctly, you'll find them in /usr/lib/setup on the installation root disks (either install.[12] or initrd.img in isolinux).

Cheers,
Odie

cybermonkey 01-13-2004 07:05 PM

Ok Install.1 or 2 is what i thought but when i copy them both to my desktop and try to
extract them i have to rename the file to (Install.1.gz) in order to extract anything.
Now when i do this the file that i get is all numaric like. (3455/6547/4276/765/234)
Is this Hex Code? If not then how would i go about makeing the files readable?
One of the things i would like to try is build a GUI installer for slackware but inorder to get
started i need to take a look at the install files.
The gui part shouldn't be to hard.
Anyways if you all have any input or support you would like to offer that would be great.
Slackware is the best distro i have ever seen and i have tryed them all.

OdieQ 01-16-2004 10:52 PM

Mount
 
They're disk images, so you need to mount them. Probably easiset to do with the one in the isolinux directory, since it's already in one piece. gunzip it and mount it (as root) with
Code:

mount initrd.img /mnt/floppy -oloop
(of course you can mount it anywhere you want).

A general tip: file is your friend.

I once wrote a graphical install and package managing system for slack in tcl/tk. Thanks to the simple package format it wasn't too hard, but it sucked anyway, so I've since thrown it away. Hope you have better luck!

Cheers.
Odie

Cerbere 01-17-2004 12:51 AM

You might try looking at one of the Slackware mirrors, in the directory:

slackware/slackware-9.1/source/rootdisks

Enjoy!
--- Cerbere

rkngl 01-18-2004 07:18 AM

If you installed from cds like me then boot into your first slackware install cd, type which setup to find out where the slackware installer is located on the cd, then browse it with your fav editor. AFAIK all the install scripts are under /usr/lib/setup on the cd and the post-install scripts are under /var/log/setup on your installed system.

dirstyGuy 01-18-2004 08:17 AM

I found them by doing following:

mkdir tmp/install; cd /tmp
gzip -dc /pathToRootdisks/install.1 >install1
gzip -cd /pathToRootdisks/install.2 >install2

mount -o loop -t ext2 install1 install
cp -auv install new-install
cd new-install
tar -xf ../install2
cd ..
umount install; rm -rf install install1 install2

The setup-scripts reside in newinstall/usr/lib/setup
They are shell script, the dialog-menus are written by using "dialog", see "man dialog"

cybermonkey 01-22-2004 03:15 PM

Wow thanks to everyone who posted a reply i now see the light at the end of the tunnel if anyone is interasted in helping me out with this project you can e-mail me at (fireflyeen@netscape.net)
Thanks Again:)

dirstyGuy 01-22-2004 05:06 PM

If u ever installed by using "expert mode" there is a gui for choosing the packages u want per mouse click. That is what I wanted to modify to be able to configure the custom tagfiles using it. To edit the tagfiles each time would be a little too much work, I'd rather use "expert mode" for installation then :D..

That is enough for me to have that gui for configuring tagfiles, to make a custom installer would be not that easy, i wish u much luck.. :)


All times are GMT -5. The time now is 03:58 PM.