Slackscan and Slackup settings

From Notes to self
Revision as of 16:11, 13 July 2022 by Verbovet (talk | contribs)
Jump to navigation Jump to search
  • scan
https://example.org/slackware64-15.0/extra/CHECKSUMS.md5
https://example.org/slackware64-15.0/patches/CHECKSUMS.md5
https://example.org/SBo/15.0/CHECKSUMS.md5
https://slackware.nl/people/alien/restricted_sbrepos/15.0/x86_64/CHECKSUMS.md5
  • filter
/slackware64-15.0/extra/bash-completion
/slackware64-15.0/patches/packages/
/SBo/15.0/
/restricted_sbrepos/15.0/x86_64/ffmpeg
  • blacklist
/linux-.\+/kernel-generic-
/linux-.\+/kernel-huge-
/linux-.\+/kernel-modules-
/linux-.\+/kernel-source-
/patches/packages/ffmpeg-
  • /etc/slackscan/kernel/
  • scan
https://example.org/slackware64-15.0/patches/CHECKSUMS.md5
  • filter
/slackware64-15.0/patches/packages/linux-.\+/kernel-
  • blacklist
/linux-.\+/kernel-headers-
  • /etc/slackup/post-install/
  • grub
#!/bin/bash
grub-install --recheck /dev/disk/by-id/...
  • kernel-modules
#!/bin/bash

[[ "${1}" =~ kernel-modules-[^-]+-[^-]+-[^-]+\.t.z ]] \
    || echo "Argument doesn't look like a kernel-modules package filename!"

kver=$(echo "${1}" | cut -d- -f3)

mkinitrd -F -k "$kver" || echo "Failed to generate initrd"

exit 0