WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help for Make a extensions !!!  (Read 100 times)

Offline xtxb

  • WikiUser
  • *
  • Posts: 7
Help for Make a extensions !!!
« on: December 03, 2017, 06: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!

Offline andyj

  • Sr. Member
  • ****
  • Posts: 498
Re: Help for Make a extensions !!!
« Reply #1 on: December 03, 2017, 07: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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9634
Re: Help for Make a extensions !!!
« Reply #2 on: December 03, 2017, 08: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.

Offline xtxb

  • WikiUser
  • *
  • Posts: 7
Re: Help for Make a extensions !!!
« Reply #3 on: December 03, 2017, 10:02:32 PM »
I have a try,Thanks

Offline andyj

  • Sr. Member
  • ****
  • Posts: 498
Re: Help for Make a extensions !!!
« Reply #4 on: December 04, 2017, 05:09:13 AM »
I've had the best luck using RPM's for SLES.