Joe wrote:
> Marc Kleine-Budde wrote:
>> It's probably due to the
>> "sed -i -e "s,^prefix.*=.*,prefix=$(SYSROOT),g" $$file; \" in the
>> mgetty.make file.
>>
>> Have a look at the "build-target/mgetty-1.1.30/Makefile" file. Set
>> "prefix" to /usr and "CONFDIR" to /etc/mgetty+sendfax. Put this into a
>> patch.
>>
>> Then fix the installation procedure.
>>
>> A better approach is to first import the current debian patches for
>> mgetty and then start hacking.
> 
> At the I have combined the two: updated the .make file to use the debian
> source and patches and set prefix and CONFDIR accordingly. Seems to work
> pretty fine without tweaking installation. Given some more testing, I
> probably will provide patches tomorrow.

sounds good

> Just one more little question: to use ppp from mgetty, the pppd must be
> suid root. How to archive this (from the ppp.make file)?

just change the mod field accordingly, make it configureable, please.
see busybox for example. (BTW: set{u,g}id doesn't work over nfsroot)

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
[email protected]

Reply via email to