search for: rpm_is_avail

Displaying 20 results from an estimated 22 matches for "rpm_is_avail".

2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...m-powerkvm due to the >> rpm_is_avaiable verification >> in the detection (I've attached the wrong version in bugzilla). > the new version of the patch is somehow confusing. supermin >= 5.1.12 > uses librpm to query for rpm dependencies, file listing, provides, etc. > If rpm_is_available returns false, that means you built without librpm, > and that supermin will not really work. Did you tried running the test > suite (`make check`)? > These are the results of make check in the system I've used to test the patch. The system is in an internal isolated network, thu...
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...pm_is_avaiable verification >>>> in the detection (I've attached the wrong version in bugzilla). >>> the new version of the patch is somehow confusing. supermin >= 5.1.12 >>> uses librpm to query for rpm dependencies, file listing, provides, etc. >>> If rpm_is_available returns false, that means you built without librpm, >>> and that supermin will not really work. Did you tried running the test >>> suite (`make check`)? >>> >> These are the results of make check in the system I've used to test the >> patch. The system...
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...>>>>> in the detection (I've attached the wrong version in bugzilla). >>>>> the new version of the patch is somehow confusing. supermin >= 5.1.12 >>>>> uses librpm to query for rpm dependencies, file listing, provides, etc. >>>>> If rpm_is_available returns false, that means you built without librpm, >>>>> and that supermin will not really work. Did you tried running the test >>>>> suite (`make check`)? >>>>> >>>> These are the results of make check in the system I've used to tes...
2016 Aug 31
0
[PATCH 2/2] Use os-release to detect the distro
...-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" || Config.dnf <> "no") && - try - (stat "/etc/redhat-release").st_kind = S_REG || - (stat "/etc/fedora-release").st_kind = S_REG - with Unix_error _ ->...
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...; >> rpm_is_avaiable verification > >> in the detection (I've attached the wrong version in bugzilla). > > the new version of the patch is somehow confusing. supermin >= 5.1.12 > > uses librpm to query for rpm dependencies, file listing, provides, etc. > > If rpm_is_available returns false, that means you built without librpm, > > and that supermin will not really work. Did you tried running the test > > suite (`make check`)? > > > > These are the results of make check in the system I've used to test the > patch. The system is > i...
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
2015 Apr 01
4
[PATCH] Adding ibm-powerkvm distro detection (the right one)
The one that got upstream does not work in ibm-powerkvm due to the rpm_is_avaiable verification in the detection (I've attached the wrong version in bugzilla). Thanks and sorry for the confusion, Daniel
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...ication > >>>> in the detection (I've attached the wrong version in bugzilla). > >>> the new version of the patch is somehow confusing. supermin >= 5.1.12 > >>> uses librpm to query for rpm dependencies, file listing, provides, etc. > >>> If rpm_is_available returns false, that means you built without librpm, > >>> and that supermin will not really work. Did you tried running the test > >>> suite (`make check`)? > >>> > >> These are the results of make check in the system I've used to test the > &...
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...ng version in bugzilla). >>>>>> the new version of the patch is somehow confusing. supermin >= >>>>>> 5.1.12 >>>>>> uses librpm to query for rpm dependencies, file listing, >>>>>> provides, etc. >>>>>> If rpm_is_available returns false, that means you built without >>>>>> librpm, >>>>>> and that supermin will not really work. Did you tried running the >>>>>> test >>>>>> suite (`make check`)? >>>>>> >>>>> Th...
2018 Oct 01
2
[supermin PATCH] rpm: support openSUSE Leap 15
.../src/ph_rpm.ml b/src/ph_rpm.ml index b0a5eb2..3caa38e 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -40,7 +40,7 @@ let fedora_detect () = let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && - (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || + (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ]...
2014 Nov 24
5
[PATCH] rpm: use librpm's rpmvercmp
...value +supermin_rpm_vercmp (value av, value bv) +{ + abort (); +} + +value supermin_rpm_open (value debugv) { abort (); diff --git a/src/librpm.ml b/src/librpm.ml index aa8d367..8c30248 100644 --- a/src/librpm.ml +++ b/src/librpm.ml @@ -19,6 +19,7 @@ external rpm_is_available : unit -> bool = "supermin_rpm_is_available" external rpm_version : unit -> string = "supermin_rpm_version" +external rpm_vercmp : string -> string -> int = "supermin_rpm_vercmp" type t diff --git a/src/librpm.mli b/src/librpm.ml...
2016 Sep 05
2
[supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
...iff --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" && -    try (stat "/etc/SuSE-release").st_kind = S_REG with Unix_error _ -> false +    try +      (stat "/etc/SuSE-release").st_kind = S_REG || +      (stat "/etc/SUSE-brand&quot...
2018 Oct 02
1
[supermin PATCH] rpm: generalize openSUSE support
.../src/ph_rpm.ml b/src/ph_rpm.ml index 3caa38e..46b7f1f 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -40,7 +40,8 @@ let fedora_detect () = let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && - (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; "sles" ] || + (List.mem (Os_release.get_id ()) [ "sled"; "sles" ] || + string_prefi...
2014 Sep 17
4
[PATCH 0/2] supermin: use librpm for rpm support
Hi, this work makes supermin use the rpm library instead of invoking rpm directly. This, together with a needed refactoring of the dependency resolution, should help in make supermin faster on rpm-based systems. Surely the patches will still need polishing, especially for behaviours of newly added stuff, but at least it's a good starting point. Noting that you need rpm-devel on most of rpm
2015 Oct 13
6
[PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1266918
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...m does not work in ibm-powerkvm due to the > rpm_is_avaiable verification > in the detection (I've attached the wrong version in bugzilla). the new version of the patch is somehow confusing. supermin >= 5.1.12 uses librpm to query for rpm dependencies, file listing, provides, etc. If rpm_is_available returns false, that means you built without librpm, and that supermin will not really work. Did you tried running the test suite (`make check`)? -- Pino Toscano
2016 Oct 31
0
[PATCH 4/4] rpm: mageia: prefer dnf over urpmi
...ff --git a/src/rpm.ml b/src/rpm.ml index 820d7c1..b0a5eb2 100644 --- a/src/rpm.ml +++ b/src/rpm.ml @@ -45,8 +45,7 @@ let opensuse_detect () = let mageia_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && - Config.urpmi <> "no" && - Config.fakeroot <> "no" && + ((Config.urpmi <> "no" && Config.fakeroot <> "no") || Config.dnf <> "no") && (Os_release.get_id ()...
2017 Sep 01
0
[supermin][PATCH] os-release: use ID_LIKE as a fallback for SUSE detection
...defined. *) diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml index b0a5eb2..fd87822 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -41,6 +41,7 @@ let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || + List.mem "suse" (Os_release.get_id_like ()) || try (stat "/etc/SuSE-release").st_kind...
2017 Sep 01
0
[supermin][PATCH v2] os-release: use ID_LIKE as a fallback for SUSE detection
...defined. *) diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml index b0a5eb2..fd87822 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -41,6 +41,7 @@ let opensuse_detect () = Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && Config.zypper <> "no" && (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || + List.mem "suse" (Os_release.get_id_like ()) || try (stat "/etc/SuSE-release").st_kind...
2018 Oct 01
0
Re: [supermin PATCH] rpm: support openSUSE Leap 15
...rc/ph_rpm.ml > index b0a5eb2..3caa38e 100644 > --- a/src/ph_rpm.ml > +++ b/src/ph_rpm.ml > @@ -40,7 +40,7 @@ let fedora_detect () = > let opensuse_detect () = > Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () && > Config.zypper <> "no" && > - (List.mem (Os_release.get_id ()) [ "opensuse"; "sled"; "sles" ] || > + (List.mem (Os_release.get_id ()) [ "opensuse-leap"; "opensuse"; "sled"; &qu...