Re: debian-installer/utils patch
stappers@stappers.nl (Geert Stappers) writes:
> Would you mind to tell us more?
Warning: reaching end of non-void function.
exec_main has to return error codes so I pass along the result of
di_exec_full.
----------------------------------------------------------------------
Index: exec.c
===================================================================
RCS file: /cvs/debian-boot/debian-installer/utils/exec.c,v
retrieving revision 1.1
diff -u -p -r1.1 exec.c
--- exec.c 1 Oct 2003 10:43:17 -0000 1.1
+++ exec.c 5 Oct 2003 13:34:49 -0000
@@ -25,6 +25,6 @@ static int exec_parent (pid_t pid, void
int exec_main (int argc, char **argv)
{
- di_exec_full (argv[1], &argv[1], di_exec_io_log, di_exec_io_log, NULL, exec_parent, argv[1], NULL, NULL);
+ return di_exec_full (argv[1], &argv[1], di_exec_io_log, di_exec_io_log, NULL, exec_parent, argv[1], NULL, NULL);
}
----------------------------------------------------------------------
The directory debian/di-utils/bin does not exists and then utils gets
installed as debian/di-utils/bin file and the ln calls all fail.
----------------------------------------------------------------------
Index: debian/rules
===================================================================
RCS file: /cvs/debian-boot/debian-installer/utils/debian/rules,v
retrieving revision 1.20
diff -u -p -r1.20 rules
--- debian/rules 1 Oct 2003 10:43:17 -0000 1.20
+++ debian/rules 5 Oct 2003 13:34:49 -0000
@@ -32,7 +32,8 @@ install: build
dh_testroot
dh_clean -k
dh_installdirs
- install utils debian/di-utils/bin
+ mkdir -p debian/di-utils/bin
+ install utils debian/di-utils/bin/utils
ln -s utils debian/di-utils/bin/exec
ln -s utils debian/di-utils/bin/mapdevfs
ln -s utils debian/di-utils/bin/shell
----------------------------------------------------------------------
Nothing inventive in there.
MfG
Goswin
Reply to: