| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
require libpam and all the libraries that libpam brings in.
We have no room for those on picobsd images.
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add override for /etc/rc.local .
Add hook to start syslogd if compiled-in and /etc/syslog.conf exists
|
| |
|
|
|
|
|
|
|
|
|
| |
the author obviously meant a void since he doesn't return any values.
One caveat, http_request has three return()'s, but doesn't do anything
with it. Either the code needs to be rewritten to take care of proper
error handling on that point, or the returns ripped out. I made it void
for now.
|
|
|
|
|
|
|
| |
an off_t.
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
|
|
|
|
| |
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
in <bsd.prog.mk> and <bsd.lib.mk>.
Reviewed by: luigi
|
|
|
|
| |
Add support for a new "import_files" option (see manpage for details).
|
| |
|
|
|
|
| |
Reported-by: Bruce Montague
|
|
|
|
| |
Reported-by: Bruce Montague
|
|
|
|
|
|
|
| |
in floppy.tree instead of mfs_tree.
Do not cleanup ${BUILDDIR}/floppy.tree, it might be useful to look
at it after an image has been built.
|
|
|
|
| |
Add a reference to the fd_size variable to set floppy size.
|
|
|
|
| |
which is not available).
|
| |
|
|
|
|
| |
want on the MFS image. Update the config files accordingly.
|
|
|
|
| |
a serial console can make use of it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
of selected files (at the moment /etc/host.conf and /etc/resolv.conf)
from /etc/rc.conf , so the number of places to customize is
reduced.
|
| |
|
|
|
|
|
|
|
| |
We had to give up DDB and grep this time...
Add a hint in "config" on how to increase the image size so
we can stuff more things in the image (mostly for use on a CDROM).
|
|
|
|
|
| |
to use kern.bootdevname (if available) to identify the boot device
for updating the configuration. Fallback to /dev/fd0 as before.
|
| |
|
|
|
|
| |
(picobsd might not have the command available).
|
|
|
|
|
|
|
|
| |
directories when writing to disk.
Use the (yet to be committed) sysctl variable kern.bootdevname
to derive the device name, fallback to /dev/fd0 if kern.bootdevname
is unset or not available.
|
|
|
|
|
| |
over a serial line, because the terminal negotiations using ssh/telnet
does the right thing anyways.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closer to doing "the right thing".
The structure is now the following:
* /etc/rc (from MFS) loads the rest of /etc and /root from
/fd and then from floppy (if present), then transfers control
to /etc/rc1
* /etc/rc1 loads defaults from /etc/rc.conf.defaults, tries to
set the hostname basing on the MAC address of the first ethernet
interface, and then sources /etc/rc.conf and /etc/rc.conf.local
for local configurations
* The rest of the startup process is then performed (rc.network and so on).
Everything except the initial /etc/rc (from MFS) can be overridden with
a local version loaded from floppy. But in most cases, you should only need
to customize the following files in /etc:
rc.conf rc.firewall hosts
Previously there were a number of inconsistencies in the calling
between files, and also a lot of clutter in rc.conf and rc.firewall.
Also, "rc1" was called "rc" and would overwrite the initial /etc/rc
from MFS, making it really hard to figure out what was going on in
case of bugs.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ fix some dialog entries to correctly modify variables instead of working
in a subshell
+ add a logverbose function for debugging purposes
+ force 512/4096 blocks on filesystems
+ use 'auto' for disklabel so it works irrespective of the floppy size.
This is useful for larger images than 1720k
|
| |
|
|
|
|
|
|
|
|
| |
and disable telnet and friends in favour of ssh/sshd/scp.
Pull out a few NIC drivers from the config file to make the
image fit into a 1.44 image again. I have left "lnc" in as that is
emulated by vmware so this can be booted there.
|
|
|
|
|
|
| |
variable assignments are retained ( () creates a subshell)
Reported-by: Michael Bretterklieber <mbretter@inode.at>
|
|
|
|
|
|
|
|
|
|
|
| |
"top" does (thinking of it, i could have as well used the same format line!)
This only makes sense when "-w" option is also specified, because the
load is computed as the difference between subsequent samples.
I think this (and the "-d" feature which shows differences in the
network statistics counts) would also make sense in the standard
vmstat and netstat.
|
|
|
|
|
|
| |
only once into an array of shell variables, and then scan the array
to find entries matching the MAC address.
Associative arrays would really be handy here...
|
| |
|
|
|
|
|
|
|
|
| |
of the default ones (which could be incorrect when doing cross builds).
Also, try to be backward compatible when compiling wmk (the goal being
able to use the most recent "picobsd" script on a wide range of
source trees).
|
|
|
|
|
| |
which is likely to be removed shortly, after repo-copying it from
there.
|