Commit Graph

74 Commits

Author SHA1 Message Date
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
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
snj
eebaae53ca Make the option to abort pkgsrc fetching/extraction actually work.
Previously, if the network was not set up and you couldn't fetch
pkgsrc, you'd get stuck here, unable to make it back to the parent
menu.
2014-10-15 21:38:39 +00:00
christos
e47dca206e Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *)
and not checking the result of localtime can lead to tears.
Add a safectime() that always returns a good string, and add some debugging
so that we can see if there is indeed something wrong in the new libc time
code.
2014-10-14 16:35:20 +00:00
gson
fbdc6f8ee9 When checking if the user chose to use the existing bootblocks, use
the appropriate variable, boottype.bp_consdev, not the uninitialized
bp.bp_consdev.  Also remove bp and bootxx since their only use was in
the incorrect check.  This should fix the problem of sysinst segfaulting
when you choose "Use existing bootblocks" on amd64.
2014-10-11 13:34:01 +00:00
roy
0c7cf1ae4c Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.
2014-09-22 19:01:02 +00:00
roy
8e47ac0efa Remove the ping6 ff02::2 test, it looks pretty pointless.
dhcpcd will ensure the IPv6 network is up before forking.
ping the IPv4 default route before the nameserver as the nameserver
could be over the default route anyway.

Fixes the core issue with PR install/49231.
2014-09-22 18:47:41 +00:00
martin
ceb7a1b9a3 For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
2014-09-13 17:22:22 +00:00
roy
1c37fe7141 Fix a bogus gcc warning: dhcp_config may be used uninitialized 2014-09-13 09:46:12 +00:00
roy
9cc5846ff7 Show the IP6 address instead of yes 2014-09-13 09:38:43 +00:00
roy
2787059b04 Strip newline from the gateway correctly. 2014-09-13 09:30:30 +00:00
roy
eda033034a Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
2014-09-13 01:11:58 +00:00
roy
13c4979619 Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.
2014-09-13 00:38:36 +00:00
roy
63fc81c2f0 rtsol is no longer used. 2014-09-12 21:12:42 +00:00
roy
61e374731e Don't prompt for hostname or domain if obtained from DHCP. 2014-09-12 21:02:06 +00:00
roy
14d86bcffe dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
2014-09-12 20:48:55 +00:00
roy
ec4a0efb33 Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00
roy
4fabb2a304 The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
2014-09-12 20:20:25 +00:00
martin
551f6cb995 Make sure to not dereference a NULL pointer. 2014-08-19 13:44:31 +00:00
martin
7a7d59f635 Cosmetic changes trying to appease coverity scan. 2014-08-19 13:41:08 +00:00
martin
722a22e445 Check return values from stat before comparing contents of the result
structures. Pointed out by coverity scan.
2014-08-19 13:36:04 +00:00