LinuxQuestions.org
Help answer threads with 0 replies.
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 01-22-2015, 05:30 PM   #61
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154

Quote:
Originally Posted by viewtiful_jon View Post
It seems the StripSlack scripts/tagfiles have been removed from the site (getting 404s when using the direct link). Anybody know where I can get a copy of this now/have a copy they can send me?
I'm planning to redo them. Everything was in a half-finished state, and since I have more urgent things to do before, I decided to take it down and finish everything as soon as I have the time.

This tutorial contains a list of all the core packages to get a bootable Slackware.

http://www.microlinux.fr/slackware/L...lack-HOWTO.txt
 
Old 01-22-2015, 06:09 PM   #62
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
You can strip it even more:
* ed can replace elvis, way too heavy
* ship only kernel-huge-smp and kernel-modules-smp
* you don't need sysvinit-functions

Bon ce que j'en dis, c'est histoire de causer[1]

[1]untranslatable, sorry.

Expect more constructive comments in the coming days.
 
Old 01-22-2015, 07:44 PM   #63
viewtiful_jon
LQ Newbie
 
Registered: Apr 2014
Posts: 12

Rep: Reputation: 4
Quote:
Originally Posted by kikinovak View Post
I'm planning to redo them. Everything was in a half-finished state, and since I have more urgent things to do before, I decided to take it down and finish everything as soon as I have the time.

This tutorial contains a list of all the core packages to get a bootable Slackware.

http://www.microlinux.fr/slackware/L...lack-HOWTO.txt
Ah okay. Thanks for your work on making all the MLED packages/projects!
 
Old 01-25-2015, 07:57 AM   #64
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by viewtiful_jon View Post
Ah okay. Thanks for your work on making all the MLED packages/projects!
Right, here goes. This is a work in progress, but already usable. For a start, I have two "flavors" of Stripslack:
  • core = an extremely stripped version that boots, not much else
  • minimal = core + network + minimal set of utilities

The project is described in the file StripSlack-HOWTO.

I've uploaded a first set of tagfiles for "core". And I'm actually busy figuring out the needed packages for "minimal". Once I have a workable "minimal" installation, I'll upload the corresponding tagfiles, and I suggest we all start from here to test and discuss this further: what to include, what to leave out, ...

Cheers,

Niki
 
Old 01-25-2015, 05:13 PM   #65
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Not sure if this helps, but I have a set of tagfiles[1] I use for building stuff like LinuxFromScratch from. It's a bit heavier than what you are working on, but I've had good luck building from it. I am also able to use basic networking on it. Mostly, these tagfiles have been used in qemu virtual machines.
Generally, I make an installation to a master image, then clone that image for actual work/testing.

1. https://github.com/jvvv/slacktags

Last edited by j_v; 01-25-2015 at 05:15 PM.
 
1 members found this post helpful.
Old 01-25-2015, 08:16 PM   #66
viewtiful_jon
LQ Newbie
 
Registered: Apr 2014
Posts: 12

Rep: Reputation: 4
@kikinovak, this is looking good!

I was wondering, when you say "Connect to a network" in the HOWTO (for features to be added to the Minimal branch), I'm assuming you're referring to Wired and not Wireless? Either way, I'd be more than happy to do any testing on my laptop with a spare hard drive.
 
Old 01-25-2015, 11:56 PM   #67
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by viewtiful_jon View Post
@kikinovak, this is looking good!

I was wondering, when you say "Connect to a network" in the HOWTO (for features to be added to the Minimal branch), I'm assuming you're referring to Wired and not Wireless? Either way, I'd be more than happy to do any testing on my laptop with a spare hard drive.
Yes, this only concerns a wired connection, since this minimal installation is only interesting for servers.
 
Old 01-25-2015, 11:58 PM   #68
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by j_v View Post
Not sure if this helps, but I have a set of tagfiles[1] I use for building stuff like LinuxFromScratch from. It's a bit heavier than what you are working on, but I've had good luck building from it. I am also able to use basic networking on it. Mostly, these tagfiles have been used in qemu virtual machines.
Generally, I make an installation to a master image, then clone that image for actual work/testing.

1. https://github.com/jvvv/slacktags
I'll test these.

One word of advice: try to edit your tagfiles like I do by regrouping the ADD and SKP sections. Thus you can see in a single glance what's added and what's left out.
 
Old 01-26-2015, 03:42 PM   #69
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Quote:
Originally Posted by kikinovak View Post
One word of advice: try to edit your tagfiles like I do by regrouping the ADD and SKP sections. Thus you can see in a single glance what's added and what's left out.
Thanks. I must admit, when perusing your tagfiles, that method makes for easier reading. I will try to get to it tonight.

EDIT:
Just pushed the changes. Thanks again for the suggestion.

I also found another, slightly fuller, set in my local repo (had forgotten about it). Added same changes and added to my repo.
Original is bare_dev and other is mini_dev.

Last edited by j_v; 01-26-2015 at 06:26 PM.
 
Old 01-26-2015, 06:36 PM   #70
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
I wrote this little script for separating the ADD and SKP entries into sections:

Code:
#!/bin/sh

for f in */tagfile ; do
    sed -n '/ADD/p' $f > ${f}.add
    sed -n '/SKP/p' $f > ${f}.skp
    if [ -s ${f}.add ]; then
        printf '# Add\n' > ${f}.new
        cat ${f}.add >> ${f}.new
    fi
    if [ -s ${f}.skp ]; then
        if [ -s ${f}.new ]; then
            printf '\n' >> ${f}.new
        fi
        printf '# Skip\n' >> ${f}.new
        cat ${f}.skp >> ${f}.new
    fi
    if [ -s ${f}.new ]; then
        mv ${f}.new $f
    else
        rm ${f}.new
    fi
    rm ${f}.add ${f}.skp
done
Could probably be done more elegantly in awk.

Cheers
 
1 members found this post helpful.
Old 01-27-2015, 05:14 AM   #71
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
Interesting! How about adding a list with packages needed to for development?
StripSlack, LFSlack and BLFSlack don't provide the ability to build packages yourself, while this is one of the most usefull feature on a LFS-system.
Adding all devel packages might be a bit silly.
In the past I did some experimenting by starting from a stripped slackware-current and rebuilding/upgrading all base-packages. The biggest problem I faced was finding the build-dependencies for certain packages.
Now I just use LFS with pkgutils using either manualix' Pkgfiles, Nutyx' or CRUX'.
 
Old 01-27-2015, 11:01 AM   #72
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by hendrickxm View Post
Interesting! How about adding a list with packages needed to for development?
I thought about it, then decided against it. The final scope of this reduced system is to provide a minimal and sane base for servers (public or LAN). On the other hand, it shouldn't be too hard to add gcc, make, autoconf etc. to the minimal system if you want to build stuff.

Now to something different.

I just wrote a first - and already usable - draft of the "minimal" tagfiles. Use them like the core.tar.gz tagfiles, only replace "core" by "minimal":

Code:
# cd /tag
# wget http://www.microlinux.fr/slackware/stripslack-14.1/minimal.tar.gz
# tar xvzf minimal.tar.gz
# setup
I also added a very basic dependency checker. I did quite a lot of testing, and the current "minimal" system checks OK: no libraries missing, working network, basic command-line tools. It looks like this is a sane basic system. I'll probably add a handful of carefully selected packages in the days to come.

