[PATCH] Add a script for listing the contents of an updates image

Martin Kolman mkolman at redhat.com
Thu Mar 13 09:57:32 UTC 2014


Like lsinitrd but for Anaconda updates images.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 scripts/lsupdates | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100755 scripts/lsupdates

diff --git a/scripts/lsupdates b/scripts/lsupdates
new file mode 100755
index 0000000..3dc4a94
--- /dev/null
+++ b/scripts/lsupdates
@@ -0,0 +1,5 @@
+#!/bin/bash
+#
+# List the contents of an Anaconda updates image
+
+zcat $1 | cpio -c --list
-- 
1.8.5.3



More information about the anaconda-patches mailing list