[master/rhel7] Add more tools for rescue mode (#1109785)

Brian C. Lane bcl at redhat.com
Mon Sep 8 18:05:09 UTC 2014


This adds od, hexdump, hexedit, gdisk, and binaries from sg3_utils

Resolves: rhbz#1109785
---
 share/runtime-cleanup.tmpl | 4 ++--
 share/runtime-install.tmpl | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 3f5323f..1bd5968 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -148,7 +148,7 @@ removefrom coreutils /usr/bin/expand /usr/bin/factor
 removefrom coreutils /usr/bin/fold /usr/bin/groups /usr/bin/hostid
 removefrom coreutils /usr/bin/install /usr/bin/join /usr/bin/logname
 removefrom coreutils /usr/bin/mkfifo /usr/bin/nl /usr/bin/nohup /usr/bin/nproc
-removefrom coreutils /usr/bin/od /usr/bin/paste /usr/bin/pathchk
+removefrom coreutils /usr/bin/paste /usr/bin/pathchk
 removefrom coreutils /usr/bin/pinky /usr/bin/pr /usr/bin/printenv
 removefrom coreutils /usr/bin/printf /usr/bin/ptx /usr/bin/runcon /usr/bin/seq
 removefrom coreutils /usr/bin/sha224sum /usr/bin/sha384sum
@@ -319,7 +319,7 @@ removefrom util-linux --allbut \
     /etc/mtab /etc/pam.d/login /etc/pam.d/remote \
     /usr/sbin/{agetty,blkid,blockdev,clock,fdisk,fsck,fstrim,hwclock,losetup} \
     /usr/sbin/{mkswap,nologin,sfdisk,swapoff,swapon,wipefs,partx} \
-    /usr/bin/logger
+    /usr/bin/{logger,hexdump}
 removefrom volume_key-libs /usr/share/locale/*
 removefrom wget /etc/* /usr/share/locale/*
 removefrom xorg-x11-drv-intel /usr/${libdir}/libI*
diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index 0050124..84d0b30 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -134,7 +134,7 @@ installpkg libreport-plugin-bugzilla libreport-plugin-reportuploader
 installpkg vim-minimal strace lsof dump xz less eject
 installpkg wget rsync rsh bind-utils ftp mtr
 installpkg spice-vdagent
-installpkg gdisk
+installpkg gdisk hexedit sg3_utils
 
 ## yum plugins
 installpkg yum-langpacks
-- 
1.9.3



More information about the anaconda-patches mailing list