SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Amongst others it discourages the use of 64-bit block ciphers. See https://sweet32.info/ for background. The default cipher still seems to be BF-CBC, so there shouldn't be compatibility problems. (OpenSSL was also patched because of this, but probably as it has been rated as LOW risk, there is no new release yet, see https://www.openssl.org/blog/blog/2016/08/24/sweet32/)
Btw.: the --enable-password-save option used in the current SlackBuild has been removed since 2.3.9.
Really? I agree that I haven't had issue with the huge kernel, but I've never had issues with building initrds. If I use the mkinitrd_command_generator.sh script included with Slackware, it's always led to me an initrd that boots the system correctly.
save the resume partition.
I had an upgrade, and couldn't help but wonder why out of sudden my laptop can't resume hibernation
Code:
# mcedit /etc/mkinitrd.conf
# mkinitrd -F
solved it finally
also i modify the stock mkinitrd.conf in following way:
Code:
# mkinitrd.conf.sample
# See "man mkinitrd.conf" for details on the syntax of this file
#
#SOURCE_TREE="/boot/initrd-tree"
#CLEAR_TREE="0"
KERNEL_VERSION="$(uname -r)"
OUTPUT_IMAGE="/boot/initrd-${KERNEL_VERSION}.gz"
#KEYMAP="us"
MODULE_LIST="reiserfs:power"
#LUKSDEV="/dev/sda2"
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
ROOTDEV="/dev/sda3"
ROOTFS="reiserfs"
RESUMEDEV="/dev/sda5"
#RAID="0"
#LVM="0"
#UDEV="1"
#MODCONF="0"
#WAIT="1"
to get:
Code:
/boot/initrd-<version>.gz
as i used to run quite a few kernels on occasion
the key is in order of KERNEL_VERSION and OUTPUT_IMAGE
The patch below (from this post) should be applied to slackpkg to fix a bug that prevent it to print the complete list of duplicate packages when the name of any of these packages contains one (or more) character "+" (see here and there) :
Code:
--- core-functions.sh.orig 2015-08-20 10:11:33.145332126 +0200
+++ core-functions.sh 2015-08-20 10:12:20.295335111 +0200
@@ -1165,7 +1165,7 @@
better list:\n"
for i in $DOUBLEFILES ; do
ls -1 $ROOT/var/log/packages |\
- egrep -i -- "^${i}-[^-]+-(${ARCH}|fw|noarch)-"
+ grep -i -- "^${i}-[^-]\+-\(${ARCH}\|fw\|noarch\)-"
done
echo -ne "\n\
You can (B)lacklist, (R)emove, or (I)gnore these packages.\n\
@@ -1180,7 +1180,7 @@
R|r)
for i in $DOUBLEFILES ; do
FILE=$(ls -1 $ROOT/var/log/packages |\
- egrep -i -- "^${i}-[^-]+-(${ARCH}|fw|noarch)-")
+ grep -i -- "^${i}-[^-]\+-\(${ARCH}\|fw\|noarch\)-")
FILES="$FILES $FILE"
done
showlist "$FILES" remove
The patch below (from this post) should be applied to /usr/bin/update-gdk-pixbuf-loaders (package gdk-pixbuf2) to ensure that 32-bit gdk pixbuf loader cache is updated on multilib systems (see here and there).
Code:
--- /usr/bin/update-gdk-pixbuf-loaders.bak 2016-08-26 14:40:42.901913302 +0200
+++ /usr/bin/update-gdk-pixbuf-loaders 2016-08-26 14:49:28.087897472 +0200
@@ -20,18 +20,12 @@
fi
/usr/bin/gdk-pixbuf-query-loaders-64 --update-cache
# Check for x86_64 multilib:
- if ls -d /etc/gtk-2.0/i?86* 1> /dev/null 2> /dev/null ; then
- for d in $(ls -d /etc/pango/i?86*); do
- mlhost=$(basename $d)
- break
- done
- if [ -x /usr/bin/gdk-pixbuf-query-loaders-32 ]; then
- if [ "$1" = "--verbose" ]; then
- echo "Updating gdk-pixbuf.loaders for ${mlhost}:"
- echo " /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache"
- fi
- /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache
+ if [ -x /usr/bin/gdk-pixbuf-query-loaders-32 ]; then
+ if [ "$1" = "--verbose" ]; then
+ echo "Updating gdk-pixbuf.loaders for 32-bit:"
+ echo " /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache"
fi
+ /usr/bin/gdk-pixbuf-query-loaders-32 --update-cache
fi
else
if [ "$1" = "--verbose" ]; then
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.