All --
I like the way CentOS places the anaconda-ks.cfg file in /root/
Code:
[root@nuc10i7 ~]# ls -la /root/anaconda-ks.cfg
-rw-------. 1 root root 1482 Jan 8 10:31 /root/anaconda-ks.cfg
It tells me exactly when that particular system was installed ( this one was installed yesterday morning ).
I always copy the slackware tree from the USB Device that I used for my install to my local File System after installing so that I can keep my local repo up-to-date via rsync and move as few files over the internet as possible.
This is how I create /root/slackware-initial-install.txt
Code:
[ ! -d /mnt/usb ] && mkdir /mnt/usb
mount /dev/sdx /mnt/usb # watch out ! change for YOUR usb drive !
# change slackware-current-64/ChangeLog.txt to slackware-current ( ? ) for 32-bit installs
head -1 /mnt/usb/slackware-current-64/ChangeLog.txt > /root/slackware-initial-install.txt
# this step is optional ; I use it when I forget to run head ... immediately
touch -r /var/log/packages/aaa_base-15.0-x86_64-1 /root/slackware-initial-install.txt
umount /mnt/usb
Now I have a file like this on my system:
Code:
# ls -la ~/slackware-initial-install.txt
-rw-r--r-- 1 root root 29 Nov 7 04:35 /root/slackware-initial-install.txt
# cat ~/slackware-initial-install.txt
Sat Nov 6 20:24:12 UTC 2021
This works for me because I don't use any Package Managers other than installpkg, ugradepkg and removepkg
HTH
-- kjh