Making Modules without RTFM

Post tutorials, HOWTO's and other useful resources here.
Post Reply
Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Making Modules without RTFM

Post#1 by Bogomips » 07 Mar 2016, 19:20

Making a Module from a Collection of Packages
  1. Put all packages going to make up the module in a new work directory
  2. If all packages have extension *.txz or *.tgz, go to 5.
  3. Convert RPM packages using rpm2txz
  4. Using (latest version in thread of) Script to make Slackware Compliant package of xz, deb
    • Convert .deb:

      Code: Select all

      sh deb2txz.sh  -nv [/path to package/]<package>.deb
    • Convert .xz:

      Code: Select all

      sh xz2txz.sh -nv [/path to package/]<package>.xz
  5. Create a Fakeroot Directory

    Code: Select all

    mkdir fkr
    As Root:

    Code: Select all

    # installpkg  --terse  --root fkr  *.t?z
    Create Module

    Code: Select all

    # dir2xzm  fkr  <name of desired module>.xzm
Enjoy!
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 3316
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Making Modules without RTFM

Post#2 by Ed_P » 07 Mar 2016, 22:03

I thought francois said we weren't suppose to use abbreviations cause some members don't know what they mean. So you need to change the title. :wink:

Its interesting to note that while Porteus has so many GUI tools built in most posts to fix problems are terminal examples. Don't get me wrong, they are effective and solve the problems, and I for one have learned a lot from them. And these steps I could have used a few days ago when I was trying to combine some modules.
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Making Modules without RTFM

Post#3 by Bogomips » 07 Mar 2016, 22:45

^ Suppose it is that one really does not have the time to play around with the GUIs, unless a GUI really takes the strain from the brain, which the ISO FIle Editor does. :wink: As for abbreviations, those universally known in the Linux world are to the best of my knowledge allowed. Francois himself has seen fit to provide RTFM together with its long form: 'Read the Fine Manual". 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
wread
Module Guard
Module Guard
Posts: 1091
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Making Modules without RTFM

Post#4 by wread » 11 Jun 2016, 16:40

My version of RTFM is not so fine; neither that of "foobar"! :)(fine on our bastard aknowledgment requirement)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Making Modules without RTFM

Post#5 by francois » 13 Jun 2016, 01:11

There is also, simply, but positively:
Read The Fine Manual
Voltaire: Le mieux est l'ennemi du bien.

Post Reply