Commit Graph

1043 Commits

Author SHA1 Message Date
christos
6101c5d9b5 arrange for libc's getcap to be used instead of a local copy. 2004-04-25 06:45:02 +00:00
matt
e0aa03fd40 Adapt to stdlib.h/libc changes. 2004-04-25 04:35:36 +00:00
dbj
b082781025 fix parenthesis in fixsb. oops 2004-04-24 20:54:26 +00:00
dbj
c8025f6a1e ensure that sblk is 64bit aligned, fix suggested by dsl 2004-04-24 20:51:30 +00:00
dbj
4b198427c0 fix pread return check in fixsb. caught by dsl 2004-04-24 20:48:57 +00:00
dbj
41c60f0331 fixsb script for sysinst
addresses pr install/25138
2004-04-24 20:42:39 +00:00
christos
02d8761f8f No need for extra copy of umount.c 2004-04-21 15:22:10 +00:00
dsl
5d2ed42cb6 Throw out all the crap to do with etc.old, instead install etc/tgz
into /.sysinst and use /etc/postinstall to do the merge.
2004-04-18 21:34:56 +00:00
dsl
0c254de011 Delete a load of code that has been under '#if 0' for a while 2004-04-18 20:42:19 +00:00
dsl
fdba28e796 Now that the language variants are built using message files, remove
the last vestages of the code that supresses specific languages for
specific archtectures.
2004-04-18 19:54:39 +00:00
dsl
06a490c597 Polish translations from Dawid Szymanski in PR install/25224
(with a couple of tweaks from me)
2004-04-18 18:55:19 +00:00
atatat
bfc8238d29 Said "Mount pount"...now says "Mount point". 2004-04-17 18:55:35 +00:00
grant
f515428a88 use ${DISTRIBVER} for the version number, not ${VER}.
from Kouichirou Hiratsuka in PR install/24995.
2004-04-12 03:49:24 +00:00
bouyer
674778a808 Some more minor fixes in text. 2004-03-29 16:08:20 +00:00
bouyer
7bba7dc5e7 Translate the remaining untranslated messages, and others small fixes. 2004-03-28 19:06:49 +00:00
mrg
79e6177746 delete these old sources. use usr.bin/gzip sources but disable a lot of
stuff: bz2 support, compress support, many non-required options.

now x_gzip supports "gzip -l" so sysinst should work for these platforms.

gzip will grow slightly - 400 or so bytes on x86 - but this is a small
price to pay for working -l support...
2004-03-28 04:10:43 +00:00
dsl
52f6f4a9de Collect the bootsel info from 'old' - since luke moved the bootsel date
to allow for a M$ disk number.
2004-03-27 20:47:33 +00:00
dsl
9bd630553a fix breakeage caused by delete of emptylabel() 2004-03-26 20:02:22 +00:00
dsl
ad184b340b Kill emptylabel() is doesn't DTRT since it doesn't know the size of the array.
Fixes breakage caused by copying oldlabel to bsdlabel for update.
Don't look for 'last mounted' in first alternate superblock.
2004-03-26 19:55:13 +00:00
dsl
3a7dc7f8e9 Generate correct internal data when reading an extended mbr partition
that has holes.
This needs the 'bios sectors per track' before it has been setup - so we
default it to the 'hardware' value.  Since both numbers are 63, and this only
affects the size of the headers on extended partitions it should be safe.
2004-03-26 17:38:44 +00:00
dsl
6e14ab5068 Copy 'oldlabel' to 'newlabel' when we read it - should mean that
sysinst 'upgrade' will find the correct filesystem type and install
the correct boot code.
Fixes PR install/24812
2004-03-26 17:28:55 +00:00
lukem
455da8e60b Move mbr_bootsel from offset 404 to offset 400 in struct mbr_sector to
leave 4 bytes for the Windows NT Drive Serial Number (DSN) at 440-443
(as mbr_sector.mbr_dsn).

Ensure that all the MBR & PBR code reserves space for mbr_sector.mbr_dsn.

Leave the bootsel magic number at 444-445 as mbr_sector.mbr_bootsel_magic
(instead of mbr_sector.mbr_bootsel.mbrbs_magic), but use 0xb5e1 (MBR_BS_MAGIC)
instead of 0xaa55 (MBR_MAGIC) to indicate that this change has occurred.

Rework MBR_BS_NEWMBR to mean "mbr_bootsel has moved to 400".

Modify fdisk(8) to automatically relocate the mbr_bootsel from 404 to 400
if mbr_bootsel_magic is the old value (0xaa55), and unset MBR_BS_NEWMBR
to flag that new mbr_bootsel code must be used if updating the MBR.


