Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: uggla on November 30, 2010, 08:08:57 AM

Title: .dep-files can't contain path
Post by: uggla on November 30, 2010, 08:08:57 AM
Hi!

A dependency in a .dep-file can't have a path but an item in a .lst-file can.

The line bellow works in a .lst-file but not in a .dep-file.

subdir/programname.tcz
Title: Re: .dep-files can't contain path
Post by: Jason W on November 30, 2010, 08:26:37 AM
Correct.
Title: Re: .dep-files can't contain path
Post by: Jason W on November 30, 2010, 10:18:11 AM
More specifically, there is likely not much demand to support the ability to include in a dep file the full path to an extension outside of the tce directory since that would slow things down for everyone while providing a desired feature for a very few.  That would likely only be used for testing purposes, and when testing there are usually several ways to achieve what is desired within the existing framework.
Title: Re: .dep-files can't contain path
Post by: uggla on November 30, 2010, 10:39:36 AM
It would make it possible to organize extensions for special purposes. But if there is no demand and it would slow things down then its not worth it.

regards
Uggla
Title: Re: .dep-files can't contain path
Post by: bmarkus on November 30, 2010, 10:52:03 AM
It would make it possible to organize extensions for special purposes. But if there is no demand and it would slow things down then its not worth it.

regards
Uggla

I'm using different sets of extensions for different purposes. I have /tce, /tce3, /tce4, ... folders on either USB stick or HD and specifying TCE dir in command line.

It works fine using current toolset and features.
Title: Re: .dep-files can't contain path
Post by: uggla on November 30, 2010, 11:10:40 AM
Yes, but that means a lot of duplicates.
Title: Re: .dep-files can't contain path
Post by: bmarkus on November 30, 2010, 11:32:18 AM
Yes, but that means a lot of duplicates.

An extension set is ralatively small, while storage is really cheap. For sure cheaper tha labour cost of development :)
Title: Re: .dep-files can't contain path
Post by: curaga on November 30, 2010, 12:10:50 PM
Symlinks have been used for that purpose. Hard links would work too.
Title: Re: .dep-files can't contain path
Post by: uggla on November 30, 2010, 01:06:39 PM
Symlinks have been used for that purpose. Hard links would work too.

Ok, but what happens when updating extensions? Links get overwritten, right?
Title: Re: .dep-files can't contain path
Post by: tinypoodle on November 30, 2010, 03:10:05 PM
Symlinks have been used for that purpose. Hard links would work too.

Note: This requires tce_dir being on a filesystem capable of linking, e.g. FAT* would be out of the question.