Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: xtxb on December 03, 2017, 09:51:26 PM

Title: Help for Make a extensions !!!
Post by: xtxb on December 03, 2017, 09:51:26 PM
I need to make a TCZ of an RPM package, but there is no source code for this software. Is there any way?
 Thanks!
Title: Re: Help for Make a extensions !!!
Post by: andyj on December 03, 2017, 10:18:12 PM
Try:

Code: [Select]
EXT=somerpm
mkdir /tmp/$EXT/TCZ
cd /tmp/$EXT/TCZ
rpm2cpio $EXT.rpm | cpio -i -H newc -d
cd /tmp/$EXT
mksquashfs $EXT $EXT.tcz -noappend
Title: Re: Help for Make a extensions !!!
Post by: Juanito on December 03, 2017, 11:44:38 PM
If your rpm is open source software, the source code should exist somewhere.

Note that you may have problems with shared library compatibility when using an rpm from a different distro on tinycore.
Title: Re: Help for Make a extensions !!!
Post by: xtxb on December 04, 2017, 01:02:32 AM
I have a try,Thanks
Title: Re: Help for Make a extensions !!!
Post by: andyj on December 04, 2017, 08:09:13 AM
I've had the best luck using RPM's for SLES.