Commit Graph

1608 Commits

Author SHA1 Message Date
jmcneill
715c501991 add mkimage config for generating beagleboard images 2013-01-14 11:32:40 +00:00
christos
284486f905 append to rc.conf, don't overwrite 2013-01-13 22:08:43 +00:00
christos
8629ccb3a8 add the comp set 2013-01-13 21:52:42 +00:00
christos
855d500be1 honor ${TMPDIR} 2013-01-13 21:51:47 +00:00
christos
363bebcb93 use variables for the fdisk command too 2013-01-13 21:46:03 +00:00
christos
e49597500d Autosize label 2013-01-13 21:38:45 +00:00
christos
04c5a03c2c complain on unknown options 2013-01-13 20:59:22 +00:00
christos
8066385b56 move configuration to new place. 2013-01-13 20:58:38 +00:00
christos
df3192c082 Adjust mkimage to handle RPI. From skrll@ 2013-01-13 20:57:18 +00:00
jakllsch
b0b33b9313 Don't enable WAPBL by default. It's far too dangerous. 2012-11-20 20:17:43 +00:00
tsutsui
81281427af Don't show a disk which is mounted as root partition
in the "Available disks" list during sysinst procedure
to prevent users from shooting their foot in case of
installation using install-image on a USB stick.
Per suggestion in PR/47195.
2012-11-17 20:34:24 +00:00
tsutsui
ce1f27f16c Define HAVE_UFS2_BOOT to enable UFS2 root in sysinst.
UFS2 support for secondary boot was added on March 2012:
http://mail-index.netbsd.org/source-changes/2012/03/20/msg033042.html
Note prinary boot_ufs has supported UFS2 since 2003:
http://mail-index.netbsd.org/source-changes/2003/04/09/0036.html
2012-11-17 19:35:55 +00:00
christos
4622fbd2a2 add missing include file. 2012-11-05 01:25:25 +00:00
tsutsui
536aa927d4 Remove unused non-en translation messages.
(src/distrib/x68k/floppies/ramdisk/Makefile specifies list.sysinst.en)
2012-11-03 15:40:58 +00:00
tsutsui
213ea85b98 Make the default choice of "Install from" menu to use the sets
in the default file system (assuming which come with the CD/USB image)
and skip distmedium menu if the root file system is not md(4).
Also change "CD-ROM / DVD" menu option accordingly on ports which
have install images.  PR/47038

XXX: still no responsible maintainer of non-en translations
2012-10-25 15:05:22 +00:00
tsutsui
82c859d266 Remove useless md_may_remove_boot_medium messages. PR/47039 2012-10-24 11:36:02 +00:00
christos
f6e747aed2 make libhack's syslog.c produce exactly the same symbols as libc's syslog.c,
so that in the future we can keep them synced. Avoid strong_alias since it
does not play well with symbol renaming.
2012-10-11 17:11:16 +00:00
jdf
db32c99923 Prevent sysinst from setting an fqdn in rc.conf when the user entered no domain
(i.e., sets only the hostname).  Fix for PR install/46946.
2012-09-23 17:37:51 +00:00
jdf
339b2058bc Add Spanish translations for sysinst's new configuration menu, plus adding a few
that were left previously.
Translation provided by jmmv.
2012-09-15 17:56:28 +00:00
joerg
d35d7459b7 Ensure that bakname and tempname have a defined value, even if the first
asprintf failed.
2012-07-19 06:07:21 +00:00
abs
d149c09c58 Add a check hack to ensure %m causes error message string to be shown 2012-07-14 20:32:39 +00:00
jdf
59e494188c Add translations for "Config menu" (was hardcoded before), best guesses for
French and Spanish.
Add translations for Polish config menu entries (provided by Marcin Piotr
Pawlowski).
2012-07-06 21:10:56 +00:00
wiz
670399119e From Bug Hunting:
- add `-D' argument to `usage' lines;
- sort options;
- fix argument names and / or translations thereof.
2012-07-06 09:12:16 +00:00
tsutsui
c0aba6b3c5 Use 32KB/4KB for default block/fragment size on >= 128 GB partitions
for modern AFT disks.  No particular comments against PR install/46629.
2012-06-30 15:34:01 +00:00
martin
6817543049 Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.
2012-06-23 17:49:58 +00:00
christos
a9706a560c Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either
2012-06-23 14:06:02 +00:00
abs
04c1553d52 - Replace the CD_NAME definition with a CD_NAMES comma separate list,
the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax
2012-06-22 20:54:39 +00:00
jdf
e68bb1b900 Change name of author from Nudleman to Nudelman.
See less(1) or http://en.wikipedia.org/wiki/Less_(Unix) for reference.
Patch provided by Bug Hunting
2012-06-08 12:39:42 +00:00
tsutsui
f03261f467 Fix regression by my dumb patch in PR/45990.
sysinst fails with "floating exception" after
changing MBR partition size in MBR editor menu
if the target disk doesn't have valid MBR partition
or has a valid partition 0 whose offset is not 1MB aligned
(like 63 sectors).

