VectorLinux
November 28, 2014, 11:03:56 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Clean install for packaging question  (Read 2145 times)
zhymm
Packager
Member
****
Posts: 20


« on: June 19, 2009, 05:56:35 am »

While perusing another thread (http://forum.vectorlinux.com/index.php?topic=9825.0) I noticed that one poster stated they do a new, clean install of VL 6.0 Light before creating a package.  Is this necessary?  I've justed started packaging and have created 3 packages using the same install of VL 6.0 Light.  Have I blundered??

Old Man Zhymm
Logged

If I were organized I'd be dangerous.
M0E-lnx
Administrator
Vectorian
*****
Posts: 3192



« Reply #1 on: June 19, 2009, 06:02:17 am »

You do not need to make a new install every time you have to make a package.

Keeping a chroot environment inside your installation suffices most of the time. If you do end up bloating your chroot, you simply make it again... no harm to your existing running installation.
Logged

stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #2 on: June 19, 2009, 06:14:36 am »

The risk that you are trying to avoid by using a fresh install is unnecessary dependencies.  There have been cases where people have packaged a simple application and openoffice gets loaded as a dependency, just because it was in the box when the package was made.

Double check your slack-required lists.  If they are not unnecessarily listing apps from items you previously built on the box, then you are most likely ok.

At somepoint checking this way will become impossible and you will have to do a fresh install.

You can also (as Daniel pointed out in a different thread) use a live version of vl-light 6.0 for your builds.  That way you get a fresh install everytime.
http://forum.vectorlinux.com/index.php?topic=9825.0
« Last Edit: June 19, 2009, 06:29:12 am by stretchedthin » Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
GrannyGeek
Packager
Vectorian
****
Posts: 2567


« Reply #3 on: June 19, 2009, 06:20:52 pm »

Keeping a chroot environment inside your installation suffices most of the time. If you do end up bloating your chroot, you simply make it again... no harm to your existing running installation.

Could you explain how to do this? I have no idea how to create a chroot environment. I have done that as an experiment, but I couldn't see how it would be "clean" after I had added things needed by a package I would create. When I ran chroot, it was simply mounting my VL6 Light partition. Whatever dependencies I added would be on the actual partition. This can't be what you mean.

I'm sure I'm not the only one who doesn't understand how chroot would keep my packaging partition clean.
--GrannyGeek
Logged

Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!