FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-12-2010, 07:56 AM
Martin Gracik
 
Default Add nslookup command to the initrd.img (#591064)

Needed for usage in %pre section of kickstart files.
---
scripts/mk-images | 1 +
scripts/upd-instroot | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 2959701..2d2c00d 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -729,6 +729,7 @@ makeinitrd() {
instbin $IMGPATH /usr/bin/hostname $MBD_DIR /sbin/hostname
instbin $IMGPATH /usr/sbin/ethtool $MBD_DIR /sbin/ethtool
instbin $IMGPATH /usr/sbin/route $MBD_DIR /sbin/route
+ instbin $IMGPATH /usr/bin/nslookup $MBD_DIR /sbin/nslookup
touch $MBD_DIR/etc/resolv.conf

# hwdata
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index cdaf650..0984910 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -525,6 +525,7 @@ usr/bin/chattr*
usr/bin/chvt
usr/bin/eject
usr/bin/clear
+usr/bin/nslookup
usr/bin/dbus-launch
usr/bin/dbus-launch
usr/bin/du
--
1.6.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org