search for: a5dc67a

Displaying 5 results from an estimated 5 matches for "a5dc67a".

Did you mean: a0d367a
2016 Sep 05
2
[supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
Fix supermins rpm/zypper detection on openSUSE Tumbleweed Newer version of openSUSE does not use /etc/SuSE-release anymore. Search for the new /etc/SUSE-brand in addition. --- diff --git a/src/rpm.ml b/src/rpm.ml index a5dc67a..400efbd 100644 --- a/src/rpm.ml +++ b/src/rpm.ml @@ -39,7 +39,10 @@ let fedora_detect () =  let opensuse_detect () =    Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&      Config.zypper <> "no" &&a...
2016 Aug 31
0
[PATCH 2/2] Use os-release to detect the distro
...are with pacman-g2 *) + (Os_release.get_id () = "arch" || + ((stat "/etc/arch-release").st_kind = S_REG && + Config.pacman_g2 = "no")) (* not Frugalware with pacman-g2 *) let settings = ref no_settings diff --git a/src/rpm.ml b/src/rpm.ml index a5dc67a..e409e37 100644 --- a/src/rpm.ml +++ b/src/rpm.ml @@ -31,21 +31,24 @@ let stringset_of_list pkgs = let fedora_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && (Config.yumdownloader <> "no&...
2016 Aug 31
8
[PATCH 0/2] supermin: use /etc/os-release
Hi, let's make supermin use /etc/os-release as primary source instead of the various release files in /etc; apparently distros (e.g. openSUSE) are starting removing them. Thanks, Pino Toscano (2): Add simple handling of /etc/os-release Use os-release to detect the distro src/Makefile.am | 3 +++ src/dpkg.ml | 3 ++- src/os_release.ml | 78
2016 Feb 18
0
[PATCH 3/3] Add and use an helper error function
...exit 1; - ); + if packages = [] then + error "prepare: none of the packages listed on the command line seem to be installed"; if debug >= 1 then ( printf "supermin: packages specified on the command line:\n"; diff --git a/src/rpm.ml b/src/rpm.ml index cf6341c..a5dc67a 100644 --- a/src/rpm.ml +++ b/src/rpm.ml @@ -61,9 +61,7 @@ let t = ref None let get_rpm () = match !t with - | None -> - eprintf "supermin: rpm: get_rpm called too early"; - exit 1 + | None -> error "rpm: get_rpm called too early" | Some t -> t let r...
2016 Feb 18
4
[PATCH 0/3] supermin: miscellaneous cleanups
Hi, few cleanups in the supermin codebase; no actual functional change. Thanks, -- Pino Toscano (3): ext2: simplify tracking of visited modules utils: remove unused run_python function Add and use an helper error function src/build.ml | 20 +++++----------- src/dpkg.ml | 4 +--- src/ext2_initrd.ml | 10 ++++---- src/kernel.ml | 27