Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: sanji on October 26, 2015, 08:55:45 AM
-
Hi,
Just playin' with TC, building personal extensions.
So far so good. but today I'm trying to build Fs-Uae from sources.
Everything went smooth, but at the end of building, a fs-uae.dat file was generated.
When I built the extension, this .dat file was not included in the generated tcz file..
Should I create another extension only for this file (maybe a script)? Or are there
other ways to accomplish this?
thank you
Sanji
-
You don't say how you built the tcz, but assuming you used the destdir method, maybe this did not copy fs-uae.dat and you need to do it manually?
-
Hi Juanito.
Sorry..I posted in the wrong subforum :-[
I used the Destdir method, following corebook.
..and as you wrote, I need to do it manually...
Sanji
-
That's one of the "gotchas" of the destdir method, you also won't necessarily know about the potential need to rebuild an icon/imodule/pixbuf cache, recompile schemas, add mime types, etc.
-
So...I assume there are other (better) ways to create an extension other than DESTDIR method...which ones?
-
I wouldn't say they're better, just different :)
You can also do this: $ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
[edit files]
$ sudo tar -T files --numeric-owner -zcvf extension.tar.gz
Then copy the tarball somewhere conveniant, un-tar it, edit and make your tcz