On Thu, Dec 09, 2010 at 10:12:08PM -0700, Thomas S Hatch wrote:
One quick question about the packages, where do I pass the option to
use the ArchLinux section in the packages list?
I've pushed the libguestfs patch, with also a change to ./configure so
that it chooses the correct distro macro:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=8dafeaa477f9e3d2f...
Thanks for that patch.
- - -
The febootstrap patch is problematic. You can't in general
reconstruct packages from what is installed on disk, because the
administrator may edit configuration files.
What we do for Fedora and Debian is to download the original packages
and pull out the original configuration files (only) which are then
packaged into 'base.img'.
So if I understand what you're trying to do, then I'm afraid it won't
work. It's better to stick with downloading the packages and
unpacking them.
This part of the patch:
@@ -109,7 +100,7 @@ let pacman_list_files pkg =
(* No per-file metadata like in RPM, but we can synthesize it
* from the path.
*)
- let config = statbuf.st_kind = S_REG && string_prefix "/etc/"
path in
+ let config = statbuf.st_kind = S_REG && string_prefix path
"/etc/" in
let mode = statbuf.st_perm in
I discovered this bug yesterday and have applied it:
http://git.annexia.org/?p=febootstrap.git;a=commitdiff;h=bcbbfa520a49967b...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw