meta-facebook: remove .sh suffix for scripts

Scripts and executables should not have a language-based extension
in order to simplify user operations and to avoid excessive refactoring
when rewrites are done.  Remove all `.sh` extensions on scripts.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I408fa0f31e6064c0ce3c1559a4182cd625e91f21
diff --git a/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/bios-update.sh b/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/bios-update
similarity index 100%
rename from meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/bios-update.sh
rename to meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/bios-update
diff --git a/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service b/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
index 7e09890..7d1dc08 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
+++ b/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
@@ -4,4 +4,4 @@
 [Service]
 Type=oneshot
 RemainAfterExit=no
-ExecStart=/usr/sbin/bios-update.sh /tmp/images/%i
+ExecStart=/usr/sbin/bios-update /tmp/images/%i
diff --git a/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager_%.bbappend b/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
index 047f019..6dd496f 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
+++ b/meta-facebook/meta-harma/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
@@ -1,10 +1,10 @@
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-SRC_URI += "file://bios-update.sh"
+SRC_URI += "file://bios-update"
 
 PACKAGECONFIG:append = " flash_bios"
 RDEPENDS:${PN} += "bash"
 
 do_install:append() {
     install -d ${D}/${sbindir}
-    install -m 0755 ${WORKDIR}/bios-update.sh ${D}/${sbindir}/
+    install -m 0755 ${WORKDIR}/bios-update ${D}/${sbindir}/
 }
diff --git a/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/bios-update.sh b/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/bios-update
similarity index 100%
rename from meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/bios-update.sh
rename to meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/bios-update
diff --git a/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service b/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
index 7e09890..7d1dc08 100644
--- a/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
+++ b/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/obmc-flash-host-bios@.service
@@ -4,4 +4,4 @@
 [Service]
 Type=oneshot
 RemainAfterExit=no
-ExecStart=/usr/sbin/bios-update.sh /tmp/images/%i
+ExecStart=/usr/sbin/bios-update /tmp/images/%i
diff --git a/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager_%.bbappend b/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
index 047f019..6dd496f 100644
--- a/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
+++ b/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager_%.bbappend
@@ -1,10 +1,10 @@
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-SRC_URI += "file://bios-update.sh"
+SRC_URI += "file://bios-update"
 
 PACKAGECONFIG:append = " flash_bios"
 RDEPENDS:${PN} += "bash"
 
 do_install:append() {
     install -d ${D}/${sbindir}
-    install -m 0755 ${WORKDIR}/bios-update.sh ${D}/${sbindir}/
+    install -m 0755 ${WORKDIR}/bios-update ${D}/${sbindir}/
 }
diff --git a/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/fb-powerctrl_0.1.bb b/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/fb-powerctrl_0.1.bb
index 21bd220..0af04f1 100644
--- a/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/fb-powerctrl_0.1.bb
+++ b/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/fb-powerctrl_0.1.bb
@@ -6,7 +6,7 @@
 RDEPENDS:${PN} += "bash"
 
 SRC_URI += " \
-    file://setup_gpio.sh \
+    file://setup_gpio \
     file://power-util \
     file://host-gpio.service \
     file://host-poweroff.service \
@@ -23,6 +23,6 @@
 
 do_install() {
     install -d ${D}/usr/sbin
-    install -m 0755 ${S}/setup_gpio.sh ${D}/${sbindir}/
+    install -m 0755 ${S}/setup_gpio ${D}/${sbindir}/
     install -m 0755 ${S}/power-util ${D}/${sbindir}/
 }
diff --git a/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/host-gpio.service b/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/host-gpio.service
index 82ba12e..758de9f 100644
--- a/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/host-gpio.service
+++ b/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/host-gpio.service
@@ -5,5 +5,5 @@
 Restart=no
 RemainAfterExit=true
 Type=oneshot