Code:
# ls /var/log/packages/
aaa_base-14.1-i486-1                     libICE-1.0.8-i486-1
aaa_elflibs-14.1-i486-3                  libSM-1.2.2-i486-1
aaa_terminfo-5.8-i486-1                  libtasn1-3.6-i486-1_slack14.1
acl-2.2.51-i486-1                        libX11-1.6.2-i486-1
attr-2.4.46-i486-1                       libXau-1.0.8-i486-1
bash-4.2.053-i486-1_slack14.1            libXaw-1.0.12-i486-1
bin-11.1-i486-1                          libxcb-1.9.1-i486-1
bzip2-1.0.6-i486-1                       libXdmcp-1.1.1-i486-1
ca-certificates-20130906-noarch-1        libXext-1.3.2-i486-1
coreutils-8.21-i486-1                    libXmu-1.1.2-i486-1
cpio-2.11-i486-2                         libXpm-3.5.11-i486-1
curl-7.36.0-i486-1_slack14.1             libXt-1.1.4-i486-1
cxxlibs-6.0.18-i486-1                    lilo-24.0-i486-4
cyrus-sasl-2.1.23-i486-5                 linux-faqs-20060228-noarch-1
db48-4.8.30-i486-2                       linux-howtos-20131011-noarch-1
devs-2.3.1-noarch-25                     lvm2-2.02.100-i486-1
dhcpcd-6.0.5-i486-3_slack14.1            man-1.6g-i486-1
dialog-1.2_20130523-i486-1               man-pages-3.53-noarch-1
diffutils-3.3-i486-1                     mdadm-3.2.6-i486-1
e2fsprogs-1.42.8-i486-2                  mkinitrd-1.4.8-i486-2
elvis-2.2_0-i486-2                       mpfr-3.1.2-i486-1
etc-14.1-i486-2                          ncurses-5.9-i486-2
file-5.14-i486-1                         nettle-2.7.1-i486-1
findutils-4.4.2-i486-1                   net-tools-1.60.20120726git-i486-1
fontconfig-2.10.93-i486-1                network-scripts-14.1-noarch-2
gawk-4.1.0-i486-2                        openssh-6.7p1-i486-2_slack14.1
gd-2.0.35-i486-4                         openssl-solibs-1.0.1k-i486-1_slack14.1
gettext-0.18.2.1-i486-2                  p11-kit-0.16.4-i486-1
git-1.8.4-i486-1                         perl-5.18.1-i486-1
glibc-2.17-i486-9_slack14.1              pkgtools-14.1-noarch-2
glibc-solibs-2.17-i486-9_slack14.1       procps-3.2.8-i486-4
glibc-zoneinfo-2014i-noarch-1_slack14.1  python-2.7.5-i486-1
gnupg-1.4.17-i486-1_slack14.1            sed-4.2.2-i486-1
gnutls-3.1.25-i486-1_slack14.1           shadow-4.1.5.1-i486-3_slack14.1
grep-2.14-i486-1                         slackpkg-2.82.0-noarch-12
groff-1.22.2-i486-1                      sysklogd-1.5-i486-2
gzip-1.6-i486-1                          sysvinit-2.88dsf-i486-3
iproute2-3.10.0-i486-2                   sysvinit-functions-8.53-i486-2
iputils-s20121221-i486-1                 sysvinit-scripts-2.0-noarch-17
kbd-1.15.3-i486-2                        tar-1.26-i486-1
kernel-firmware-20131008git-noarch-1     texinfo-4.13a-i486-4
kernel-generic-3.10.17-i486-3            udev-182-i486-7
kernel-generic-smp-3.10.17_smp-i686-3    user-settings-console-1.0-noarch-3_microlinux
kernel-huge-3.10.17-i486-3               util-linux-2.21.2-i486-6
kernel-huge-smp-3.10.17_smp-i686-3       vim-7.4.050-i486-1
kernel-modules-3.10.17-i486-3            wget-1.14-i486-3_slack14.1
kernel-modules-smp-3.10.17_smp-i686-3    which-2.20-i486-1
kmod-15-i486-1                           xz-5.0.5-i486-1
less-451-i486-1
Cheers,

Niki
 
Old 01-28-2015, 07:13 AM   #73
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Some news on the StripSlack front. I spent a few hours working on this, and I must say, I'm quite happy with the result.

http://www.microlinux.fr/slackware/stripslack-14.1/

Thing are now much more simple. The first attempts also had an educational purpose, but I decided to get rid of this and concentrate on something immediately usable.

Everything's in the README file:

http://www.microlinux.fr/slackware/s...4.1/README.txt

Cheers,

Niki
 
Old 01-28-2015, 07:25 AM   #74
spongetron
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 61

Rep: Reputation: Disabled
Nice work!

Why don't you get rid of the kernel-huge packages, as you have the generic ones with mkinitrd. I would also go with elvis or vim, not both of them.
 
Old 01-28-2015, 08:38 AM   #75
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by spongetron View Post
Nice work!

Why don't you get rid of the kernel-huge packages, as you have the generic ones with mkinitrd. I would also go with elvis or vim, not both of them.
Good idea. I followed both your suggestions and modified the tagfiles accordingly. I also added a caveat section in the README, since building an initrd and switching to the GENERIC kernel before the initial reboot becomes mandatory.

On a side note: the goal of this little project is not to be completely desperate about reducing the size of the installation, but to offer a coherent system that can be used as a base for a server installation.

The question was raised as to whether or not to include some development tools (gcc, make, kernel-source, ...). While the user who raised this may have a point, I think the better solution to keep things sane is to build stuff on a dedicated (virtual) build machine, and then only use the server to actually run the stuff.
 
  


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
Minimal configuration to run XWindows client software? FeyFre Slackware 4 03-06-2012 12:11 PM
Need minimal Samba configuration with guest r/w share instructions daggett Linux - Server 1 11-09-2011 03:22 PM
help plz, redhat entreprise 3 minimal hardware configuration akadidm Linux - Hardware 3 06-12-2006 05:35 AM
Minimal Slackware hsimah Linux - Newbie 5 01-06-2006 09:03 PM
Minimal Slackware? Allen614 Slackware 26 03-21-2004 03:17 AM

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

All times are GMT -5. The time now is 10:37 PM.

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