psss / rpms / libguestfs

Forked from rpms/libguestfs 5 years ago
Clone

Blame 0050-builder-List-install-packages-in-the-same-order-as-o.patch

1a34115
From 46461012e3fb5a1672346abdff7c16ea2786ee93 Mon Sep 17 00:00:00 2001
1a34115
From: "Richard W.M. Jones" <rjones@redhat.com>
1a34115
Date: Fri, 10 Jan 2014 17:04:28 +0000
1a34115
Subject: [PATCH] builder: List --install packages in the same order as on the
1a34115
 command line.
1a34115
1a34115
Previously the list was reversed.  Note this doesn't have any effect
1a34115
on how the packages are installed since the guest package manager
1a34115
doesn't care about the order.
1a34115
1a34115
(cherry picked from commit 39bc959c5b3a972e9a12921e002f27aaab2cd5ff)
1a34115
---
1a34115
 builder/cmdline.ml | 2 +-
1a34115
 1 file changed, 1 insertion(+), 1 deletion(-)
1a34115
1a34115
diff --git a/builder/cmdline.ml b/builder/cmdline.ml
1a34115
index 99412bb..813fbd8 100644
1a34115
--- a/builder/cmdline.ml
1a34115
+++ b/builder/cmdline.ml
1a34115
@@ -311,7 +311,7 @@ read the man page virt-builder(1).
1a34115
   let format = match !format with "" -> None | s -> Some s in
1a34115
   let gpg = !gpg in
1a34115
   let hostname = !hostname in
1a34115
-  let install = !install in
1a34115
+  let install = List.rev !install in
1a34115
   let list_long = !list_long in
1a34115
   let memsize = !memsize in
1a34115
   let mkdirs = List.rev !mkdirs in
1a34115
-- 
1a34115
1.8.4.2
1a34115