Age | Commit message (Collapse) | Author |
|
The instbin stuff looks good to deraadt@
|
|
ok deraadt@
|
|
while root (sic) causes are probed.
Problem reported by RD Thrush via bugs@ and reproduced locally.
|
|
Saves precious 896 bytes as a side effect.
OK deraadt
|
|
intrusive. Default to the first available disk, skipping to the next
(and so on), should the selected one be determined unsuitable for the
install or upgrade taking place.
"please commit" deraadt@
|
|
only http is used.
|
|
|
|
|
|
to install_sets() and that it is presented as default answer.
- fix pattern in waitcgiinfo() to match method=cd0.
- use a separate variable _im to set INSTALL_METHOD
resp might get overwritten in install_cdrom()
OK halex
|
|
by moving waitcgiinfo() from install_http() to before install_sets()
in do_upgrade().
OK halex
|
|
directory does not exist. Otherwise, INSTALL_METHOD is not set
and this information is not sent to the cgi server.
OK halex
|
|
Route labels are now enclosed in double quotes (see r1.107 of
src/sbin/route/show.c).
OK claudio, krw
no objections halex
|
|
One is enough.
OK halex
|
|
OK krw, halex
|
|
Found out by naddy
OK deraadt
|
|
stupi^Wunfortunate, so stop asking.
deraadt@ and krw@ agrees
ok rpe@
|
|
as for upgrades.
- For installs, find all and any disks available.
- For upgrades, look for 'a' partitions with the typical root filesystem
directories in them.
In both cases, if one and only one match is found, it will be selected.
If no disk or multiple disks are found, the installer will require you
to specify a disk, be it by hand or by auto{install,upgrade}.conf.
ok rpe@ krw@ "Innovative." deraadt@
|
|
/tmp with proper permissions so that unprivileged programs can not
tamper with them.
positive feedback from deraadt
OK halex
|
|
as unprivileged users.
OK halex, tb, deraadt
|
|
and ensures that no processes of this user remain active afterwards.
Optionally, it creates a file, that is owned by the user only for
this command execution. Afterwards it's chown'd by root.
Add wrapper functions for do_as(). unpriv() uses the _sndio user
and unpriv2() uses the _file user to execute commands.
OK halex, tb, deraadt
|
|
on a base system. They are used with doas(1) to execute certain
commands as unprivileged users during install and upgrade .
OK halex, tb, deraadt
|
|
OK halex, tb, deraadt
|
|
which will scan the available disks, selecting the first disk with an
'a' partition of type 4.2BSD
ok deraadt@ krw@ phessler@
|
|
during install.
Spotted & diff from Patrik Lundin. Thanks!
|
|
should unvis() it too, but I think this is enough, at least for now.
ok krw@
|
|
OK halex, krw
|
|
For the file name try 'filename' then 'option bootfile-name'.
For the server name try 'server-name' then 'option tftp-server-name' then
'next-server'.
Original idea from Patrick Lundin. Suggestions from rpe@.
Tweaks & ok halex@
|
|
an immature heuristic for "what is a release and what is a snapshot".
This change maybe improved the post-release experience, but it damages the
pre-release experience, which may result in less effective pre-release
testing, which risks creating poor releases, which may result in poor
post-release experiences.
Specific case: subtle breakage to fw_update.
|
|
|
|
/usr/local resides on.
idea from and ok deraadt
with feedback from halex
|
|
OK krw
|
|
While there, (re)set AI_MODE and AI_SERVER at the start of the
installer script.
OK krw@
|
|
used as a response file for autoinstall(8). The result is emailed to the
root user on next boot. Passwords are not logged.
positive feedback deraadt, jung
OK krw, halex, sthen
|
|
to be sent to root on reboot into separate functions.
positive feedback deraadt
OK krw, sthen, halex
|
|
unused for now, but I plan to convert all programs in base to use it in
a future diff. /dev/bpf0 is for compatibility with existing binaries
and is to be removed after a transition period.
ok rpe krw, for the installer part
"Let's see it hit the tree." deraadt
|
|
While here, don't echo 'running sysmerge...' since that'd get us a mail each
time we upgrade even when nothing changed.
ok deraadt@ rpe@
|
|
fw_update(1).
Putting this at the beginning of the p2k16 hackathon so we can see if anything
breaks and to get feedback about the output etc
If sysmerge cannot merge/install a file automatically, login into the machine
and running it interactively will ask you what you want to do with it.
It may not stay in this exact form, but that's a first step and now is a good
time to get it in.
discussed with deraadt@ for a while
ok rpe@
|
|
- Always quote the first argument to isin()
OK halex@, krw@
|
|
- make it clear in comment that it returns a unique list
- shift is only possible if argc > 0, otherwise return
- quote "$_b" in equality test forcing possible patterns being
treated as strings
OK halex@, krw@
|
|
Feedback from and OK halex@
OK krw@ for a similar diff
|
|
names instead of _ifdev and _ifdevs.
OK krw@ halex@
|
|
OK krw@, halex@
|
|
purpose and simplify the logic to remove the partition information
from the device name.
With help from and OK halex@, krw@
|
|
With help from and OK halex@
OK krw@
|
|
Feedback from and OK halex@
OK krw@
|
|
OK krw@
|
|
|
|
- merge upgrade.sh into install.sub as do_upgrade()
- delete install.sh and upgrade.sh
- make install.sub executable
- turn install and upgrade into symbolic links to install.sub
- add autoinstall symbolic link to install.sub
- change dot.profile to use these symlinks
- introduce a -m option to set MODE in install.sub
- alternativly set MODE and AUTO depending on PROGNAME
- execute the do_{install,upgrade) functions depending on $MODE
OK halex@, krw@
'go for it' deraadt@
|
|
OK halex@
|
|
- sendmail, named, popa3d are not part of base anymore and their ports
versions use _<username>.
- _tftp_proxy and _ftp_proxy are used instead of the proxy user.
OK ajacoutot@
|