General TC > Programming & Scripting - Unofficial

A script to aid in troubleshooting Tinycore installations.

<< < (2/4) > >>

Rich:
Hi Rudock1
I've uploaded an updated version of the script. I added a test for for the  lst=  boot code and corrected the  "Orphaned md5 files"
message to  "Orphaned dep files"  for the  .dep  file test.

If you'd like to confirm I got it right it would be appreciated.

aus9:
I realize your question is directed to Rudock1 but leaping ahead suggest minor changes

Table of Contents
Sect 8    onboot.lst, ondemand
suggest change to
Sect 8    boot lists including onboot.lst and ondemand

my section 8 output if interested is

--- Quote ---Sect 8    onboot.lst, ondemand

/mnt/sda3/tce/openbox.lst=
   haveged.tcz
   firmware-amdgpu.tcz
   xf86-video-amdgpu.tcz
   Xorg-7.7.tcz
   openbox-config.tcz
   dbus.tcz
   leafpad.tcz
   sakura.tcz
   mc.tcz
   nano.tcz
   mononoki-ttf-fonts.tcz
   fox-dep.tcz

ondemand=
   total 0
--- End quote ---


I know how to use boot lists....because you taught me  ;D
but without that modest change to heading ....maybe it confuses?

Your script discovers a number of private TCEs and I have no other suggestions

Rich:
Hi aus9

--- Quote from: aus9 on June 17, 2020, 03:03:27 AM --- ... suggest change to
Sect 8    boot lists including onboot.lst and ondemand ...
--- End quote ---
Someone not familiar with those files still won't know what that means.

The  Table of Contents  is sparse by design. It lists only the commands or files included in each section so the data of interest can
quickly be found. The results are intended for someone familiar with Linux commands and Tinycore specific configuration files.
An individual may only be interested in a handful of results, not all of them. A quick glance at the  Table of Contents  should tell
you if I tested for those results.


--- Quote --- ... Your script discovers a number of private TCEs ...
--- End quote ---
That's to be expected. Any extension missing an MD5 file will be flagged. So will any extension not listed in the repo or any
extension whose MD5 does not match the repos MD5. These tests merely report discrepancies. It is then up to the person
reviewing the results to determine whether any of those discrepancies indicate a problem.

Rudock1:
Hi Rich,
I am happy to say that your Section 8 changes to find customized onboot lst files works perfectly on my system, too.

I use syslinux as one of my bootloaders.  I added these lines below to your script and the .cfg file now shows up in Section 11.
added syslinux to the current list:

--- Code: ---BootLoaders="*/extlinux */isolinux */grub */syslinux"
--- End code ---
added syslinux under case "$loader" in

--- Code: ---        syslinux)
        if [ -f "$config/syslinux.cfg" ]
        then
            echo "$config/syslinux.cfg=" >> $Dest.tmp
            SaveIndentedResults "$config/syslinux.cfg"
            NotFound=0
        else
            echo -e "$config/= ???\n\tNo config file found." >> $Dest.tmp
        fi
        ;;
--- End code ---
Thanks again for all you do for Tiny Core.

thx
Billy


Rich:
Hi Rudock1

--- Quote from: Rudock1 on June 17, 2020, 01:44:28 PM --- ... I use syslinux as one of my bootloaders.  I added these lines below to your script  ...
--- End quote ---
Thank you. I will incorporate those changes later tonight.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version