Ryan Raasch wrote:
> Hello,
> 
> I am trying to make a symbolic link from /etc/ppp to a writable portion
> of memory /var/ppp. However, ptxdist won't allow me to make the link.
> 
> @$(call install_link, fracturecode, /var/ppp, /etc/ppp )

you're not allowed to make absolute links. please make it a relative one.

> I did alter $PTXDIST_DIR/rules/post/install.make to not fail, and things
> went well on our target. But, when i make the install link

Its fails, because it does not work correctly if you make absolute links.

> @$(call install_link, fracturecode, var/ppp, etc/ppp )

try this:
> @$(call install_link, fracturecode, ../var/ppp, /etc/ppp)

> the plat/root directory is correct, but the generated jffs2 fs is not.
> 
> JFFS2 image :
> 
> # ls -l /etc
> lrwxrwxrwx    1 root     root           19 Sep 25  2009 ppp -> var/ppp
> 
> plat-x/root:
> 
> # ls -l /etc
> lrwxrwxrwx    1 root     root           19 Sep 25  2009 ppp -> /var/ppp

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