From 473c4c6963116f2f46aadf6fc228e49388c0f992 Mon Sep 17 00:00:00 2001 From: Marcin Szychowski Date: Mon, 12 Oct 2020 14:57:26 +0200 Subject: [PATCH 1/2] Remove duplicate entry --- mkimage-slackware.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/mkimage-slackware.sh b/mkimage-slackware.sh index 17b25d9..9354744 100755 --- a/mkimage-slackware.sh +++ b/mkimage-slackware.sh @@ -46,7 +46,6 @@ base_pkgs="a/aaa_base \ a/dialog \ a/file \ a/gawk \ - a/time \ a/gettext \ a/libcgroup \ a/patch \ From 47b7f5fa115cff70e491fb054622026a68108c0e Mon Sep 17 00:00:00 2001 From: Marcin Szychowski Date: Mon, 12 Oct 2020 14:58:19 +0200 Subject: [PATCH 2/2] Adding missing slackware-current dependencies 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. --- mkimage-slackware.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/mkimage-slackware.sh b/mkimage-slackware.sh index 9354744..1e5f4aa 100755 --- a/mkimage-slackware.sh +++ b/mkimage-slackware.sh @@ -64,6 +64,27 @@ base_pkgs="a/aaa_base \ n/iproute2 \ n/openssl" +slackware_current_must_haves="n/libmnl \ + a/pam-1 \ + l/libcap-ng \ + n/iptables \ + l/libpcap \ + a/dbus-1 \ + l/libnl3 \ + n/libnfnetlink \ + n/libnftnl \ + n/libnetfilter_conntrack \ + l/gnome-keyring \ + a/libpwquality \ + a/cracklib \ + n/libtirpc \ + a/e2fsprogs" + +if [[ "$VERSION" == "current" ]]; then + base_pkgs="$base_pkgs \ + $slackware_current_must_haves" +fi + function cacheit() { file=$1 if [ ! -f "${CACHEFS}/${file}" ] ; then