Author Topic: ISO for Packaging  (Read 6692 times)

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #45 on: August 24, 2012, 01:43:20 PM »
Download Building RPMS. It is a 15-page wiki-format, easy-to-import-in-zim, based on the very first documentation we've had (from Gettinther) that I adapted for my own personal notes.

The file includes:
  • 01_Introduction.txt
  • 02_Setting_up_your_system_to_build_rpms.txt
  • 03_Looking_at_SPEC_files.txt
  • 04_Spec_file_overview.txt
  • 05_Overview_of_build_section.txt
  • 06_The_FILE_section.txt
  • 07_Compiling_your_first_RPM.txt
  • 08_Splitting_the_RPM.txt
  • 09_Building_RPM_from_multiple_sources.txt
  • 10_Patching_an_RPM.txt
  • 11_Creating_a_menu_entry.txt
  • 12_Testing_RPMs.txt
  • 13_Creating_Meta-Packages.txt
  • 14_Official_PCLinuxOS_XDG_Package_Categories.txt
  • 15_Legacy_package_categories_(non_XDG_compliant).txt
  • notebook.zim

You need to read and understand Pages/Chapters 4, 5 and 6. Of course, any help we can provide is just a post away.

Have fun!

this package zim, brings with it quite a few dependencies .. is that good for the build base ?
Please Donate Today..Or I Will Make You Wish You Had

Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #46 on: August 24, 2012, 02:51:27 PM »
now having problems with my repo .. looks right..here is what it shows.

URL: file:/home/scoundrel/src/apt/
Distribution: pclinuxos/2010
Section: athlon i586 noarch

can anyone see what the problem is.. the error it gives is that it file not found ??
Please Donate Today..Or I Will Make You Wish You Had

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #47 on: August 24, 2012, 06:48:08 PM »
now having problems with my repo .. looks right..here is what it shows.

URL: file:/home/scoundrel/src/apt/
Distribution: pclinuxos/2010
Section: athlon i586 noarch

can anyone see what the problem is.. the error it gives is that it file not found ??

Before you can use your repo, you need to run the following command:

genbasedir --flat --bz2only --progress /home/scoundrel/src/apt/pclinuxos/2010/

This will create the package lists for your three sections for use with apt-get and Synaptic.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: ISO for Packaging
« Reply #48 on: August 25, 2012, 02:39:36 AM »
Each time you add/remove from your local repo you need to run the genbasedir script.     

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #49 on: August 25, 2012, 03:21:14 AM »
You should update /home/scoundrel/src/apt/pclinuxos/2010/ to /home/scoundrel/src/apt/pclinuxos/2012/ then make sure the changes are also done in Synaptic.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline scoundrel

  • Administrator
  • Hero Member
  • *****
  • Posts: 4540
  • Philosophy= Bigger Hammer
Re: ISO for Packaging
« Reply #50 on: August 25, 2012, 05:00:07 AM »
thanks guys.. will do the changes..and update thing..

the dependency's that get installed while building a package.. do the get installed to my root ? hence corrupting my build setup ?
Please Donate Today..Or I Will Make You Wish You Had

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: ISO for Packaging
« Reply #51 on: August 25, 2012, 05:11:17 AM »
thanks guys.. will do the changes..and update thing..

the dependency's that get installed while building a package.. do the get installed to my root ? hence corrupting my build setup ?

Yes, the packages will be installed on your system. Which is why it is best to keep a log of what packages a BuildRequires would install. After a package is successfully built removing the logged packages will revert your system back to how it was.

I learned this the hard way when my build environment was infested with so much development packages.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42