WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Reporting miss configured file util-linux_base-dev.tcz  (Read 1388 times)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 684
Reporting miss configured file util-linux_base-dev.tcz
« on: September 03, 2021, 11:29:29 AM »
When tce-load compiletc.tcz you also getting this file from armv7 13.x repo.

http://repo.tinycorelinux.net/13.x/armv7/tcz/util-linux_base-dev.tcz

If you unsquashfs -l util-linux_base-dev.tcz.

You getting duplicate files like this:
squashfs-root/usr/include/blkid/blkid.h      (previous version)
squashfs-root/usr_1/include/blkid/blkid.h  (new version)

I have seen this behavior then you miss to remove the previous archive before updating.
mksquashfs will not overwrite the new files in the archive, it just rename the files/directories from something to something_1, and adding the files into the archive.

I have seen some another files also with this problem.

I know there someone that have written some script you can run before submitting tcz's.
Maybe you can include some check for this behavior also.

//Patrik

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11334
Re: Reporting miss configured file util-linux_base-dev.tcz
« Reply #1 on: September 03, 2021, 12:03:20 PM »
Hi patrikg
Thank you for reporting this. The extension has been fixed.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11334
Re: Reporting miss configured file util-linux_base-dev.tcz
« Reply #2 on: September 03, 2021, 12:22:09 PM »
Hi patrikg
The  ARMv6  and  ARMv7L  repositories had the same issue. All 3 repositories have been fixed and the  .info  files
have been updated to reflect the correct file size.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 684
Re: Reporting miss configured file util-linux_base-dev.tcz
« Reply #3 on: September 03, 2021, 01:10:17 PM »
Thank you, so fast.
You may do some script so you can check this all tcz in all the new repositories.
Something like the attachment