Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: uggla on August 31, 2010, 03:06:42 PM

Title: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
Post by: uggla on August 31, 2010, 03:06:42 PM
graphics-2.6.33.3-tinycore64.tcz has i2c-2.6.33.3-tinycore.tcz (32 bit) as dependency instead of i2c-2.6.33.3-tinycore64.tcz

/Uggla
Title: Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
Post by: maro on August 31, 2010, 08:08:39 PM
Hmm, that's rather surprising as the dependency file (http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/graphics-2.6.33.3-tinycore64.tcz.dep) (at this point in time) clearly states: i2c-KERNEL.tcz

The 'KERNEL' part should be replaced by the result of uname -r. As I don't run a 64-bit system myself I can't test, but maybe you can share what you get on your system for this command.
Title: Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
Post by: Arslan S. on September 01, 2010, 05:16:56 AM
the problem here is that graphics-2.6.33.3-tinycore64.tcz.dep and graphics-2.6.33.3-tinycore.tcz have i2c-KERNEL.tcz entry

in this case if you download graphics-2.6.33.3-tinycore64 in a 32 bit installation i2c-2.6.33.3-tinycore.tcz will be downloaded ofcourse (is there any good reason for doing this ? maybe to copy the extension over to a computer with no internet access ?)

i2c-KERNEL.tcz entry can be written explicitly for each kernel to overcome this situation, also i don't see any reason why graphics-2.6.33.3-tinycore64.tcz.dep has i2c-KERNEL.tcz as a dep, it is obvious that it depends on i2c-2.6.33.3-tinycore64.tcz
Title: Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
Post by: uggla on September 01, 2010, 05:44:48 AM
in this case if you download graphics-2.6.33.3-tinycore64 in a 32 bit installation i2c-2.6.33.3-tinycore.tcz will be downloaded ofcourse (is there any good reason for doing this ? maybe to copy the extension over to a computer with no internet access ?)

That was exactly what I was trying to do. Now I know why it wasn't working. Thanks!

/Uggla
Title: Re: graphics-2.6.33.3-tinycore64.tcz has wrong dependency
Post by: curaga on September 01, 2010, 01:06:47 PM
It was both to set an example of the use of KERNEL, and to avoid having to update the dep files on kernel upgrade.