Tiny Core Base > CorePlus

Can someone ELI5 me how to create tcz extensions?

(1/5) > >>

john110:
Hello,

I need to install several apps such as keepassxc https://github.com/keepassxreboot/keepassxc/, lbry.tv https://github.com/lbryio/lbrytv and so many other applications that aren't present in the repos.

I tried to google how to create tcz extensions, but I couldn't understand a damn thing, to be honest, the documentations seemed to skip a lot of steps and It seemed to be aimed towards experimented users...

So, I'm kindly asking for a nice and gentle soul to be able to Eli5 me and provides me step by step instructions on how to install an app that isn't present in the official repo  :)

Thank you a lot for your help

Sashank999:
Hi john110,

First do `tce-load -i squashfs-tools findutils` then do this after you unpack the source and the ./configure or make or cmake steps :

--- Quote from: Juanito on May 31, 2020, 04:35:30 AM ---You need to make squashfs extensions out of the installed apps:
--- Code: ---...
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit unneeded files]
$ sudo tar -T files --numeric-owner -zcvf extension.tce
$ mkdir /tmp/pkg
$ cp extension.tce /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tce
$ rm extension.tce
$ cd ..
$ sudo mksquashfs pkg/ extension.tcz
--- End code ---

--- End quote ---

This is enough to create personal tcz. You can move it to your tce/optional directory and add it to your onboot.lst so that it can be loaded on every boot instead of typing tce-load every time.

Juanito:
Have you seen:

http://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions

http://tinycorelinux.net/11.x/x86_64/tcz/src/keepassx/

john110:

--- Quote from: Sashank999 on July 19, 2020, 05:32:14 AM ---Hi john110,

First do `tce-load -i squashfs-tools findutils` then do this after you unpack the source and the ./configure or make or cmake steps :

--- Quote from: Juanito on May 31, 2020, 04:35:30 AM ---You need to make squashfs extensions out of the installed apps:
--- Code: ---...
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit unneeded files]
$ sudo tar -T files --numeric-owner -zcvf extension.tce
$ mkdir /tmp/pkg
$ cp extension.tce /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tce
$ rm extension.tce
$ cd ..
$ sudo mksquashfs pkg/ extension.tcz
--- End code ---

--- End quote ---

This is enough to create personal tcz. You can move it to your tce/optional directory and add it to your onboot.lst so that it can be loaded on every boot instead of typing tce-load every time.

--- End quote ---

After sudo make install, I get an error:


--- Quote --- *** No rule to make target 'install'. Stop.
--- End quote ---




--- Quote from: Juanito on July 19, 2020, 05:32:52 AM ---Have you seen:

http://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions

http://tinycorelinux.net/11.x/x86_64/tcz/src/keepassx/

--- End quote ---

Yes, I already read both and they don't help me much...

Juanito:
Using: http://tinycorelinux.net/11.x/x86_64/tcz/src/keepassx/

You need to do this first:
--- Code: ---$ tce-load -i compiletc cmake libgcrypt-dev qt-5.x-dev zlib_base-dev

$ cd keepassx*

$ mkdir build
$ cd build

$ cmake -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DWITH_GUI_TESTS=ON -DWITH_CXX11=ON ../

$ make
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version