summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-agl-uhmi-demo/recipes-config/uhmi-config/set-hostname.inc
blob: 9ff5339e144d1301b17a083a455806c49d552b74 (plain)
1
2
3
4
5
set_hostname() {
    UHMI_HOSTNAME=${UHMI_HOSTNAME:-agl-host}
    echo "${UHMI_HOSTNAME}" > ${IMAGE_ROOTFS}/${sysconfdir}/hostname
}
ROOTFS_POSTPROCESS_COMMAND:append = " set_hostname;"