Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-14-2006, 03:13 PM   #1
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
use unionfs to build packages?

I've just read this thread and I am wondering if unionfs might be an interesting and painless way to build packages. It would go like this:
  1. chroot into a unionfs environment
  2. install the soft as root
  3. get back to the normal environment
  4. for each file in the COW folder
    1. modified config file -> create a diff file for patch or a .new file
    2. new or changed file -> add to package
This way we don't rely on DESTDIR working 100% correctly.
What do you think?
Old 07-14-2006, 03:27 PM   #2
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Originally Posted by uselpa
This way we don't rely on DESTDIR working 100% correctly.
What do you think?
The only time I have seen DESTDIR not work is when there was a problem (assumption made) with the install script bundled into the .tgz package... and I rely on this method for mastering my live-cd.

Using unionfs would lengthen the install times a bit, and I do like the way that you can get a file listing from the package with tools bundled in every linux distro out there (ie: tar -tzf package.tgz). You can even manually install by untarring to the desired directory and running the install script in a chroot.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to build packages from source with aptitude? Akhran Debian 1 02-13-2006 12:41 PM
unionfs stability lukebeales Linux - Software 1 11-26-2005 09:37 PM
Build RPM packages in chrooted system yapp SUSE / openSUSE 3 10-24-2005 09:51 PM
build redhat-config-packages no python neo_cool_XIIK Fedora 0 12-30-2004 09:04 AM
How can I install packages after Linux build? ajcrm125 Linux - Software 1 04-01-2004 11:29 AM

All times are GMT -5. The time now is 08:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration