Re: [PATCH] Don't use absolute path for ip, does not always work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Victor Lowther wrote:
On Jun 5, 2009, at 12:27 PM, Bill Nottingham <notting@xxxxxxxxxx> wrote:

Victor Lowther (victor.lowther@xxxxxxxxx) said:
Why does it not always work, unless you're breaking your initramfs?

What if your distro does not put ip in /sbin?

I was under the impression that the generation already put it in
a known place, in which case there's no reason to worry about it
being elsewhere. I checked again, and that's not the case.

I should hope so, otherwise writing the install code to be as distro agnostic as feasible was all for naught. :)

I guess I should have formulated my post better.

ip get's copied in, no worries. dracut_install ip works perfectly. Since it looks everywhere sensible for the utility if no path is provided.

Problem is that debian puts ip in /bin not /sbin. So the code almost always works, except for debian.

Regards,
Philippe
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux