|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Adding binaries to ramdisk kernel
From: Jesse Kempf (kempf
rpi.edu)
Date: Sat Apr 02 2005 - 04:02:15 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
One of my little side projects is adding the smarts to the OpenBSD
installer so that it can tell if an interface is wireless, and if so,
prompt the user to enter an SSID. I thought it better that I not
hackishly modify ifconfig or wicontrol to be able to determine whether
the media is IFM_IEEE80211. So I've got this tiny binary (~1k) called
iswireless that needs to be added to the instbinary. From what I've
pieced together, crunchgen is used to slap everything in
src/distrib/special together, so I've added a directory to special
called iswireless and did all the makery necessary so that iswireless is
generated at the right time. I then surmised that a miracle would
happen, and all I'd have to do is add a directive to
src/distrib/ramdisk/list and iswireless would magically appear after I
built and booted from the new ramdisk kernel.
Now here's the problem I'm having: I can't quite seem to get that to
happen. I'm pretty obviously missing some magic here. What is it? If
it's documented (which would be helpful, but embarassing to me), where
can I find the documentation?
Cheers,
-Jesse Kempf
VLSI Lab Systems Manager
Center for Integrated Electronics
Rensselaer Polytechnic Institute
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]