These changes fixes a problem where Windows 2000 or Windows XP would corrupt
the last 3 bytes + NUL of MBR partition 3's bootsel name if the bootsel name
was 5 characters long, replacing bytes 6-9 with the DSN.
Also, by explicitly reserving the space for the DSN we prevent problems in the
future if non bootsel MBR or PBR code had other information at bytes 440-443.
2004-03-22 07:11:00 +00:00
martin
00547f464a More language tweaks. Still needs spell checking and testing. 2004-03-08 10:44:45 +00:00
dsl
d6066102c0 Consistent capitalisation 2004-03-07 00:47:18 +00:00
dsl
82d39342cb Fix a spelling mistake and align a title properly 2004-03-07 00:40:45 +00:00
jmc
0552ea7875 Add inital stubs for sysinst. BRought over from evbppc 2004-03-05 05:36:11 +00:00
jmc
b8da873003 Add back missing } that was deleted on last commit. Now file parse correctly. 2004-03-05 05:35:16 +00:00
martin
8b97cd3587 More language tuning (not finished with this file though) 2004-03-04 23:44:16 +00:00
martin
42be584ab4 Slight tweaks, all typos are mine. 2004-03-04 19:15:30 +00:00
martin
3ad34393be Some slight language polishing. All typos are mine... 2004-03-04 15:26:02 +00:00
wiz
5de9082b5b Fix typos, add an article.
XXX: still contains untranslated messages.
2004-03-04 14:49:22 +00:00
martin
2fe4859877 Germand sysinst translation for mac68k sysinst. Someone please check
for typos ;-)
Why is this so much different than other ports?
2004-03-04 14:28:49 +00:00
martin
864712fbce No german version for x68k sysinst - it can't display iso-8859-1 characters
correctly.
2004-03-04 10:16:07 +00:00
martin
6f5bc16567 Smooth some language slightly (part a-e) 2004-03-03 22:21:05 +00:00
dsl
513ea85ff9 Fix some of the more blatent alignment problems in the german translation 2004-02-29 23:25:09 +00:00
dsl
1d320fd29f All the ports should build now... 2004-02-29 21:57:07 +00:00
dsl
0cb068544d mmm no one checked the cross builds.... 2004-02-29 21:51:11 +00:00
dsl
d714057f9c Fix typo 2004-02-29 21:48:09 +00:00
jschauma
716dbdc9a8 Add German messages for sysinst, as provided by Hernani Marques Madeira
(hernani at tuners dot ch).  Many thanks for the work!

(German speaking people: please try this out and suggest improvements.)
2004-02-29 18:46:43 +00:00
jschauma
985db8fe7c Fix some typos:
There is an valid -> There is a valid
toochain -> toolchain

Noted in private email/patch by Hernani Marques Madeira (hernani at tuners
dot ch).
2004-02-23 03:44:29 +00:00
he
e49da78c8f Add a list of files which determine the kernel version as
DISTRIBVERDEP in Makefile.distrib, and make both sysinst and
distribution notes use that information so that they rebuild
if the kernel version changes.

Distribution notes didn't have this before, sysinst had a private
(now outdated, since sys/sys/param.h now determines version) copy
of this.
2004-02-02 18:43:39 +00:00
lukem
1d92dd6bcf Add support for "xetc". 2004-01-29 08:48:23 +00:00
dsl
056e02d208 Copy over the correct entry when writing out an extended partition list
that has holes in it.
2004-01-18 16:27:25 +00:00
dsl
ddabfc4cf4 Fix sector numbers written in extended partition chin.
Don't write out dummy extended partitions for unused ares in the extended
partition.
Add some more comments - I write this and I couldn't remember how it worked.
2004-01-18 12:23:36 +00:00
lukem
c434d47afe Remove references to xcontrib and xmisc now that they've been merged
into xbase.
2004-01-17 05:30:01 +00:00
lukem
e6789de0c9 be consistent with other platforms and select xfont as well... 2004-01-17 05:29:29 +00:00
christos
9f69d1d028 Add an argument to cp_within_target that indicates if the file is optional
or really should be there. Use that for files that are not necessarily
present.
2003-12-28 05:30:47 +00:00
simonb
5f17a878b1 ANSIfy, de-__P(), minor KNF. 2003-12-22 02:05:10 +00:00
martin
eb3f00e1e9 When upgrading an old system, install new bootblocks too.
Fixes PR port-sparc64/17204.
2003-12-10 19:42:51 +00:00
agc
7db1d33cba Modify the licences of code written by Theo De Raadt from a 4-clause
to a 2-clause licence (retaining UCB clauses (1) and (2)), per PR
22409 from Joel Baker, approved by Theo de Raadt, and ratified by
myself - the only discrepancy being the handling of the original
clause 3 in src/usr.sbin/yppoll/yppoll.c.
2003-12-10 12:06:25 +00:00