Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Misalf on May 09, 2014, 11:03:34 AM

Title: Unable to download through AppsBrowser due to modified TCZs
Post by: Misalf on May 09, 2014, 11:03:34 AM
I have edited the start script of fontconfig.tcz (/usr/local/tce.installed/fontconfig) and repacked this extension to decrease boot time by a few secons.
Code: [Select]
#!/bin/sh
#fc-cache -s -f -v


When I try downloading anything that depends on fontconfig, it fails.
Code: [Select]
fontconfig.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on fontconfig.tcz
fontconfig.tcz.md5.txt  is still the original.

Is there a way I can ignore the md5sum check without removing it from the  tce-load  script?
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: gerald_clark on May 09, 2014, 11:09:32 AM
Create a new md5.txt file.
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: Misalf on May 09, 2014, 11:13:09 AM
Thanks, it's working.

I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: mocore on May 10, 2014, 02:22:05 AM
I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.

AFAIK /etc/sysconfig/tcedir/$NAME.tcz.md5.txt is used if already present
(usually after being downloaded from the server or a mirror  via use of 'apps' or 'tce-load' ) 
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: curaga on May 10, 2014, 02:27:53 AM
I thought the md5 sum would be compared to the  *.tcz.md5.txt  stored on the server but it doesn't.

This happens when updating extensions.
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: Misalf on May 10, 2014, 05:12:56 AM
To prevent myself from accidentally 'update' my modified fontconfig.tcz, I've now included it into core.gz.

Any script in  /usr/local/tce.installed/  won't be executed anyway if it's not contained in a TCZ extension, correct?
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: coreplayer2 on May 10, 2014, 09:31:53 AM
I have a cure for that!!  Standby


Sent from my iPhone using Tapatalk
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: Misalf on May 10, 2014, 10:11:23 AM
Unfortunately, power saving features don't work on my netbook. Some kind of allergy I guess.
Title: Re: Unable to download through AppsBrowser due to modified TCZs
Post by: coreplayer2 on May 10, 2014, 02:24:26 PM
lol   pm sent