slackware-container icon indicating copy to clipboard operation
slackware-container copied to clipboard

Current

Open szycha76 opened this issue 3 years ago • 4 comments

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

szycha76 avatar Oct 12 '20 14:10 szycha76

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

vbatts avatar Oct 16 '20 15:10 vbatts

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.

vbatts avatar Dec 01 '20 17:12 vbatts

@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.

Sevlin avatar Apr 22 '21 20:04 Sevlin

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 \

vbatts avatar Jul 22 '21 16:07 vbatts