LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Making slack ISO (https://www.linuxquestions.org/questions/slackware-14/making-slack-iso-257303/)

zaicheke 11-20-2004 01:51 PM

Making slack ISO
 
I made a slack iso but i added my own directory in the /slackware section. I wrote all the config files that go in the directory but how do i get the installer to show the directory.

MylesCLin 11-20-2004 06:51 PM

At my grandparents house right now, but when I come back tomorrow I'll take a look at the installer and get back to you.

gnashley 11-20-2004 11:16 PM

You'll have to modify the 'setup' scripts to show an extra folder.

zaicheke 11-20-2004 11:38 PM

which scripts exactly?

Ninja Cow 11-21-2004 03:56 AM

I've been wondering how to do this myself.

I can add packages successfully--no problem. Although they do not show up if I choose to install packages from an interactive menu.

Perhaps if you do this (as far as directory selection goes) Look in the isolinux folder and open "setpkg" with a text editor.

Code:

#!/bin/sh
# This script is used within the Slackware installer to present
# a package series selection menu.  If not present, a default list
# built into the installer is used.

# Protected tmp directory:
TMP=/var/log/setup/tmp
if [ ! -d $TMP ]; then
  mkdir -p $TMP
fi

rm -f $TMP/SeTSERIES
dialog --title "PACKAGE SERIES SELECTION" --item-help --checklist \
"Now it's time to select which general categories of software to install \
on your system.  Use the spacebar to select or unselect the software you \
wish to install.  You can use the up and down arrows to see all the \
possible choices.  Recommended choices have been preselected.  Press the \
ENTER key when you are finished." \
20 75 9 \
"A" "Base Linux system" on "The A (base) series contains the kernel and main system utilities." \
"AP" "Various Applications that do not need X" on "The AP series is a collection of useful applications." \
"D" "Program Development (C, C++, Lisp, Perl, etc.)" on "The D series contains compilers, debuggers, and other programming tools." \
"E" "GNU Emacs" on "The E series contains the GNU Emacs advanced real-time display editor." \
"F" "FAQ lists, HOWTO documentation" on "The F series contains essential documentation for Linux system administrators." \
"GNOME" "The GNOME desktop for X" on "The GNOME series contains the GNOME desktop environment and related libraries." \
"K" "Linux kernel source" on "The K series contains the source code for the Linux kernel." \
"KDE" "Qt and the K Desktop Environment for X" on "The KDE series contains the K Desktop Environment and related libraries." \
"KDEI" "International language support for KDE" off "The KDEI series provides support for languages other than US English in KDE." \
"L" "System Libraries (needed by KDE, GNOME, X, and more)" on "The L series contains important libraries needed by the rest of the system." \
"N" "Networking (TCP/IP, UUCP, Mail, News)" on "The N series contains network related clients and servers." \
"T" "TeX typesetting software" on "TeX is a typesetting system often used for mathematics and technical papers." \
"TCL" "Tcl/Tk script languages" on "The TCL series contains the Tcl/Tk/TclX languages and programs that use them." \
"X" "X Window System" on "This series contains X, the window system (or GUI) used by Linux." \
"XAP" "X Applications" on "The XAP series is a collection of applications for X." \
"Y" "Games" on "The Y series contains a collection of classic text-based games." \
2> $TMP/SeTSERIES
if [ ! $? = 0 ]; then
  rm -f $TMP/SeTSERIES
  exit
fi
# Rewrite the list into a single # delimited line:
INSTSETS="`cat $TMP/SeTSERIES | tr -d " "`"
INSTSETS="`echo $INSTSETS | tr "\042" "#" `"
INSTSETS="`echo $INSTSETS | tr "," "#" `"
# Store the selection list:
echo "$INSTSETS" > $TMP/SeTSERIES

Add your directory letter like so:

"C" "Name of Directory" on "Enter description here." \

After you modify that line to suit your needs, copy it to the "setpkg" file.

I don't know if this will work. I was going to try this myself tomorrow since I've wanted to create my own distro (Dropline installer on Slack with added packages, Dropline Linux ;))

zaicheke 11-21-2004 05:32 PM

thanks i'll give that a try.

Ninja Cow 11-21-2004 06:00 PM

I tried it about an hour ago and it worked! Also, if you want to add/remove individual packages so they do not appear of the interactive menu lists (I was having trouble with that myself) just edit the tagfile.


All times are GMT -5. The time now is 03:02 AM.