You are not logged in.

#1 2011-08-04 05:33:35

keenerd
Package Maintainer (PM)
Registered: 2007-02-22
Posts: 647
Website

trip-arch: A complete packaging sandbox

Download: http://kmkeen.com/tmp/trip-arch
Requires UnionFS-Fuse

About: This is for those linux apps that are tricky to install.  Rather, they are "easy" if you do it upstream's way which is "run this executable as root and trust us."  It becomes very tricky to install the correct way, through makepkg/pacman.

How: Trip-arch makes a loopback file system, overlays this with your root FS, and chroots in.  The installer is launched and all changes are saved to the loopback while your system remains untouched.  (Of course, this is not a secure sandbox.  It is for trustworthy applications with a dumb install process.)

Downside:  It needs real root to perform all the mount tricks.  The loopback's size must be specified beforehand, and running over is undefined behavior.

Example: http://aur.archlinux.org/packages.php?ID=51226

History:  Trip-arch is based heavily on Trip for LFS, which was partially inspired by our Pacman.  Much thanks to Falconindy for keeping me from nuking my system while playing with chroots.

Future:  This script is tailored for a single package and was written in a single night.  I'll put up on the AUR once some more eyes have looked it over.

Last edited by keenerd (2011-08-04 05:41:27)

Offline

Board footer

Powered by FluxBB