[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding utilities to install environment



You are on your own.

This stuff you are tweaking is designed to pack tight floppies; it is
NOT designed to be general purpose, and you will run into weird
behaviours that make it unsafe and strange.

Honestly, you're on the wrong track.  Small media is for installing,
not for general purpose use.

> I am trying to add some things to the OpenBSD install environment, like: 
> awk, telnet, ssh, sftp, and tftp.  I am modifying 
> src/distrib/{arch}/common/list to add the files which I want included.  
> Some executables like awk compile okay, but others like telnet and ssh 
> fail on various libraries.  When I try to compile a release with just 
> awk added in everything goes smoothly until it reaches the 
> 'distrib/{arch}/ramdiskA' directory and then stops because the file 
> being copied is larger than the allocated size (that of a normal 
> floppy).  So my questions are:
> 
> 1) Are the installbin files specially selected so crunchgen will produce 
> a binary which can fit on a floppy?
> 2) Is there a way to select which installbin files go on which floppy?
> 3) What is the best way to modify the Makefiles so that the other 
> programs like telnet and ssh can be compiled in also (maybe modify the 
> -L flag for crunchgen in some random Makefile)?
> 
> Sorry for my ignorance, thanks for your help!
> (should this be in misc?)
> 
> thanks again,
>   -erik