Displaying 20 results from an estimated 3000 matches similar to: "Problem with supermin & zypper"
2013 Apr 09
2
[PATCH 1/2] add run_shell helper
The new run_shell helper is a copy of run_python,
and will be used by upcoming changes.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
src/supermin_utils.ml | 9 +++++++++
src/supermin_utils.mli | 5 +++++
2 files changed, 14 insertions(+)
diff --git a/src/supermin_utils.ml b/src/supermin_utils.ml
index f98e09a..cb8a27e 100644
--- a/src/supermin_utils.ml
+++ b/src/supermin_utils.ml
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
The current mode of operation in the zypp driver is to download all
packages into a temporary pkg-cache-dir. Installed packages in the root
filesystem are ignored, otherwise zypper would download only a subset of
packages, and it would not provide a list of all required dependencies.
Remove the getuid check to force an empty root directory and use the
configured system repositories.
This works
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" &&
2013 Jul 11
0
Re: Problem with supermin & zypper
On Thu, Jul 11, 2013 at 10:50:01AM +0300, Or Goshen wrote:
> Now, I installed supermin from git. During configuration it discovered
> zypper:
>
> *checking for zypper... zypper
> checking for yum... no
> checking for rpm... rpm
> checking for yumdownloader... no
> checking for aptitude... no
> checking for apt-cache... apt-cache
> checking for dpkg... no
>
2013 Aug 19
5
[PATCH v2 0/3 supermin] URPMI & xz support.
Joseph,
Please try my modified versions of these patches. These are
compile-tested on Fedora and they don't break any existing
functionality, but I don't have either urpmi nor a statically-linked
xz so I cannot fully test them.
I have also fixed detection of zlib (2/3).
Rich.
2013 Jun 11
3
Re: [PATCH] Mask some package names if appliance is build for SUSE
On Tue, Jun 11, Richard W.M. Jones wrote:
> But supermin is supposed to ignore packages that don't exist in the
> distro. This is a bug in supermin or the zypp plugin for supermin.
It looks like zypper has no "ignore unknown packages/provides" flag.
zypper .. install $pkg is called with an unknown package then zypper
will just abort because it expects valid input.
Maybe
2013 May 30
2
Usage of 'no' as external helper
libguestfs and supermin use 'no' instead of either the basename of the
desired application, or 'false', as helper string. This happens when
configure does not find things like rpm or supermin during build.
Wouldnt it be more logical to use the basename instead of 'no' so that
at runtime one has the chance to install the required packages and in
addition get an obvious
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
2013 Jun 11
2
[PATCH] Mask some package names if appliance is build for SUSE
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
Not compile-tested!
appliance/packagelist.in | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/appliance/packagelist.in b/appliance/packagelist.in
index 8a4a5ea..a00a7ad 100644
--- a/appliance/packagelist.in
+++ b/appliance/packagelist.in
@@ -126,11 +126,9 @@ dosfstools
file
findutils
gawk
-gdisk
grep
2012 Nov 29
1
febootstrap and zypper
On Mon, Oct 08, Richard W.M. Jones wrote:
> On Mon, Oct 08, 2012 at 08:50:47PM +0200, Olaf Hering wrote:
> > On Mon, Oct 08, Richard W.M. Jones wrote:
> >
> > > But out of interest, how are you creating this appliance? I thought
> > > we'd ripped out support for old-style appliances from the rest of the
> > > toolchain ...
> >
> > I use
2013 Jun 04
2
[PATCH / RFC] Handle --packager-config in zypp_rpm
This is an attempt to handle a different --reposd-dir in the zypp_rpm
driver. Up to now the system repositories in /etc/zypp/repos.d were
used.
To specify a different set of repositories for zypp a parser for a
simple zypper.conf is added in this patch. It just looks for reposdir=
in section main, like this:
[main]
reposdir=/path/to/other/repofiles
If the config file provided via
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
2010 Apr 14
7
SuSE and zypper
Hi,
I found the zypper provider mentioned on this list in another thread,
but it failes with the flowing error :
Package[kvm]/ensure: change from 0.11.0-4.5.2 to true failed: Could
not update: undefined method `zypper'' for
#<Puppet::Type::Package::ProviderZypper:0x7fd1acf9e360> at
Is the latest provider broken? Is there interest in making this work /
making it complete. I
2013 May 31
3
Re: [PATCH] Change fallback name for external supermin helper
On Fri, May 31, Richard W.M. Jones wrote:
> On Fri, May 31, 2013 at 10:41:47AM +0200, Olaf Hering wrote:
> > Use basename of external helper instead of 'no' for external supermin
> > helpers. This gives a clear error messages what binary is actually
> > missing, and it is now possible to install the missing package without
> > recompiling libguestfs. In addition
2016 Feb 17
2
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
Allow an alternate libc, such as dietlibc, to be used for the init
binary in the supermin appliance.
Rich.
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 Sep 05
0
Re: [supermin][PATCH] Fix rpm/zypper detection on openSUSE Tumbleweed
Hi Felix,
On Monday, 5 September 2016 11:25:58 CEST Felix Schnizlein wrote:
> 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.
> ---
See the series I posted few days ago about this:
https://www.redhat.com/archives/libguestfs/2016-August/msg00223.html
2016 Feb 17
8
[PATCH supermin 0/2] Allow an alternate libc to be used for init.
v1 -> v2:
- If we split out the init program into a separate init/ directory,
that makes it much easier to build against an alternate libc.
I tried to build against uClibc, but uClibc requires an entire build
chain, which looked like it was going to be a massive ballache.
Rich.
2013 Apr 11
2
[PATCH] handle --use-installed in zypp driver
An attempt to use installed files in zypp driver.
Add also a comment about the theory of operation.
Enable set -x in shell only in verbose mode.
This adds a dependency to xmlstarlet, which is required to parse zypper output.
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
src/supermin_zypp_rpm.ml | 93 +++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 80 insertions(+), 13
2013 Jun 06
1
[supermin PATCH] RFC: Add a --names-only flag.
This takes a list of package names, adding them to the image
without pulling any dependencies.
Only implemented for Debian at the moment.
zypper wasn't build-tested because I don't have the dependency.
---
src/.depend | 2 +-
src/supermin.ml | 6 +++---
src/supermin_cmdline.ml | 13 ++++++++++---
src/supermin_cmdline.mli | 10