]> code.ossystems Code Review - openembedded-core.git/commit
dhcp: Workaround busybox limitation in Linux dhclient-script
authorHaris Okanovic <haris.okanovic@ni.com>
Fri, 8 Nov 2019 21:46:31 +0000 (15:46 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Nov 2019 12:55:56 +0000 (12:55 +0000)
commita311013e1fd0e7b874dfe11bb3cdf4839cd91c9f
treec35dea2bdc7ede9ace8f0cc1c6795df5bed3c4fd
parent9f0e61f6ce1d945226b706f4376a762fcc636703
dhcp: Workaround busybox limitation in Linux dhclient-script

Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.

Patch submitted upstream to ISC, tracked as bug 48771.

Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/dhcp/dhcp/0001-workaround-busybox-limitation-in-linux-dhclient-script.patch [new file with mode: 0644]
meta/recipes-connectivity/dhcp/dhcp_4.4.1.bb