Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: rhermsen on September 22, 2022, 08:41:42 AM
-
While looking for a reason 'Xorg-7.7-lib.tcz.list' is not available, discovered that this extension is just empty with only one directory.
Is this just a 'placeholder' extension to load dependencies?
$ sudo unsquashfs Xorg-7.7-lib.tcz
Parallel unsquashfs: Using 1 processor
0 inodes (0 blocks) to write
created 0 files
created 2 directories
created 0 symlinks
created 0 devices
created 0 fifos
$ cd squashfs-root/
$ tree
.
`-- usr
1 directory, 0 files
The list of dependencies is a bit long...
cat Xorg-7.7-lib.tcz.dep
libFS.tcz
libXaw.tcz
libXcomposite.tcz
libXcursor.tcz
libXdamage.tcz
libXfont2.tcz
libXft.tcz
libXinerama.tcz
libXrandr.tcz
libXres.tcz
libXss.tcz
libXtst.tcz
libXvmc.tcz
libXxf86dga.tcz
libXxf86vm.tcz
libxkbfile.tcz
-
Hi rhermsen
It's called a "Meta" extension whose only purpose is to pull in other extensions.
If you look at Xorg-7.7-lib.tcz.info the Description line reads:
Description: Meta-extension collecting the usual X libs
Xorg-7.7.tcz is another meta extension as is compiletc.tcz.
-
Hi Rich,
Thanks for explaining. I was not aware of the term 'meta' extension.
I will also look at the other two you mentioned, I use them both.
-
Hi Rich,
While looking into missing updates in the Wiki I came across the following page https://wiki.tinycorelinux.net/doku.php?id=wiki:creating_meta-extensions (https://wiki.tinycorelinux.net/doku.php?id=wiki:creating_meta-extensions).
It does also mention As a reminder, a submitted extension requires other than those '.tcz' and '.dep' files, the files '.list', '.md5.txt' and '.info' as well
Get from this that a .list file should also be available. Is that requirement changed?
-
Hi rhermsen
... Get from this that a .list file should also be available. Is that requirement changed?
From the Wiki you linked to:
#- Create the '.tcz' file
{VERSIONS(nav⇒y,title⇒y,default⇒latest)}
–(latest)—
Use an existing meta-extension such as compiletc.tcz. Or create an empty squashfs archive.
–(before 3.3)—
create an empty directory structure
mkdir -p myext/usr/local/share/myext
populate it (by creating/adding useful files):
*readme file
*
echo "This is a meta extension" > myext/usr/local/share/myext/readme
List files were only required prior to TC3.3.
The "latest" versions of TC can work with an empty .tcz file. You can create
it by copying compiletc.tcz:
cp compiletc.tcz ExtensionName.tcz
-
Thanks.
I will have a look if I can come up with a usecase for a private repo.
-
Hi rhermsen
... The "latest" versions of TC can work with an empty .tcz file. ...
Correction, the file should have a directory entry in it. An empty /usr will suffice.
That is what compiletc contains. Without that, attempting to run submitqc will
cause it to terminate with an error.