summaryrefslogtreecommitdiffstats
path: root/source/README.TXT
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-02-02 08:21:48 +0000
committer Eric Hameleers <alien@slackware.com>2022-02-02 11:59:53 +0100
commit7e275bc3aef08e8f43d293f17c0a035a637429c9 (patch)
treeeb72b9d935721b180c87f483fbb35c3905c12014 /source/README.TXT
parent8b3ff193a856f7dfb046794bc6bb235804372552 (diff)
downloadcurrent-7e275bc3aef08e8f43d293f17c0a035a637429c9.tar.gz
current-7e275bc3aef08e8f43d293f17c0a035a637429c9.tar.xz
Wed Feb 2 08:21:48 UTC 202220220202082148
a/kernel-generic-5.15.19-x86_64-2.txz: Upgraded. a/kernel-huge-5.15.19-x86_64-2.txz: Upgraded. a/kernel-modules-5.15.19-x86_64-2.txz: Upgraded. d/kernel-headers-5.15.19-x86-2.txz: Upgraded. k/kernel-source-5.15.19-noarch-2.txz: Upgraded. -RTC_SYSTOHC_DEVICE "rtc0" RTC_SYSTOHC y -> n isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. testing/source/linux-5.16.5-configs/*: Rebuilt. -RTC_SYSTOHC_DEVICE "rtc0" RTC_SYSTOHC y -> n usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/README.TXT')
-rw-r--r--source/README.TXT31
1 files changed, 11 insertions, 20 deletions
diff --git a/source/README.TXT b/source/README.TXT
index 404c6de02..74412eb38 100644
--- a/source/README.TXT
+++ b/source/README.TXT
@@ -8,26 +8,17 @@ fuzzy:~# which cp
/bin/cp
Then, you grep for the package it came from. Note that the leading '/'
-is removed:
-
-fuzzy:~# grep bin/cp /var/log/packages/*
-/var/log/packages/cpio-2.4.2.91-i386-1:bin/cpio
-/var/log/packages/fileutils-4.1-i386-2:bin/cp
-/var/log/packages/gcc-2.95.3-i386-2:usr/bin/cpp
-/var/log/packages/gnome-applets-1.4.0.5-i386-1:usr/bin/cpumemusage_applet
-
-
-From this, you can see that 'cp' came from the fileutils-4.1-i386-2 package.
-The source will be found in a corresponding subdirectory. In this case, that
-would be ./a/bin. Don't be fooled into thinking that the _bin.tar.gz in this
-directory is the package with the source code -- anything starting with '_' is
-just a framework package full of empty files with the correct permissions and
-ownerships for the completed package to use.
-
-Many of these packages now have scripts that untar, patch, and compile the
-source automatically. These are the 'SlackBuild' scripts. Moving back to the
-example above, you can figure out which package the bin/cp source came from by
-examining the SlackBuild script.
+is removed, and ^ and $ mark the beginning and end of the pattern to match:
+
+fuzzy:~# grep ^bin/cp$ /var/lib/pkgtools/packages/*
+/var/lib/pkgtools/packages/coreutils-9.0-x86_64-3:bin/cp
+
+From this, you can see that 'cp' came from the coreutils-9.0-x86_64-3 package.
+The source will be found in a corresponding subdirectory. In this case, that
+would be ./a/coreutils/.
+
+All of these packages have scripts that extract, patch, and compile the source
+automatically. These are the 'SlackBuild' scripts.
Have fun!