Re: [klibc] [PATCH 2/2] readlink: Add -f option

2014-09-28 Thread Thorsten Glaser
Ben Hutchings dixit: >This is needed to support mounting non-root filesystems in >initramfs-tools. As an alternative, you can use mksh (built against klibc) which has a “realpath” builtin. It just takes one argument, the path to resolve, and no flags. bye, //mirabilos -- > Wish I had pine to ha

[PATCH 2/2] readlink: Add -f option

2014-09-27 Thread Ben Hutchings
This is needed to support mounting non-root filesystems in initramfs-tools. Signed-off-by: Ben Hutchings --- initramfs-tools 0.117 only works with busybox; this should allow it to work with klibc again. Ben. --- a/usr/utils/readlink.c +++ b/usr/utils/readlink.c @@ -7,24 +7,45 @@ const char *pro