LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-14-2006, 02:13 PM   #1
uselpa
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, 02:27 PM   #2
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware/Backpack LiveCD
Posts: 110

Rep: Reputation: 15
Quote:
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.

My
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:41 AM
unionfs stability lukebeales Linux - Software 1 11-26-2005 08:37 PM
Build RPM packages in chrooted system yapp Suse/Novell 3 10-24-2005 08:51 PM
build redhat-config-packages no python neo_cool_XIIK Fedora 0 12-30-2004 08:04 AM
How can I install packages after Linux build? ajcrm125 Linux - Software 1 04-01-2004 10:29 AM


All times are GMT -5. The time now is 11:02 AM.

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