WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline xtxb

  • Newbie
  • *
  • Posts: 7
Help for Make a extensions !!!
« 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!

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Help for Make a extensions !!!
« Reply #1 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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14786
Re: Help for Make a extensions !!!
« Reply #2 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.

Offline xtxb

  • Newbie
  • *
  • Posts: 7
Re: Help for Make a extensions !!!
« Reply #3 on: December 04, 2017, 01:02:32 AM »
I have a try,Thanks

Offline andyj

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