sevan
f7a3540ecf
Drop main() prototype.
2017-05-04 16:26:09 +00:00
christos
2c6ed7a648
another buffer overflow.
2017-01-13 05:49:27 +00:00
christos
4dd10bdd36
- allocate space dynamically instead of putting structs in BSS.
...
- change some wrong strncat to strlcat.
2017-01-12 17:38:08 +00:00
roy
87cdadbd3f
ping is not a reliable means of testing if connectivity to download sets
...
actually works, so remove it.
Hopefully fixes PR kern/51531.
2016-12-13 19:03:49 +00:00
alnsn
66e93929b7
Add aes-xts to sysinst(8).
2016-12-11 00:56:34 +00:00
roy
bdebc53a9a
Fix PR kern/51531 by using ifconfig to wait for addresses to become
...
valid rather than sleeping a fixed ammount of time.
2016-11-22 12:04:35 +00:00
flxd
9ff8fe6273
Add new USB-enabled kernel config(s) based upon GENERIC for pmax, include it as kernel set in the build and make it a choice in sysinst.
...
OK simonb@
2016-11-04 19:18:50 +00:00
christos
da3d868a6d
elide stack protector warning
2016-06-08 02:00:40 +00:00
dholland
f8610727d2
Disable the code that tries to prepare a new partition table (but doesn't
...
do anything with it...) because it's zooming off the end of the array it's
trying to use.
It looks to me as if NEW_MAP_SIZE has been accidentally used as both
the number of blocks occupied by the new partition table and also the
number of entries in it. Or something. This needs platform knowledge
to sort out. XXX.
Workaround for PR 50757.
2016-05-31 02:49:50 +00:00
dholland
d9a33fbe91
Explicitly ignore errors in the hack for mucking with wedges; mark it XXX
...
for future attention. Other part of PR 50886 from David Binderman.
2016-05-30 17:03:21 +00:00
dholland
ccc5db6204
#if out some unreachable code that's apparently not yet supported.
...
PR 50886 from David Binderman.
2016-05-30 17:00:38 +00:00
martin
1ef77d7e7c
David Binderman in PR bin/50714: fix memory leak
2016-01-26 14:08:58 +00:00
martin
4d3ac9f239
David Binderman in PR bin/50713: fix memory leaks
2016-01-26 14:05:29 +00:00
pgoyette
7935b6fc9b
Enable installation of amd64 on an lfsv2 partition.
...
XXX Other ports will need similar changes to arch/.../md.h after testing!
XXX The mount_lfs warning about lfs being experimental may confuse or
XXX corrupt the sysinst display window.
2015-11-14 23:00:17 +00:00
martin
e082252485
PR 50342: if there is no current partition manage, assume we are running
...
from an already installed system.
2015-10-18 09:21:55 +00:00
joerg
10100b028a
Simplify.
2015-08-28 12:04:08 +00:00
tsutsui
37c170c28e
Remove unused es message files.
2015-08-12 18:22:22 +00:00
tsutsui
7ec466b181
Drop ancient AOUT2ELF option. Saves ~280 bytes.
2015-08-12 18:20:02 +00:00
isaki
bbeaff6281
indent and some KNF.
2015-07-25 07:12:30 +00:00
matt
36b15a92c0
Stub out enough so this builds for evbarm64
2015-07-08 01:12:48 +00:00
youri
28411567b5
Wording.
2015-06-19 12:27:02 +00:00
ozaki-r
8f82f57c45
Remove obsolete interfaces: eon (netiso) and nsip (netns)
...
Pointed out by Kamil Rytarowski
2015-05-21 01:09:00 +00:00
martin
e483043e46
Do not -DCATALOG_DIR for DEBUG builds to allow easy (local) testin of
...
translations.
2015-05-17 10:22:20 +00:00
martin
9ee09e5ff9
Invert sense of a vnd creation message ("Create new image: Yes") and kill
...
the translations that I can't update myself.
2015-05-17 10:13:24 +00:00
martin
840d8b9a07
Missed a few more "yesno" in previous
2015-05-11 21:07:56 +00:00
martin
5270515f54
Make "ask_yesno" and "ask_noyes" take a const char * as argument, moving
...
the deconst() dance into the utility functions and simplifying all callers.
2015-05-11 13:07:57 +00:00
martin
f92de306f4
More (ab-)usages of "yesno"
2015-05-11 13:01:08 +00:00
martin
cc33bc91e6
Remove a few more (ab-)usages of "yesno".
2015-05-11 12:57:55 +00:00
martin
a83f4e2ce4
Make it compile on architectures that do not support INET6 in sysinst
2015-05-11 06:58:13 +00:00
martin
e21052b4e5
Backout the previous incorrect fix for PR 49440 and redo it more globaly:
...
get rid of the global "yesno", introduce utility functions "ask_yesno()"
and "ask_noyes()" instead, greatly simplifying a lot of code.
Pass in a pointer to the return value to various "set source" menus.
2015-05-10 10:14:02 +00:00
martin
b3b23df81a
Sort DBG vs CPPFLAGS in the DEBUG case, as requested by Christos
2015-05-10 09:13:15 +00:00
martin
b2609efb8f
When exiting from the "ftpsource" menu, explicitly set yesno to -1 (again),
...
to avoid a retry loop because a submenu action has changed this global.
Fixes PR 49440.
2015-05-09 12:55:06 +00:00
martin
f33ca424b5
Add a new utility function "update_wedges()", which triggers a scan
...
for wedges on the given disk. Call this after writing a disklabel.
This makes all auto-discovered wedges go away after we changed the
partitioning (and are not using GPT) and fixes PR 49665.
2015-05-09 12:06:31 +00:00
martin
746360b112
Make gcc generate better debug info when building with DEBUG set.
2015-05-09 06:15:42 +00:00
martin
aeb2cdc99a
As pointed out by John D. Baker: replace all / characters in packnames
...
(which might be automatically generated from controller names like
"PERC 5/i") with a space before using the string as a file name.
2015-05-01 17:48:36 +00:00
gson
6b28ba7844
Shorten the message "System configuration files (/etc)" to just
...
"Configuration files (/etc)" so that it doesn't overflow into the
"Selected" column, overwriting the "Yes" or "No" so that there is
no way to know if the set is selected or not.
2015-05-01 13:48:05 +00:00
snj
d36b8cce23
make the english sysinst messages suck a bit less:
...
- improve wording
- correct outdated info
- pick some consistency nits
- fix whitespace
2015-04-30 06:37:26 +00:00
maxv
149659eb68
Fix the French translation.
2015-04-20 14:10:31 +00:00
maxv
3d61adb879
Several fixes for the French translation. Looks like the '{\n' break the
...
interface: the "No" buttons sometimes disappear.
Actually I can't test this change right now; will see tomorrow.
2015-04-19 16:14:03 +00:00
mbalmer
03639a91cd
IPv4 number -> IPv4 address
2015-04-03 14:57:41 +00:00
joerg
f449d0c454
Boot partition as FAT32 doesn't really make sense, so don't force
...
the MBR to lie and allow FAT16 too.
2015-03-12 11:32:16 +00:00
snj
362cd6ee40
Handle empty input gracefully by simply jumping back to the config menu.
2015-01-20 21:51:05 +00:00
abs
40a37f0d92
Rather than scatter set_swap() calls wrapped in ram size checks through
...
md_post_disklabel() and md_pre_update(), abstract them out to an MI
set_swap_if_low_ram() and call from the appropriate MI places.
Now all platforms add swap if the system has <= 32M of RAM.
2015-01-02 19:43:13 +00:00
martin
3cbe7ed1ad
Revise previous: with RUN_SILENT there is never a good reason to create
...
the output window unless there is actually output to display.
2014-12-30 10:10:22 +00:00
martin
099d1616af
If we launch a program with RUN_SILENT, give it more than two seconds to
...
run before we create an output window. On a swapping VAX it can take
seriously longer, and we get interactive status display even if the program
did not produce any error output otherwise.
2014-12-29 14:43:06 +00:00
martin
44d35daebe
We can not rely on the existence of the "gpt" binary on install media -
...
make installation work without it (and without strange errors) again.
2014-12-28 12:05:27 +00:00
martin
42a1d150e6
Move bogusly merged files over to new location.
2014-12-28 11:51:10 +00:00
tsutsui
4b574ec157
Terminate messages with a newline so that dialog box won't overwrite messages.
...
Should be pulled up to netbsd-7 (and netbsd-6) branches.
2014-11-24 15:22:59 +00:00
snj
5b90a227cf
"Encryption" has an r in it.
2014-11-10 01:05:10 +00:00
martin
ad279af689
On architectures that have no BIOS (and so do not set a BIOS geometry)
...
we need to initialize the globals bsec, bcyl and bhead before using
them.
2014-10-21 18:19:17 +00:00