diff options
author | Serhii Voloshynov <serhii.voloshynov@globallogic.com> | 2022-12-08 13:16:16 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2023-01-06 08:58:08 -0600 |
commit | accf4ed098a368ca810fffa9484b01a8c5a05361 (patch) | |
tree | be135af90efbc1c51ba4cc58d158556ca24be0e3 /recipes-core | |
parent | dda1600e29d727cfc7737fc3271dbce6453867e3 (diff) | |
download | meta-mlinux-accf4ed098a368ca810fffa9484b01a8c5a05361.tar.gz meta-mlinux-accf4ed098a368ca810fffa9484b01a8c5a05361.tar.bz2 meta-mlinux-accf4ed098a368ca810fffa9484b01a8c5a05361.zip |
make omap-wdt enabled on start
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/multitech/config/config-mths/modprobe.d/omap-wdt.conf | 1 | ||||
-rw-r--r-- | recipes-core/multitech/config_2.4.bb | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/config-mths/modprobe.d/omap-wdt.conf b/recipes-core/multitech/config/config-mths/modprobe.d/omap-wdt.conf new file mode 100644 index 0000000..6bffcfe --- /dev/null +++ b/recipes-core/multitech/config/config-mths/modprobe.d/omap-wdt.conf @@ -0,0 +1 @@ +options omap-wdt early_enable=1
\ No newline at end of file diff --git a/recipes-core/multitech/config_2.4.bb b/recipes-core/multitech/config_2.4.bb index d58bec1..6d6956b 100644 --- a/recipes-core/multitech/config_2.4.bb +++ b/recipes-core/multitech/config_2.4.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" RDEPENDS_${PN} += "bash" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" PACKAGE_ARCH = "all" -PR = "r2" +PR = "r3" PACKAGES =+ "${PN}-mths" inherit update-rc.d inherit allarch @@ -62,11 +62,16 @@ fakeroot do_install () { install -m 0644 ${WORKDIR}/99_radio ${D}${sysconfdir}/default/volatiles } +fakeroot do_install_append_mtcpmhs () { + install -m 644 -D ${WORKDIR}/${CONFIGFILES_MTHS}/modprobe.d/omap-wdt.conf ${D}${sysconfdir}/modprobe.d/omap-wdt.conf +} + FILES_${PN} = "${sysconfdir}/defaults.tar.gz ${sysconfdir}/default_pass" FILES_${PN} += "${sysconfdir}/init.d/config ${sysconfdir}/default ${libexecdir}/ppp/chat_wrapper" FILES_${PN} += "${sysconfdir}/default/volatiles" FILES_${PN}-mths = "${sysconfdir}/defaults-mths.tar.gz" +FILES_${PN}_append_mtcpmhs += "${sysconfdir}/modprobe.d/omap-wdt.conf" # Create the hotspot version of defaults.tar.gz pkg_postinst_${PN}-mths() { |