Displaying 3 results from an estimated 3 matches for "debian_list_files_installed".
2011 Sep 12
1
[PATCH] febootstrap: Use contents of installed Debian packages instead of downloading and unpacking them.
..._apt_cache_depends_recurse names =
else
names
-let debian_list_files pkg =
+let debian_list_files_downloaded pkg =
debug "unpacking %s ..." pkg;
(* We actually need to extract the file in order to get the
@@ -147,9 +161,38 @@ let debian_list_files pkg =
files
+let debian_list_files_installed pkg =
+ debug "using installed package %s ..." pkg;
+ let cmd = sprintf "dpkg-query --listfiles %s" pkg in
+ let lines = run_command_get_lines cmd in
+ (* filter out lines not directly describing fs objects such as
+ "package diverts others to: /path/to/..." *)...
2011 Oct 18
5
[PATCH febootstrap] Some cleanups for Debian and Ubuntu
I just tried to get libguestfs to compile on Ubuntu 11.10 using the
latest febootstrap, and the following patches were necessary for me.
They are all just reasonable code cleanups *except* for patch 5/5
which is a gross hack for something I don't understand about how
Ubuntu 11.10 multiarch support works.
Rich.
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...*)
- let config = statbuf.st_kind = S_REG && string_prefix "/etc/" path in
-
- let mode = statbuf.st_perm in
-
- (path, { ft_dir = is_dir; ft_config = config; ft_mode = mode;
- ft_ghost = false; ft_size = statbuf.st_size })
- ) lines in
-
- files
-
-let debian_list_files_installed pkg =
- debug "using installed package %s ..." pkg;
- let cmd = sprintf "dpkg-query --listfiles %s" pkg in
- let lines = run_command_get_lines cmd in
- (* filter out lines not directly describing fs objects such as
- "package diverts others to: /path/to/..." *)...