Skip to content
Snippets Groups Projects
Commit 9956bd93 authored by BRONES Romain's avatar BRONES Romain
Browse files

fix: Do not overwrite configuration files

* Wee need to have one put by default...
parent cc34d168
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,6 @@ INITSCRIPT_PARAMS = "defaults 50 2" ...@@ -9,8 +9,6 @@ INITSCRIPT_PARAMS = "defaults 50 2"
inherit update-rc.d inherit update-rc.d
SRC_URI = " file://fofb-init.sh" SRC_URI = " file://fofb-init.sh"
SRC_URI += " file://configuration"
SRC_URI += " file://config_register"
SRC_URI += " file://fpgaversion.sh" SRC_URI += " file://fpgaversion.sh"
SRC_URI += " file://fofb-configurator.py" SRC_URI += " file://fofb-configurator.py"
...@@ -27,11 +25,6 @@ do_install() { ...@@ -27,11 +25,6 @@ do_install() {
install -d ${D}/etc/init.d/ install -d ${D}/etc/init.d/
install -m 0755 ${WORKDIR}/fofb-init.sh ${D}/etc/init.d/fofb-init.sh install -m 0755 ${WORKDIR}/fofb-init.sh ${D}/etc/init.d/fofb-init.sh
# Write default configuration
install -d ${D}/opt/fofb/cfg/
install -m 0666 ${WORKDIR}/configuration ${D}/opt/fofb/cfg/configuration
install -m 0666 ${WORKDIR}/config_register ${D}/opt/fofb/cfg/config_register
# Add FPGA version reader and FoFb Configurator # Add FPGA version reader and FoFb Configurator
install -d ${D}/usr/bin/ install -d ${D}/usr/bin/
install -m 0755 ${WORKDIR}/fpgaversion.sh ${D}/usr/bin/fpgaversion install -m 0755 ${WORKDIR}/fpgaversion.sh ${D}/usr/bin/fpgaversion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment