[OE-core] [PATCH V2 0/2] dhcp-client: fix invoke dhclient-script failed on Read-only file system

Hongxu Jia hongxu.jia at windriver.com
Tue Dec 3 13:46:57 UTC 2013


Change in V2:
* we should *never* check IMAGE_FEATURES in individual recipes.
  Two reasons:
  1) It may cause unnecessary rebuilds.
  2) IMAGE_FEATURES may be set in <image>.bb instead of local.conf.

* The make_resolv_conf function in that script doesn't take into
  consideration the situation in which /etc/resolv.conf is a symlink
  to /var/run/resolv.conf.

The following changes since commit a17ffbdbb7d142a94ef842a32b749b18e2e7f0a1:

  bitbake: hob: fix rotating progress icon animation (2013-12-02 17:51:35 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib hongxu/fix-dhcpclient
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-dhcpclient

Hongxu Jia (2):
  dhclient-script: let resolv.conf and resolv.conf.dhclient on the same
    direcotry
  dhclient-script: override make_resolv_conf for read-only fs

 meta/recipes-connectivity/dhcp/dhcp.inc            |  7 +-
 ...ript-let-resolv.conf-and-resolv.conf.dhcl.patch | 74 ++++++++++++++++++++++
 .../dhcp/files/readonly-dhclient-enter-hooks       | 31 +++++++++
 3 files changed, 111 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-connectivity/dhcp/dhcp/dhclient-script-let-resolv.conf-and-resolv.conf.dhcl.patch
 create mode 100644 meta/recipes-connectivity/dhcp/files/readonly-dhclient-enter-hooks

-- 
1.8.1.2



More information about the Openembedded-core mailing list