1994-10-15 15:34:49 +01:00
|
|
|
PROG = sysinstall
|
|
|
|
MANEXT = 1
|
|
|
|
NOMAN= yet
|
1995-02-26 20:39:40 +00:00
|
|
|
CLEANFILES= makedevs.c rtermcap
|
1994-10-15 15:34:49 +01:00
|
|
|
|
1995-01-14 02:20:42 +00:00
|
|
|
.PATH: ${.CURDIR}/../disklabel
|
1994-10-15 15:34:49 +01:00
|
|
|
|
1994-12-27 23:26:59 +00:00
|
|
|
SRCS = exec.c dkcksum.c label.c main.c mbr.c \
|
1995-02-13 06:52:16 +00:00
|
|
|
stage0.c stage1.c stage2.c stage3.c stage5.c \
|
Public apology:
I have walked all over Paul Richards code again, and severely lobotomized
some of his stuff, in order to cut some corners for the 2.0-Alpha release.
I belive that we can now manipulate fdisk and disklabel-stuff sufficiently
for the release to actually be produced.
It's not that I don't like Paul and his code, I just need something I
can kick out of the door RSN.
Sysinstall is now under absolute code-freeze, only Jordan has my permission
to commit to this code (stage0 & 5). I would appreciate if everybody
else would finds problems in sysinstall send patches to me, and I will
commit them. THANKYOU.
The fdisk/disklabel editors are made in pure ncurses, and follow a model
"a`la spreadsheet".
There are some important functions which are missing still, and I would
appreciate if somebody would look at them.
The FDISK part needs a "whole-disk" option, and it needs a "rewrite
MBR-boot code" option.
The DISKLABEL part needs to be able to "import DOS-partition".
Both need a "HELP" function, (display a file "/HELP" using dialog is OK).
It seems to me like the wd.c and sd.c should reread the physical record
when a DIOCGDINFO is made, so that they can pick up changes in the
MBR-data. Otherwise there will be a couple of weird cases where we
cannot avoid replicating code from the kernel.
If you want to play with this, look at src/release/Makefile. You may need
to step back to version 1.38 of sys/i386/isa/fd.c to make "rootable"
floppies, it is not clear at this time if that indeed is the problem I
have been having.
Sleep well, my friends, and expect the real Alpha in 24H, if the tree is
still solid.
1994-11-01 10:10:43 +00:00
|
|
|
termcap.c utils.c makedevs.c ourcurses.c
|
1994-10-15 15:34:49 +01:00
|
|
|
|
1994-12-27 23:26:59 +00:00
|
|
|
CFLAGS += -Wall -g -static
|
1994-11-19 05:20:13 +00:00
|
|
|
LDADD = -ldialog -lncurses -lmytinfo
|
1994-10-16 03:25:54 +01:00
|
|
|
DPADD = ${LIBDIALOG} ${LIBNCURSES} ${LIBMYTINFO}
|
1994-10-15 15:34:49 +01:00
|
|
|
|
1995-02-01 11:15:45 +00:00
|
|
|
.if exists(${.CURDIR}/../../sys/i386/boot/biosboot/obj)
|
|
|
|
BOOTS=${.CURDIR}/../../sys/i386/boot/biosboot/obj
|
|
|
|
.else
|
|
|
|
BOOTS=${.CURDIR}/../../sys/i386/boot/biosboot
|
|
|
|
.endif
|
|
|
|
|
1995-02-26 20:39:40 +00:00
|
|
|
makedevs.c: dev2c.sh Makefile rtermcap
|
1995-01-28 09:17:58 +00:00
|
|
|
mkdir -p dev
|
1995-01-29 01:25:17 +00:00
|
|
|
cp ${.CURDIR}/../../etc/etc.i386/MAKEDEV dev
|
1995-01-29 01:45:54 +00:00
|
|
|
( cd dev; sh ./MAKEDEV all )
|
1995-01-29 02:31:38 +00:00
|
|
|
sh ${.CURDIR}/dev2c.sh dev > makedevs.tmp
|
1995-01-28 09:17:58 +00:00
|
|
|
rm -rf dev
|
1995-01-29 02:31:38 +00:00
|
|
|
uudecode < ${.CURDIR}/bteasy17.uu
|
1995-02-13 06:52:16 +00:00
|
|
|
file2c 'const unsigned char boot0[] = {' '};' \
|
|
|
|
< bteasy17 >> makedevs.tmp
|
1995-01-29 02:31:38 +00:00
|
|
|
rm -rf bteasy17
|
1995-02-13 06:52:16 +00:00
|
|
|
file2c 'const unsigned char boot1[] = {' '};' \
|
|
|
|
< ${BOOTS}/boot1 >> makedevs.tmp
|
|
|
|
file2c 'const unsigned char boot2[] = {' '};' \
|
|
|
|
< ${BOOTS}/boot2 >> makedevs.tmp
|
1995-02-26 20:39:40 +00:00
|
|
|
./rtermcap cons25 | \
|
1995-01-29 02:31:38 +00:00
|
|
|
file2c 'const char termcap_cons25[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-02-26 20:39:40 +00:00
|
|
|
./rtermcap cons25-m | \
|
1995-01-29 02:31:38 +00:00
|
|
|
file2c 'const char termcap_cons25_m[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
1995-02-26 20:39:40 +00:00
|
|
|
./rtermcap vt100 | \
|
1995-01-29 02:31:38 +00:00
|
|
|
file2c 'const char termcap_vt100[] = {' ',0};' \
|
|
|
|
>> makedevs.tmp
|
|
|
|
mv makedevs.tmp makedevs.c
|
1994-10-26 02:53:15 +00:00
|
|
|
|
1995-02-26 20:39:40 +00:00
|
|
|
rtermcap: ${.CURDIR}/rtermcap.c
|
|
|
|
${CC} -o rtermcap ${.CURDIR}/rtermcap.c -ltermcap
|
|
|
|
|
1994-10-15 15:34:49 +01:00
|
|
|
.include <bsd.prog.mk>
|
1994-10-26 02:53:15 +00:00
|
|
|
|