LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Does script exist that automates slack install with pre-selectable pkgs? (http://www.linuxquestions.org/questions/slackware-14/does-script-exist-that-automates-slack-install-with-pre-selectable-pkgs-729665/)

linus72 05-31-2009 09:22 AM

Does script exist that automates slack install with pre-selectable pkgs?
 
OK, I'm trying to pare down slack to fluxbox and some apps,etc on a Qemu vhd dual-booting with DSL.
Being that this is a process of trial and error; I am spending most of my time re-installing anew and having to pick individual pkgs,etc
I know I can use tagfiles, bbut was wondering if there was a script to do this
OR how to make a script that has all pkg's from 12.2 DVD that autoinstalls with the option of editing the script so that individual pkgs can be autoinstalled repeatedly-
meaning I screw the vhd up and want to start another install I just use the script and it does it's thing for me.

I would have to somehow include the script into the DVD yes?
Any help appreciated.
Thanks

linus72 05-31-2009 09:36 AM

Well, I gues the tagfiles will work-so now i just remove pkg's from the tagfiles for each section I don't want and remove those pkg's from the DVD and then re-create the DVD-
is that all I have to do?
thanks

linus72 05-31-2009 09:46 AM

More info-
I am using the portable-qemu to run a dual-booting vhd with slack and dsl + swap
on a now 2.2GB vhd "qemu-img create vhd 2200M"

here's the install script-
Code:

for num in 1; do
    qemu/qemu -L qemu/ -no-kqemu -soundhw all -m 128 -boot d -cdrom qemu/SlackDVD.iso -hda qemu/vhd &
    sleep 1s
done

here's the "run from vhd" script-

Code:

for num in 1; do
    qemu/qemu -L qemu/ -no-kqemu -soundhw all -m 256 -hda qemu/vhd &
    sleep 1s
done

Issues include having to re-install slack anew if I mess it up.

DSL doesn't install lilo correctly but grub installs fine.
( dsl-frugal-grub or frugal-lilo )
DSL also doesn't install lilo correctly on HD install, but grub is good.

Slack installs lilo correctly using expert config, but How to add
dsl on hda2 to lilo.conf?
I know grub mostly....

linus72 05-31-2009 10:04 AM

OK, taken from the "N" pkg folder tagfile what do the abbreviations mean-

"rt61-firmware:ADD
rt71w-firmware:ADD
samba:OPT
sendmail:REC
sendmail-cf:OPT"

I assume ADD means add it, and OPT means optional, but does REC mean required or what?

Also, what do I put there if I don't want that pkg installed?
Can I just remove that pkg and remove it from the tagfile list?

bgeddy 05-31-2009 10:29 AM

The Slackware Book has information on tagfiles - it will be useful. I have supplied a link to an online version but it is included on the Slackware DVD/CD's. It's well worth reading.

Woodsman 05-31-2009 10:38 AM

Quote:

I know I can use tagfiles, bbut was wondering if there was a script to do this
You can find a simple tagfile generator script here. Scroll to section 17.4.3.

When you perform an install from the DVD/CDs, I believe therre is an option to select a different tagfile location. Been a while since I looked, however.

Quote:

does REC mean required or what
RECommended.

Same link as above, but refer to Table 17.1 in section 17.4.2:

ADD: A package marked by this flag will automatically be installed
SKP: A package marked by this flag will automatically be skipped
REC: Ask the user what to do, recommend installation of the package.
OPT: Ask the user what to do, the package will be described as optional.


All times are GMT -5. The time now is 04:59 PM.