[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] [PATCH] fedora-atomic-base: Drop /usr/bin/yum explicitly



Right now, heat-cfntools is pulling it in via a (somewhat debatably)
bogus dependency.

The problem is not yum's size, but the fact that its presence confuses
management tools into thinking it can operate to install packages.
One can use yum in a read-only mode, but on the other hand, one can
just run it in a container too.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1130964
---
 fedora-atomic-base.json | 2 ++
 1 file changed, 2 insertions(+)

From 5a6b54af2ed021d8bf27957a566fd4b99c02a3d4 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters verbum org>
Date: Thu, 6 Nov 2014 15:04:40 -0500
Subject: [PATCH] fedora-atomic-base: Drop /usr/bin/yum explicitly

Right now, heat-cfntools is pulling it in via a (somewhat debatably)
bogus dependency.

The problem is not yum's size, but the fact that its presence confuses
management tools into thinking it can operate to install packages.
One can use yum in a read-only mode, but on the other hand, one can
just run it in a container too.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1130964
---
 fedora-atomic-base.json | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fedora-atomic-base.json b/fedora-atomic-base.json
index 057898f..f724d02 100644
--- a/fedora-atomic-base.json
+++ b/fedora-atomic-base.json
@@ -28,5 +28,7 @@
 		 "selinux-policy-targeted", "setup", "shadow-utils",
 		 "sudo", "systemd", "util-linux", "vim-minimal"],
 
+    "remove-files": ["usr/bin/yum"],
+
     "default_target": "multi-user.target"
 }
-- 
1.8.3.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]