LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2011, 12:38 PM   #1
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
Installation user scripts to custom packages selection


Hello all

First time posting here, sort of long time slacker with some gaps in between...

Anyway, I have a sort of question/feature request.

First of all, I fully understand the KISS philosophy from Slackware, and I fully appreciate it.

Story: I co-worker of my was looking for a Linux distro to install into a VM that he would be able to carry around in an USB memory from work to home.
I suggested for him to try slackware.
However, he has a limitation of ~2gb to the installation size, and he doesn't need most of the packages.
With this in mind, I helped him select the more relevants one, but it was a pain to make an installation that both works AND attends the 2gb maximum limitation.

From that experience, and also having in mind the KISS philosophy from Slackware, comes my question/sugestion: why not provide an install option like "Custom Packages Script", that will load a single script file from a USB/mounted partition and install pre-selected packages that a person has selected and build the script from?
This would allow anyone to build a custom Slackware installation and share it with the community.

Thoughts?


PS.: don't judge me by the Windows 7 icon, I'm at work :-)

Kind Regards, Felipe Weber.

Last edited by beder; 04-19-2011 at 12:40 PM.
 
Old 04-19-2011, 12:49 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
As far as I know you may do this with custom tag files. I have never tried it though. Have a look here for more information.
 
Old 04-19-2011, 01:08 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Using tagfiles is the right way to do this.
And if you have a system running that has exactly the packages installed that you want, you can run this script: http://www.slackware.com/~alien/tool...e_generator.sh and it will generate the custom tagfiles for you.

Eric
 
Old 04-19-2011, 01:09 PM   #4
beder
Member
 
Registered: Apr 2011
Posts: 82

Original Poster
Rep: Reputation: 28
Thank you for your quick answers.

Indeed, tagfiles looks like a more complex and complete implementation of what I am suggesting.
However, it's current use and availability doesn't seem to be what one would expect to solve my "problem" of easy access to custom installations of Slackware (shown to me by a google search for that)

Perhaps my sugestion should be changed to:
Hey all, how about we start making some custom tagfiles and post it to a common repository so we can have a quick way to do custom installation systems

Last edited by beder; 04-19-2011 at 01:10 PM.
 
Old 04-19-2011, 01:14 PM   #5
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 69
I _think_ the install environment has wpa_supplicant available. I'm sure it has dhcp and wget so you can download your tagfiles from anywhere you are. I don't think it would be possible to add custom tagfiles to Slack mirrors because everyone has different needs. We'd have dozens of those.
 
Old 04-19-2011, 01:16 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bonixavier View Post
I _think_ the install environment has wpa_supplicant available. I'm sure it has dhcp and wget so you can download your tagfiles from anywhere you are. I don't think it would be possible to add custom tagfiles to Slack mirrors because everyone has different needs. We'd have dozens of those.
Slackware does not have any wireless drivers or configuration utilities in its installer. If you want to do a network install, you'll have to use a LAN cable.

Eric
 
Old 04-19-2011, 01:21 PM   #7
beder
Member
 
Registered: Apr 2011
Posts: 82

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by bonixavier View Post
I don't think it would be possible to add custom tagfiles to Slack mirrors because everyone has different needs. We'd have dozens of those.
You know what, this got me thinking...
I wish I currently had the time to build something similar to what Slax does (http://www.slax.org/modules.php) and generate custom tagfiles based on that UI... This would be simply amazing from my point of view.

Off course it's way more fun to select each package on the installation, but this seems fun too :-)

I should put it in my bucket list
 
Old 04-19-2011, 01:34 PM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Hmm ... I'll state the obvious, you can buy a 8Gb USB drives for less than $10. That would allow you to install everything (who knows what your friend might want in the future), whilst still having some space left for a home directory. Why limit yourself to 2Gb and the fuss of having to trim everything down in this day and age when disk space is so cheap?

Alternatively if there is some extra reason for this limitation that I cannot fathom, I'm going to risk the wrath of some users and the fact that I may be branded as a heretic and suggest that if want a quick 'solution' and space is that limited, you could use one of the Slackware spinoffs that has dependency resolution. Ideally one that stays as close to Slackware as possible, i.e. SalixOS. Just do a "Core" install and then use slapt-get to add the rest.

Last edited by ruario; 04-19-2011 at 01:37 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] howto add some self made scripts packages and files to ubuntu 10.04 installation golden_boy615 Linux - General 1 12-27-2010 02:24 AM
Place for custom made system scripts the_gripmaster Linux - General 5 11-26-2008 04:29 PM
[SOLVED] list of packages found in group selection in Kickstart stuart_cherrington Red Hat 3 09-11-2008 10:04 AM
MRTG Custom Scripts Analysis RaelOM Linux - Software 2 07-11-2006 10:13 AM
Custom scripts Minnie000 Linspire/Freespire 1 04-24-2005 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration