Get rid of useless bash dependency in the linux client script.
PATCH 3/3 Get rid of useless bash dependency in the linux client script.
--- recipes/dhcp/dhcp_3.0.1.bb | 3 ++- recipes/dhcp/dhcp_3.0.2.bb | 3 ++- recipes/dhcp/dhcp_3.1.2p1.bb | 3 ++- recipes/dhcp/files/useless-use-of-bash.patch | 8 ++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 recipes/dhcp/files/useless-use-of-bash.patch
recipes/dhcp/dhcp_3.0.1.bb +2 -1
@@ -2,10 +2,11 @@ SECTION = "console/network" DESCRIPTION = "Internet Software Consortium DHCP package" HOMEPAGE = "http://www.isc.org/" LICENSE = "BSD" -PR = "r3" +PR = "r4" SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \ file://noattrmode.patch;patch=1 \ file://fixincludes.patch;patch=1 \ + file://useless-use-of-bash.patch;patch=1 \ file://init-relay file://default-relay \ file://init-server file://default-server \ file://dhclient.conf file://dhcpd.conf"
recipes/dhcp/dhcp_3.0.2.bb +2 -1
@@ -3,10 +3,11 @@ require dhcp3.inc SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \ file://noattrmode.patch;patch=1 \ file://fixincludes.patch;patch=1 \ + file://useless-use-of-bash.patch;patch=1 \ file://dhclient-script-exit-status.dpatch;patch=1 \ file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ file://init-relay file://default-relay \ file://init-server file://default-server \ file://dhclient.conf file://dhcpd.conf" -PR = "${INC_PR}" +PR = "${INC_PR}.0"
recipes/dhcp/dhcp_3.1.2p1.bb +2 -1
@@ -2,10 +2,11 @@ require dhcp3.inc SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.1-history/dhcp-${PV}.tar.gz \ file://fixincludes.patch;patch=1 \ + file://useless-use-of-bash.patch;patch=1 \ file://dhclient-script-exit-status.dpatch;patch=1 \ file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ file://init-relay file://default-relay \ file://init-server file://default-server \ file://dhclient.conf file://dhcpd.conf" -PR = "${INC_PR}" +PR = "${INC_PR}.0"
recipes/dhcp/files/useless-use-of-bash.patch new file +8 -0
@@ -0,0 +1,8 @@ +--- dhcp-3.0.2p1/client/scripts/linux 2006-07-22 04:24:16.000000000 +0200 ++++ dhcp-3.0.2p1/client/scripts/linux 2009-11-03 17:51:55.000000000 +0100 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + # dhclient-script for Linux. Dan Halbert, March, 1997. + # Updated for Linux 2.[12] by Brian J. Murrell, January 1999. + # No guarantees about this. I'm a novice at the details of Linux
Signature · 1 line
1.6.3.1