-ExecStart=/usr/sbin/setup_gpio.sh
-SyslogIdentifier=setup_gpio.sh
+ExecStart=/usr/sbin/setup_gpio
+SyslogIdentifier=setup_gpio
diff --git a/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/setup_gpio.sh b/meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/setup_gpio
similarity index 100%
rename from meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/setup_gpio.sh
rename to meta-facebook/meta-tiogapass/recipes-tiogapass/fb-powerctrl/files/setup_gpio
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/mctp-config.sh b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/mctp-config
similarity index 100%
rename from meta-facebook/meta-yosemite4/recipes-networking/mctp/files/mctp-config.sh
rename to meta-facebook/meta-yosemite4/recipes-networking/mctp/files/mctp-config
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs.sh b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs
similarity index 100%
rename from meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs.sh
rename to meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-local-eid.conf b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-local-eid.conf
index 299ccf2..2856ea9 100644
--- a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-local-eid.conf
+++ b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-local-eid.conf
@@ -3,6 +3,6 @@
 Requires=xyz.openbmc_project.EntityManager.service
 
 [Service]
-ExecStartPre=-/usr/libexec/mctp/mctp-config.sh
+ExecStartPre=-/usr/libexec/mctp/mctp-config
 Restart=always
 RestartSec=10
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.sh b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints
similarity index 92%
rename from meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.sh
rename to meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints
index be922d6..a4c9aba 100644
--- a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.sh
+++ b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints
@@ -4,8 +4,8 @@
 # the gpio pin is occupied by gpio-monitor, read the value from
 # gpioget is not possible.
 
-# shellcheck source=meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs.sh
-. /usr/libexec/mctp/nic-gpio-addrs.sh
+# shellcheck source=meta-facebook/meta-yosemite4/recipes-networking/mctp/files/nic-gpio-addrs
+. /usr/libexec/mctp/nic-gpio-addrs
 
 # Setup slot1 NIC
 gpio_val=$(devmem "$PRSNT_NIC0" "$WIDTH")
diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.conf b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.conf
index e629739..4e59295 100644
--- a/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.conf
+++ b/meta-facebook/meta-yosemite4/recipes-networking/mctp/files/setup-static-endpoints.conf
@@ -3,6 +3,6 @@
 Requires=mctpd.service

 

 [Service]

-ExecStartPost=-/usr/libexec/mctp/setup-static-endpoints.sh

+ExecStartPost=-/usr/libexec/mctp/setup-static-endpoints

 Restart=always

 RestartSec=10

diff --git a/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend b/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
index b97697d..077f1b4 100644
--- a/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
+++ b/meta-facebook/meta-yosemite4/recipes-networking/mctp/mctp_%.bbappend
@@ -3,9 +3,9 @@
 SRC_URI += " \
     file://setup-local-eid.conf \
     file://setup-static-endpoints.conf \
-    file://mctp-config.sh \
-    file://setup-static-endpoints.sh \
-    file://nic-gpio-addrs.sh \
+    file://mctp-config \
+    file://setup-static-endpoints \
+    file://nic-gpio-addrs \
 "
 
 FILES:${PN} += "${systemd_system_unitdir}/*"
@@ -21,10 +21,10 @@
 
     install -d ${D}${libexecdir}/mctp
 
-    install -m 0755 ${WORKDIR}/mctp-config.sh \
+    install -m 0755 ${WORKDIR}/mctp-config \
             ${D}${libexecdir}/mctp/
-    install -m 0755 ${WORKDIR}/setup-static-endpoints.sh \
+    install -m 0755 ${WORKDIR}/setup-static-endpoints \
             ${D}${libexecdir}/mctp/
-    install -m 0755 ${WORKDIR}/nic-gpio-addrs.sh \
+    install -m 0755 ${WORKDIR}/nic-gpio-addrs \
             ${D}${libexecdir}/mctp/
 }
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint
similarity index 100%
rename from meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint.sh
rename to meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/configure-nic-mctp-endpoint
diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/remove-nic-endpoint-slot@.service b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/remove-nic-endpoint-slot@.service
index d16ba2f..90a4b40 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/remove-nic-endpoint-slot@.service
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/remove-nic-endpoint-slot@.service
@@ -3,6 +3,6 @@
 

 [Service]

 Type=oneshot

-ExecStart=/usr/bin/configure-nic-mctp-endpoint.sh remove %i

+ExecStart=/usr/bin/configure-nic-mctp-endpoint remove %i

 SyslogIdentifier=remove-nic-endpoint-slot%i

 

diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service
index db06940..c030a9a 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/setup-nic-endpoint-slot@.service
@@ -3,6 +3,6 @@
 

 [Service]

 Type=oneshot

-ExecStart=/usr/bin/configure-nic-mctp-endpoint.sh add %i

+ExecStart=/usr/bin/configure-nic-mctp-endpoint add %i

 SyslogIdentifier=setup-nic-endpoint-slot%i

 

diff --git a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
index 09972a6..ca442c7 100644
--- a/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
+++ b/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
@@ -3,7 +3,7 @@
 inherit obmc-phosphor-systemd systemd
 
 SRC_URI += "file://yosemite4-phosphor-multi-gpio-monitor.json \
-            file://configure-nic-mctp-endpoint.sh \
+            file://configure-nic-mctp-endpoint \
             file://setup-nic-endpoint-slot@.service \
             file://remove-nic-endpoint-slot@.service \
             file://set-button-sled.service \
@@ -78,5 +78,5 @@
     install -m 0755 ${WORKDIR}/enable-i3c-hub ${D}${libexecdir}/${PN}/
     install -m 0755 ${WORKDIR}/disable-i3c-hub ${D}${libexecdir}/${PN}/
     install -d ${D}/${bindir}
-    install -m 0755 ${WORKDIR}/configure-nic-mctp-endpoint.sh ${D}/${bindir}/
+    install -m 0755 ${WORKDIR}/configure-nic-mctp-endpoint ${D}/${bindir}/
 }
diff --git a/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/ipmb-rescan-fru.sh b/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/ipmb-rescan-fru
similarity index 100%
rename from meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/ipmb-rescan-fru.sh
rename to meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/ipmb-rescan-fru
diff --git a/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc-ipmb-rescan-fru.service b/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc-ipmb-rescan-fru.service
index 4c71b03..c7a5b91 100644
--- a/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc-ipmb-rescan-fru.service
+++ b/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor/obmc-ipmb-rescan-fru.service
@@ -3,4 +3,4 @@
 
 [Service]
 Type=oneshot
-ExecStart=/usr/libexec/phosphor-gpio-monitor/ipmb-rescan-fru.sh
+ExecStart=/usr/libexec/phosphor-gpio-monitor/ipmb-rescan-fru
diff --git a/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend b/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
index 294fa42..4a28bc2 100644
--- a/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
+++ b/meta-facebook/recipes-phosphor/gpio/phosphor-gpio-monitor_%.bbappend
@@ -2,7 +2,7 @@
 
 SRC_URI:append:fb-compute-multihost = " file://phosphor-multi-gpio-monitor.json"
 SRC_URI:append:fb-compute-multihost = " file://obmc-ipmb-rescan-fru.service"
-SRC_URI:append:fb-compute-multihost = " file://ipmb-rescan-fru.sh"
+SRC_URI:append:fb-compute-multihost = " file://ipmb-rescan-fru"
 
 RDEPENDS:${PN} += "bash"
 
@@ -24,6 +24,6 @@
                     ${D}${systemd_system_unitdir}
 
     install -d ${D}${libexecdir}/phosphor-gpio-monitor
-    install -m 0755 ${WORKDIR}/ipmb-rescan-fru.sh ${D}${libexecdir}/phosphor-gpio-monitor/
+    install -m 0755 ${WORKDIR}/ipmb-rescan-fru ${D}${libexecdir}/phosphor-gpio-monitor/
 }
 FILES:${PN} += "${systemd_system_unitdir}/obmc-ipmb-rescan-fru.service"