Add chvt and eject commands to the initrd.img (#591070)
We need to have these files in initrd.img so they can
be used in the %pre section of kickstart files.
---
scripts/mk-images | 2 ++
scripts/upd-instroot | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/mk-images b/scripts/mk-images
index bffb5bc..723fe15 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -821,6 +821,8 @@ makeinitrd() {
instbin $IMGPATH /usr/bin/sleep $MBD_DIR /sbin/sleep
instbin $IMGPATH /usr/bin/touch $MBD_DIR /sbin/touch
instbin $IMGPATH /usr/bin/wget $MBD_DIR /sbin/wget
+ instbin $IMGPATH /usr/bin/chvt $MBD_DIR /sbin/chvt
+ instbin $IMGPATH /usr/bin/eject $MBD_DIR /sbin/eject
# Indirect dependencies
for nsslib in freebl3 softokn3 nssdbm3 ; do
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 79e962c..cdaf650 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -523,6 +523,7 @@ usr/bin/Xorg
usr/bin/Xvnc
usr/bin/chattr*
usr/bin/chvt
+usr/bin/eject
usr/bin/clear
usr/bin/dbus-launch
usr/bin/dbus-launch
--
1.6.6.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list