Put "killall -USR2 anaconda" in a pre-populated history.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 3 Nov 2009, Peter Jones wrote:
Having things in .bash_history saves my fingers from pain later in life,
which is a noble goal. This also puts pidof and killall in the image,
because they're nice things, and we can have nice things.
If it's health and safety committee inspired, I'm all for it.
---
scripts/mk-images | 4 ++++
scripts/upd-instroot | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/scripts/mk-images b/scripts/mk-images
index 214da16..bf6e115 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -842,6 +842,10 @@ PATH=/bin:/usr/bin:/usr/sbin:/mnt/sysimage/sbin:/mnt/sysimage/usr/sbin:/mnt/sysi
export PATH PS1
EOF
+cat > $MBD_DIR/.bash_history <<EOF
+killall -USR2 anaconda
+EOF
+
rm -f $MBD_FSIMAGE
(cd $MBD_DIR; find . |cpio --quiet -c -o) |gzip -9 > $MBD_FSIMAGE
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index a9b4058..e190653 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -183,13 +183,14 @@ PACKAGES="GConf2 NetworkManager ORBit2 acl anaconda
mesa-dri-drivers mkinitrd module-init-tools nash ncurses neon net-tools
newt newt-python nfs-utils nspr nss nss-softokn ntfs-3g
openldap openssh openssh-server
- pam pango parted pciutils pcre
+ pam pango parted pciutils pcre psmisc
pygtk2-libglade pykickstart pyparted python python-bugzilla python-decorator
python-libs python-nss python-pyblock python-sqlite
python-urlgrabber python-volume_key pyxf86config readline redhat-artwork
reiserfs-utils rpm rpm-libs rpm-python sed selinux-policy-targeted
setup slang smc-meera-fonts specspo sqlite synaptics system-config-date
system-config-keyboard ${brandpkgname}-logos ${brandpkgname}-release taipeifonts tcp_wrappers
+ sysvinit-tools
tzdata udev un-core-dotum-fonts urw-fonts util-linux-ng tigervnc-server
tigervnc-server-module vlgothic-fonts vim-minimal
wget wpa_supplicant xkeyboard-config xfsprogs xorg-x11-xauth
@@ -445,6 +446,7 @@ sbin/parted
sbin/pcmcia-socket-startup
sbin/pdisk
sbin/probe
+sbin/pidof
sbin/reiserfsck
sbin/reiserfstune
sbin/resize_reiserfs
@@ -506,6 +508,7 @@ usr/bin/head
usr/bin/hformat
usr/bin/hmount
usr/bin/humount
+usr/bin/killall
usr/bin/logger
usr/bin/lsattr*
usr/bin/lshal
- --
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkrwsnsACgkQ5hsjjIy1Vkk9hACeMCN/ROFbYLiVhl0GCXk472oO
lqQAoMCajoNiGhQwDtn7ZP7RZhlx+LBR
=Bexs
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|