search for: repos_dir

Displaying 3 results from an estimated 3 matches for "repos_dir".

2013 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
...b/src/supermin_zypp_rpm.ml @@ -45,6 +45,7 @@ *) open Unix open Printf +open Inifiles open Supermin_package_handlers open Supermin_utils @@ -54,6 +55,19 @@ open Supermin_cmdline (* Create a temporary directory for use by all the functions in this file. *) let tmpdir = tmpdir () +let get_repos_dir () = + let zypper_default = "/etc/zypp/repos.d" in + let parse_repos_dir path = + let cfg = new inifile path in + let dir = (try cfg#getval "main" "reposdir" with _ -> zypper_default) in + dir + in + let dir = (match packager_config with None -> zyp...
2013 Dec 16
1
FreeBSD 10.0-RC2 Now Available
...uilds: # mkdir -p /tmp/pkgrepo # fetch -o /tmp/pkgrepo/FreeBSD_install_cdrom.conf \ http://people.FreeBSD.org/~gjb/FreeBSD_install_cdrom.conf - Mount the dvd to the '/dist' directory: # mkdir -p /dist # mount -t cd9660 /dev/cd0 /dist - To install a package, run: # env REPOS_DIR=/tmp/pkgrepo pkg install <foo> - To view the list of available packages on the DVD, run: # env REPOS_DIR=/tmp/pkgrepo pkg rquery "%n" Pre-installed virtual machine images for 10.0-RC2 are also available for amd64 and i386 architectures. The images are located under the '...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...ootdir> so that zypper can - * use the specified config. - *) -open Unix -open Printf -open Inifiles - -open Supermin_package_handlers -open Supermin_utils -open Supermin_cmdline - - -(* Create a temporary directory for use by all the functions in this file. *) -let tmpdir = tmpdir () - -let get_repos_dir () = - let zypper_default = "/etc/zypp/repos.d" in - let parse_repos_dir path = - let cfg = new inifile path in - let dir = (try cfg#getval "main" "reposdir" with _ -> zypper_default) in - dir - in - let dir = (match packager_config with None -> zypp...