Hey Joe, Joe wrote: > Hi! > > when building mgetty for my target, it basically works fine but fails to > use its configuration files from /etc/mgetty+sendfax. Instead, it looks > inside the host-platforms build folder. > > mgetty.log = log from ptxdists buildong process and > mgetty.ttyS2 = log showing the error when starting mgetty > > are attached. > I noticed that in mgetty,make there's a FIXME notice that mgetty doesn't > allow DESTDIR/SYSROOT, and i guess that it's related. Any pointers on > how to fix this issus?
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. 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 |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