read_mbr() (which calls get_ptn_alignment()) is called
before set_bios_geom(), so bhead is not initialized there
and ptn_alignment could be zero.

To workaround, explicitly call get_ptn_alignment() again
in edit_mbr() to update ptn_alignemnt per BIOS geom values.
2012-05-26 05:09:59 +00:00
jdf
cb54fe064f Changed returncodes to -1 of mount_disks in case of error (before, they were
inverted).
Add message mount_failed to be displayed when a mount fails, offering the
opportunity to go on anyway (fix for PR install/12020).
2012-05-21 22:38:25 +00:00
jdf
7b75438926 Adds a check to determine the root filesystem for determining the path of the
rc.conf. Without, the menu would fail as it tried to `chroot ""` (target_root
returns "" for / as root).
2012-05-15 15:50:58 +00:00
martin
b5e206ee7a Tweak a few grammar errors 2012-05-15 08:47:53 +00:00
nisimura
2a5eed591c Add KURO-BOX/T4 support to sysinst. Tested good with the target
machine.
2012-05-12 08:31:52 +00:00
martin
e90a004d0c Fix harmless error preventing auto-finding non-ISO9660 formatted CD
partitions (when offering sets from CD).
2012-05-08 13:51:34 +00:00
riz
89f7ad6034 Check for del_rc_conf() == 0, not !del_rc_conf(), and fix a couple of
instances where the check was wrong.  sysinst now properly saves dhcp
and host config again.
2012-05-01 18:28:47 +00:00
riz
4ca684e9f6 Don't have pkgin prompt before updating the database. 2012-04-30 19:57:52 +00:00
martin
0aeedd76fe Add missing white spaces at end of line (meaning forced line breaks) 2012-04-30 19:49:26 +00:00
martin
23b152e8d9 Translate enable_binpkg 2012-04-30 19:43:45 +00:00
riz
29b07b45cc Check if the network is up before attempting to install pkgin. If not,
configure it.
2012-04-30 19:05:29 +00:00
riz
f75e70385a Change the pkgin repository *before* running pkgin update. Spotted
by imil@.
2012-04-12 16:05:48 +00:00
jdf
ccba2c41c9 Make sysinst not store the keyboard or network configuration used while
upgrading, as issued by PR install/35538.
2012-04-09 23:18:31 +00:00
uebayasi
60ebd64731 Remove duplicate English text. Remove ^M. Fix build. 2012-04-08 03:11:14 +00:00
riz
420ca486a3 French translation of new strings, and some other fixes.
From Matthew Mondor.
2012-04-07 23:25:18 +00:00
jdf
1671538f34 Fix for PR 45816: Restructuring the error menu when the CD ROM is missing. 2012-04-07 19:02:57 +00:00
tsutsui
d1ab79a2ea Use 1MB alignment rather than the default 63 sectors for
fdisk partition boundary for >128GB disks, as fdisk(8) does.
No particular comments for my PR install/45990.
2012-04-07 03:08:33 +00:00
riz
ed2340b163 Implement a post-install configuration menu, as proposed on tech-install.
Enables the user to configure a few additional items, including using
pkgin to manage binary packages, in a post-install menu which replaces
the series of questions (Do you want to set a root password? etc).

This is by no means a perfect solution, nor should it discourage anyone
from working on more sweeping changes to sysinst.

Some bug fixes, and .de translation provided by Julian Fagir.

XXX .es, .fr and .pl translations still needed.  Please help!
2012-04-06 23:48:53 +00:00
wiz
3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
matt
bda6ce62a2 Use C89 function definitions. 2012-03-21 05:43:55 +00:00
tsutsui
34ae6a8457 Remove trailing whitespaces where explicit line break is not necessary:
- paragraph break (two newlines)
 - list indent (leading tab)

XXX: msgc(1) lacks description about formatings.
2012-03-03 03:06:30 +00:00
tsutsui
c92748bcf3 Remove unused pasto messages. No Human68k on hp300. 2012-03-03 02:46:13 +00:00