meta-google: gbmc-ncsi-config: Rename address clear rules
This ensures they are run prior to running other DHCP configuration
logic.
Change-Id: I0180414bbc291ea49e548a312cd2b713344613e1
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb b/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
index 6e25824..0312f05 100644
--- a/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
+++ b/meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb
@@ -20,7 +20,7 @@
file://gbmc-ncsi-br-pub-addr.sh.in \
file://gbmc-ncsi-br-deprecated-ips.sh.in \
file://gbmc-ncsi-set-nicenabled.service.in \
- file://gbmc-ncsi-clear-ip.sh.in \
+ file://25-gbmc-ncsi-clear-ip.sh.in \
"
S = "${WORKDIR}"
@@ -109,9 +109,9 @@
dhcpdir=${D}${datadir}/gbmc-br-dhcp/
install -d -m0755 $dhcpdir
- sed "s,@NCSI_IF@,$if_name,g" ${WORKDIR}/gbmc-ncsi-clear-ip.sh.in \
- >${WORKDIR}/gbmc-ncsi-clear-ip.sh
- install -m644 ${WORKDIR}/gbmc-ncsi-clear-ip.sh $dhcpdir
+ sed "s,@NCSI_IF@,$if_name,g" ${WORKDIR}/25-gbmc-ncsi-clear-ip.sh.in \
+ >${WORKDIR}/25-gbmc-ncsi-clear-ip.sh
+ install -m644 ${WORKDIR}/25-gbmc-ncsi-clear-ip.sh $dhcpdir
sed "s,@NCSI_IF@,$if_name,g" ${WORKDIR}/gbmc-ncsi-set-nicenabled.service.in \
>${D}${systemd_system_unitdir}/gbmc-ncsi-set-nicenabled.service