skrll
1714369b9e
PR/49596: mkimage: incorrect permissions on evbarm images
...
Use NetBSD.dist in our mtree specification to populate the top level
directories, etc.
For each generated file hand craft an mtree entry.
Remove specialdirs as NetBSD.dist creates /proc and /kern.
2015-01-23 15:17:58 +00:00
skrll
25fa99ca2c
Use [dx]sets_p as flag for debug/X sets inclusion. xsets is the list of
...
sets.
2015-01-18 17:37:54 +00:00
martin
42a1d150e6
Move bogusly merged files over to new location.
2014-12-28 11:51:10 +00:00
christos
c98d156d18
fix image building:
...
- round up the total size of the disk image
- fix fdisk offset for netbsd ffs images
2014-12-14 00:28:46 +00:00
jmcneill
b74092acc2
disable wapbl for evbarm images until stability issues are sorted out
2014-11-25 13:42:31 +00:00
htodd
685040dc40
Remove unused variable.
2014-11-15 19:15:51 +00:00
christos
c94539ae6b
handle the "special" wc NULL case.
2014-11-15 17:49:19 +00:00
uebayasi
cd6a87a95d
Fix build of crunched "route".
2014-11-07 02:57:19 +00:00
jmcneill
d7994b45da
escape $ in $board so this will boot on beaglebone too
2014-09-29 17:54:13 +00:00
jmcneill
88d1b35fc5
turn on ntpd
2014-09-09 13:02:25 +00:00
christos
386021af1d
Use .PATH because the newmake does not apply pattern rules to sources in
...
other directories. Leave the comment and the old code for now so people
are aware that this might not work.
2014-08-25 14:11:51 +00:00
matt
beb9c6d1b5
Preliminary files for AARCH64 (64-bit ARM) support.
...
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
dholland
eed67d2502
Don't descend into sysinst.
2014-07-26 19:35:10 +00:00
dholland
50dbef1a09
Move sysinst sources to usr.sbin.
...
This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.
Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.
Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.
2014-07-26 19:30:39 +00:00
dholland
0736ba101a
Revert version 1.111 of sysinst/disks.c, which caused sysinst to
...
create lfs fstab entries with fsck disabled, and instead patch
fsck_lfs to exit successfully without doing anything when given the -p
(bootup preen) option. If you really want to do fsck_lfs -p, you can
do fsck_lfs -f -p to make it go.
This has been sitting in my todo queue since February 2010 and was
ok'd by the committer at the time. The original commit was based on
this post:
http://mail-index.netbsd.org/tech-kern/2010/02/09/msg007306.html
and I remain unconvinced that it's the right thing, but we can at
least do it properly and not ship a sysinst with -7 that creates
permanently wrong fstab files.
Note that this may cause problems for anyone who's taken -p out of the
bootup fsck flags; but doing that is wrong, so don't.
2014-07-12 16:11:27 +00:00
tsutsui
b13a31e41c
Apply patch in PR port-alpha/48697 (with some tweaks).
...
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.
Should be pulled up to netbsd-6 branches.
2014-06-02 15:03:47 +00:00
martin
41671a8417
Enable swap during sysinst as early as possible
2014-05-28 11:16:03 +00:00
christos
b862878222
merge more, and add an i386 image
2014-04-04 16:45:51 +00:00
christos
9926e61998
now that fdisk has optional arguments, don't pass -1
2014-04-03 22:51:38 +00:00
ozaki-r
66441ce925
Include evbarm.conf as same as other conf files
...
evbarm.conf ensures ${mnt}/boot exists so that it avoids the error:
/home/builds/ab/HEAD/src/distrib/utils/embedded/mkimage: cannot create \
/tmp/mkimage.24444a/mnt/boot/cmdline.txt: directory nonexistent
2014-04-03 01:36:20 +00:00
christos
652c754390
remove swap; these days x86 machines don't need it.
2014-03-31 18:18:45 +00:00
christos
1ccc28a220
provide a -r rootdev option to handle the wd/sd/ld lossage.
2014-03-31 18:18:29 +00:00
christos
08207c1137
these changes produce a bootable system under qemu, but its root is trashed.
2014-03-31 17:05:03 +00:00
christos
b87f017469
Add preliminary support for creating x86 usb sticks with mkimage.
...
This is untested, and just a checkpoint of the work. Image looks
ok, but I have not tried if it boots.
2014-03-31 16:20:48 +00:00
martin
aad6ef8bb5
Bring back the playstation2 port - now that a toolchain for it is
...
available again.
2014-03-31 11:25:47 +00:00
skrll
6d3ceb1d61
Rename NetBSD/hp700 to NetBSD/hppa.
...
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
tsutsui
2bfe408bb8
Improve luna68k md part of sysinst.
...
- setup a boot UFS partition and install native bootloader
- add messages how to setup NVRAM variables for firmware to load bootloader
- enable swap on <= 32MB machines
2014-02-19 12:14:40 +00:00
tsutsui
bde3bdd586
Use msg_display(3) rather than printf(3) to print dobootblk messages.
...
The latter won't show any characters on the sysinst screen
and other ports have used the former.
2014-02-15 19:45:43 +00:00
christos
2b043c75b6
eliminate use of bsd.sys.mk from Makefiles
2014-01-16 01:15:32 +00:00
christos
73e8f5b689
refer to our own h_errno so we don't fetch the libc one
2013-12-21 20:10:02 +00:00
martin
5a653d813b
Add a tmpfs for /var/shm on machines with more than 16MB ram to the created
...
/etc/fstab.
2013-12-07 20:40:42 +00:00
martin
1b1205ff08
Remove duplicated line for /etc/fstab in file list
2013-12-07 19:42:36 +00:00
skrll
a47f2be0b8
Put console=fb back as autodetect is bunged up.
2013-11-28 13:39:18 +00:00
skrll
bc409d7b58
Fix /dev population of the evbarm images by using MAKEDEV -s and appending
...
to the mtree spec file passed to makefs.
2013-11-22 11:13:54 +00:00
christos
f55ff5e8dd
vax specific gcc 4.8.1 hacks
2013-11-09 21:39:27 +00:00
christos
d0cb43a4be
remove unused variable
2013-11-07 17:18:22 +00:00
christos
debabdd480
fix unitialized variable access
2013-11-04 20:07:49 +00:00
drochner
958a129dbd
-recognize CF cards by the magic value in inquiry data
...
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
that it exists
2013-10-30 15:37:49 +00:00
mrg
82ccf86971
remove unused variables
2013-10-30 08:39:01 +00:00
tsutsui
65aea71825
Fix another botch of my dumb patch in PR/45990; add missing braces.
...
The offset of MBR partition 0 was unintentionally set to 2048 even on
small (<=128GB) disks. Probably we should rethink the threshold,
but anyway sysinst(8) should follow fdisk(8) default.
http://nxr.NetBSD.org/xref/src/sbin/fdisk/fdisk.c?r=1.145#1199
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sbin/fdisk/fdisk.c#rev1.129
The problem is pointed out and analyzed by Simon Nicolussi in PR/48304.
Should be pulled up to all netbsd-6* branches.
2013-10-13 15:32:14 +00:00
ast
d134b5afd8
After discussions with cristos regarding the previous commit, he
...
convinced me it was sufficient to define GZIP_CMD only in
distrib/utils/embedded/mkimage and not again in the config files
beagleboard.conf, rpi.conf, and rpi_inst.conf similar to how the
other variables $src, $release, $mnt, ... are only defined there.
2013-09-16 15:23:57 +00:00
ast
555103854f
Fix build release of evbarm which had been failing in mkimage
...
beagleboard_smp with the elusive message:
"gzip: can't stat: gzip: No such file or directory"
This was due to GZIP=gzip being defined in mkimage; we now use:
GZIP_CMD=${TOOL_GZIP:-gzip} # ${GZIP} is special to gzip(1)
as distrib/sets/sets.subr already does in these files as well:
distrib/utils/embedded/mkimage
distrib/utils/embedded/conf/beagleboard.conf
distrib/utils/embedded/conf/rpi.conf
distrib/utils/embedded/conf/rpi_inst.conf
2013-09-14 12:51:27 +00:00
christos
27af00aa70
avoid copying most of libc (except gethostent_r, which unfortunately
...
adds a resolver dependency) by callling the internal nsswitch functions.
2013-08-27 09:53:33 +00:00
christos
5f8c91aab5
provide the symbols sethostent.c in libc is missing.
2013-08-25 08:46:34 +00:00
jmcneill
9ca21b5a2d
4th time's a charm (I hope). Make sure that we pick up the kernel path passed to
...
mkimage command line, and not the default.
2013-08-21 22:52:28 +00:00
christos
f5cfca3b2e
modernize, comment out dead code, amend gethostbyaddr prototype.
2013-08-20 15:44:17 +00:00
jmcneill
fbfe999cbc
Instead of trying to pass two kernels to beagleboard.conf, pass one and
...
derive the path to the second from the first.
2013-08-19 04:27:22 +00:00
jmcneill
0b185da1b6
Try to pick up the right location for BEAGLEBONE and BEAGLEBOARD kernels.
2013-08-17 13:08:16 +00:00
jmcneill
4aa709989e
support beaglebone and beagleboard with the same image
2013-08-16 00:03:01 +00:00
jmcneill
dff3087daa
use console auto detection, ok nick
2013-08-01 10:45:21 +00:00
joerg
ad436ff631
Fix stack overflow.
2013-07-10 08:00:29 +00:00
matt
21ab2522a4
Keep both c: and d: paritions so this can work with systems that have
...
RAW_PART as 2 or 3. Addresses PR/47688.
2013-07-05 15:45:17 +00:00
matt
cf364a0187
Just split it into two strings and eliminate the newline.
...
This goes into .ident so the newline doesn't matter.
2013-07-03 14:29:28 +00:00
matt
741c872fa1
Use ANSI C string concatenation
2013-06-28 15:44:27 +00:00
christos
59f914cb33
SSD cards is stupid.
2013-06-27 14:51:30 +00:00
christos
63f6ce0ea2
explain -m better
2013-06-27 03:03:16 +00:00
christos
ccedefbe54
tidy up, fix usage
2013-06-27 03:00:53 +00:00
jakllsch
a78ff5d27c
Use TOOL_GZIP in mkimage, and pass the TOOL_GZIP into it.
2013-06-16 13:47:42 +00:00
christos
483cb9d94d
If minwrites is set:
...
- set noatime, nodevmtime for root
- use tmpfs for frequently written files
- use unix sockets instead of fifos for postfix
From:
http://rich-tbp.blogspot.com/2013/03/netbsd-on-rpi-minimizing-disk-writes.html
2013-05-20 19:28:44 +00:00
christos
1ecbd28829
- explanations for single letter flags
...
- flag to add debug sets
- flag to minimize writes to sd's
2013-05-20 19:27:17 +00:00
tsutsui
186ae29489
Add SET_X11_NOSERVERS for default installation sets.
...
Althrough landisk doesn't have any screen console (except possible udl(4)
and ukbd(4)), it's a good environment to build packages binaries for sh3el,
including dreamcast.
2013-05-14 13:41:48 +00:00
tsutsui
18d49399c6
Remove pasted but obsolete comments.
2013-05-14 13:15:55 +00:00
tsutsui
8d0fe2ad86
Use the default MD_SETS_SELECTED for ports which have Xservers.
2013-05-14 13:14:27 +00:00
tsutsui
10c998805e
Use the default MD_SETS_SELECTED in util.c which includes an Xserver set.
...
luna68k has working Xserver so no need to specify md MD_SETS_SELECTED
with SET_X11_NOSERVERS.
2013-05-14 13:08:57 +00:00
isaki
89a2e05aa5
Enable rc_configured=YES in sysinst.
...
The problem that sed was not contained in ramdisk was already gone.
analized by tsutsui@.
XXX Only hp300 and mvme68k seem to have the same problem.
2013-04-21 06:24:42 +00:00
joerg
ed6b016ecc
More locale hacks.
2013-04-19 18:45:03 +00:00
joerg
ddb0cef57c
Override localeconv_l as well, when providing an alternative
...
implementation of localeconv.
2013-04-18 16:25:55 +00:00
htodd
297d30db54
Double extra to fix image size to fix build.
2013-04-03 19:37:43 +00:00
jmcneill
b40b80aea7
For ffs, set bytes per inode to 4K. Otherwise we get a density based on
...
the contents of the image, which aren't very useful after the file-system
has been resized -- for rpi.img, this was 22K per inode!
2013-03-28 00:20:02 +00:00
garbled
143c554557
Add def for KERNEL_9
...
Get rid of unneeded disklabel -D in md.c
Fix pr/47684 by getting rid of a stupid NULL.
2013-03-26 20:56:54 +00:00
joerg
18115f664e
Cleanup prelim_menu definition.
2013-03-24 20:57:19 +00:00
christos
a34568e5de
Nothing uses the old small dhclient, and the new version is gigantic since it
...
brings in libisc.
2013-03-24 20:26:29 +00:00
jmcneill
8dfeb61e2b
turn on devpubd
2013-03-24 14:11:59 +00:00
tsutsui
1623b8ef7d
Remove non-en translations. en is enough for poor Tier II ports.
2013-03-23 18:15:06 +00:00
tsutsui
f8c98e11e4
Remove rarely maintained and required non-en translations.
2013-03-23 17:29:38 +00:00
gson
6b07865853
Sync non-English messages with the changes of msg.mi.en 1.179 to the
...
best of my ability.
2013-03-23 15:53:48 +00:00
gson
ef78fd8e39
Fix some nits in the English messages for the recently added debug
...
sets: rename the "Source sets" group to "Source and debug sets" to
better reflect its current content, describe the indivdual sets as
containing as "debug symbols" instead of "debug sets", and capitalize
them to be consistent with the messages for other sets.
2013-03-23 15:36:43 +00:00
he
bc3f14a392
Add the ability to install the KUROBOX_PRO kernel.
...
Adds the ability to handle 9 different kernel sets (was 8).
2013-03-23 11:50:02 +00:00
garbled
1630987ad9
Fix an empty shell function here, per Greg Troxel. Apparently empty shell
...
functions are not 100% portable.
2013-03-20 14:47:20 +00:00
garbled
4daade7385
Add a new installer image for Raspberry PI to evbarm
...
Includes the following major changes:
1) Add new configmenu item to sysinst to allow creation of users at
post-install time.
2) Add an sshramdisk type to evbarm, which is a ramdisk with sshd
enabled, allowing users to install on a headless PI by sshing to the
device with the account "sysinst" password "netbsd" to begin the
installation. (Note, neither the account, nor the ssh setup are copied to
the finalized installation image)
3) Change mkimage to build a boot-only image, without the root filesystems.
Much of the sshramdisk code could be reused on other ports easily.
2013-03-19 22:16:52 +00:00
christos
b5b92792fe
fix debugging sets
2013-03-16 22:16:02 +00:00
christos
55f00bfae2
add debugging sets
2013-03-16 17:10:16 +00:00
htodd
259801b095
Disklabel need to use sectors, not bytes. Thanks to agc.
2013-03-01 14:28:22 +00:00
hans
93170f635e
Use HOST_SH to run scripts. Makes mkimage work on SunOS.
2013-02-21 15:13:10 +00:00
riz
3d6cc52bac
Use "gzip -dc" instead of "zcat" - some versions of zcat don't grok
...
gzip.
2013-02-20 18:33:37 +00:00
jmcneill
6d1c375231
gzcat -> zcat
2013-02-17 20:49:16 +00:00
christos
1b766d2e25
don't use [ -f $i ] && cat $i, since we are using -e
2013-02-15 00:13:06 +00:00
jmcneill
fcc410b7f2
add extra space to root partition
2013-02-12 12:45:12 +00:00
jmcneill
fbdc5d584c
create /proc and /kern
2013-02-12 12:04:39 +00:00
jmcneill
bdad5df232
set -e
2013-02-11 18:11:20 +00:00
jmcneill
946e7a0ac0
set rc_configured=YES and a hostname
2013-02-10 23:37:32 +00:00
christos
84914efcd2
start with the original rc.conf
2013-02-10 23:28:19 +00:00
jmcneill
688db5d3b9
dont use echo -n
2013-02-10 21:51:53 +00:00
jmcneill
f27066f7f8
set src= before pulling in host config
2013-02-10 21:51:05 +00:00
jmcneill
8d6503c8a0
no sh -x
2013-02-10 16:56:38 +00:00
jmcneill
0c9570f8f3
fix msdos mbr partition size calculation
2013-02-10 16:56:01 +00:00
christos
3a09eb2df7
don't dup -F
2013-02-10 16:13:23 +00:00
christos
5f6d18eead
no objmachine by default.
2013-02-10 16:13:00 +00:00
christos
c4b361419a
add -F to fdisk
2013-02-10 16:12:37 +00:00
christos
5e2ed7b35e
remove trailing whitespace from EOF
2013-02-10 16:06:24 +00:00
jmcneill
c399bff929
make sure kernel is installed as netbsd.ub
2013-02-10 15:56:57 +00:00
christos
a744bfd880
mass -N db to makefs too
2013-02-10 15:51:59 +00:00
christos
c7678cc71d
specify a database for mtree.
2013-02-10 15:45:33 +00:00
jmcneill
d46a4c5ba4
dont call mtree directly
2013-02-10 15:35:34 +00:00
christos
da71c141ee
really calling disklabel with the arguments of fdisk does not work.
2013-02-10 03:09:07 +00:00
christos
c4c65e1ca7
- remove dup trap
...
- compare size to 0 for autosizing
- remove .gz file before compressing.
2013-02-10 02:09:47 +00:00
christos
2ef0e4eae7
add compression support.
2013-02-10 01:28:42 +00:00
christos
fec034cae5
handle renaming and uncompressing the kernel
2013-02-09 20:47:46 +00:00
christos
2b70ceaf90
add tool hooks.
2013-02-09 18:50:11 +00:00
jmcneill
473f858720
fix usage again -- -D specifies destdir not releasedir
...
include conf/${h}.conf not conf/rpi.conf
fix ./mkimage: line 110: "7" - 1 : syntax error: operand expected (error token is ""7" - 1 ")
2013-02-09 11:20:56 +00:00
jmcneill
eb893c8eed
keep beagleboard conf in sync with rpi
2013-02-09 11:19:55 +00:00
jmcneill
35ad314c0b
fix usage
2013-02-09 11:15:14 +00:00
jmcneill
5dd616cd7a
add missing }
2013-02-09 11:07:26 +00:00
christos
abb21374ec
change to take the full kernel path
2013-02-08 19:16:53 +00:00
christos
9173721edf
fix options
2013-02-08 19:14:14 +00:00
christos
bb4ac1abd6
switch to makefs
2013-02-03 09:16:24 +00:00
skrll
247d96dca1
Add the tests sets by default. Tweak the usage output.
2013-01-30 07:40:34 +00:00
skrll
b93243363a
Move mdnsd to beagleboard only. RPI doesn't like it at the moment.
2013-01-28 09:06:19 +00:00
skrll
959d9b34bf
cmdline needs to be a line! hi jak.
2013-01-23 22:20:06 +00:00
skrll
9a42078a69
Size for 512 byte sectors and base ffs partition size on totalsize minus
...
others.
2013-01-23 21:59:37 +00:00
jakllsch
05b3b9d385
Specify the root device in cmdline.txt, also, it's 'Pi', not 'PI'.
2013-01-21 17:14:23 +00:00
skrll
bc399b5b4e
kernel.img is for rpi only
2013-01-21 16:59:23 +00:00
skrll
a4ac7e4aff
More usage updates
2013-01-21 16:49:49 +00:00
skrll
33441e3917
Update usage output a little
2013-01-21 16:47:23 +00:00
christos
b0de292a79
- Add support for xsets
...
- Factor out common evbarm code
2013-01-16 23:27:34 +00:00
christos
ca6f14109b
tidy up some more by factoring out the sizing code.
2013-01-16 15:58:19 +00:00
christos
095a11f03d
Make autosizing really work:
...
- Use newfs to compute the actual filesystem required size.
- Fix the computation of set sizes to account for blocks and fragments.
This results into a 95% full filesystem for my test (Total 566MB, 24MB free)
from which 8MB is my requested overhead. Not perfect, but good enough.
2013-01-15 21:04:41 +00:00
christos
7a6821a937
now that we compute sizes correctly, reduce the extra to how much free space
...
we want.
2013-01-15 20:55:00 +00:00
christos
a58843234c
make autosizing work (kind of)
2013-01-15 03:56:20 +00:00
christos
db11691a33
first step at autosizing, still does not work.
2013-01-15 03:26:27 +00:00
jmcneill
72bcdf0815
set kerneldir= to the path used by build.sh
2013-01-15 02:51:10 +00:00
jmcneill
7889ef773d
expand set name to path when checking to see if the tgz exists
2013-01-15 02:50:08 +00:00
jmcneill
e83fa335b8
move 'trap' after command args are parsed
2013-01-14 12:12:19 +00:00
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
tsutsui
e2ddea308d
Remove trailing whitespaces in messages where line break is not expected.
2012-03-03 02:34:13 +00:00
tsutsui
fa87856d54
Remove (harmless) trailing tab.
2012-03-03 02:26:45 +00:00
tsutsui
e4fbe1f59d
Remove trailing spaces not in message format.
2012-03-01 18:08:56 +00:00
tsutsui
9db2bcabd6
Remove trailing spaces not in message format.
2012-03-01 17:40:31 +00:00
tsutsui
a77ac84a0c
Put back more spaces at EOL for line breaks.
2012-03-01 17:27:29 +00:00
mbalmer
2e5c623416
Put back spaces at EOL where needed (in a message file, a space at EOL
...
means a line break, a line break means a space...)
This should fix PR 46042.
2012-03-01 16:22:13 +00:00
agc
1923fda99b
consolidate all of the volatile /var.* directories which are mounted as tmpfs
...
into a single one for /var - same as /root, /etc
2012-02-29 04:49:50 +00:00
mbalmer
b3d36785a0
Fold long lines and a little KNF.
2012-02-26 10:17:44 +00:00
ast
7964aa2984
Update the amd64 and i386 examples to use /usr/mdec/bootxx_ffsv2,
...
i.e. DEFAULT_UFS2 as src/distrib/utils/sysinst/bsddisklabel.c does
since post-NetBSD5. This avoids rendering an i386 or amd64 system
unbootable if the given example is thoughtlessly cut-and-pasted on
a NetBSD6.x system (been there, done that ;-) Qualify the descriptions
of /usr/mdec/bootxx_ffsv{1,2} along those lines.
Fixed a small typo in comment of distrib/utils/sysinst/arch/amd64/md.h.
Ok by releng@
2012-02-09 18:35:44 +00:00
nisimura
1858b8306e
- add MBR editing menu to sysinst.
...
- fix typos in timecounter names.
- make sure to drain Tx FIFO to avoid clobbering
kernel boot messages.
- allow to have the 3rd UART.
- add missing time-of-day clock support.
Ok by releng.
2012-02-07 09:06:04 +00:00
nisimura
9aa0874ef1
Add Mini2440 entry to sysinst kernel selection.
2012-02-03 00:35:35 +00:00
phx
678263a5d4
Translate some new messages into german.
2012-02-02 22:15:04 +00:00
phx
bd07308fb4
Use sync(8) instead of echo(1) to avoid writing an RDB disklabel.
...
echo(1) is not part of the miniroot file system.
2012-02-02 21:58:31 +00:00
tsutsui
96d29df0a1
Select a proper kernel set (GENERIC or C700) per running INSTALL kernel name.
2012-02-02 16:00:35 +00:00
phx
2be87fafe3
Add support for RDB-partitioned disks.
...
When an RDB block was found on the disk we cannot change the disk layout,
and everything which has to do with MBR partitioning will be skipped.
2012-01-29 16:01:36 +00:00
tsutsui
c1e4c0e11a
zaurus zboot supports UFS2. (as defined in zaurus/stand/zboot/conf.c)
2012-01-26 16:12:14 +00:00
phx
c43563e336
netboot is called altboot now
2012-01-25 19:03:35 +00:00