Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Current #15

wants to merge 2 commits into from

Conversation

szycha76
Copy link

Some programs in vbatts/slackware:current image at hub.docker.com do not work due to missing libraries. This patch solves those problems.

This commit adds missing packages required for /bin/passwd, /sbin/ip,
and /sbin/tc to work.

libmnl is required for /sbin/ip to work
iptables & friends are required by /sbin/tc
pam-1, cracklib etc. are required by /bin/passwd to work
e2fsprogs seems to be only source of libcom_err.so required by
$LIB/security/pam_unix.so.
@vbatts
Copy link
Owner

vbatts commented Oct 16, 2020

Thanks for the PR. It's been sitting in my inbox until the time that I can test it.

@vbatts
Copy link
Owner

vbatts commented Dec 1, 2020

Hrm. I'll have to check on something else.

make VERSION=current LATEST=current
[...]
181182 blocks
Fetching http://slackware.osuosl.org/slackware64-current/slackware64/a/aaa_base-14.2-x86_64-5.txz
chroot: failed to run command ‘/usr/lib/setup/installpkg’: No such file or directory
Makefile:37: recipe for target 'slackware64-current.tar' failed
make: *** [slackware64-current.tar] Error 127

this is from a slackware64-14.2 host.

@Sevlin
Copy link

Sevlin commented Apr 22, 2021

@vbatts I think that slackware_current_must_haves is missing aaa_libraries, which replaces aaa_elflibs in previous versions of Slackware. Also, there are changes in deps regarding added support of pam and kerberos.

@vbatts
Copy link
Owner

vbatts commented Jul 22, 2021

I like this approach (and should've done something like it since the beginning for each version).
I just pushed changes to master that fix other issues, but overlap a bit with this.

Are all the network and gnome-keyring packages required? perhaps not.

Could you rebase on master?
The diff would look something like:

diff --git a/mkimage-slackware.sh b/mkimage-slackware.sh
index d7cfb10..0b7ff14 100755
--- a/mkimage-slackware.sh
+++ b/mkimage-slackware.sh
@@ -22,15 +22,9 @@ CWD=$(pwd)

 base_pkgs="a/aaa_base \
        a/aaa_elflibs \
-       a/aaa_libraries \
        a/coreutils \
        a/glibc-solibs \
-       a/aaa_glibc-solibs \
        a/aaa_terminfo \
-       a/pam \
-       a/cracklib \
-       a/libpwquality \
-       a/e2fsprogs \
        a/pkgtools \
        a/shadow \
        a/tar \
@@ -71,6 +65,8 @@ base_pkgs="a/aaa_base \
        n/openssl"

 slackware_current_must_haves="n/libmnl \
+       a/aaa_libraries \
+       a/aaa_glibc-solibs \
        a/pam-1 \
        l/libcap-ng \
        n/iptables \

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants