guowenxue
10 days ago a67115c607aab9aac6a9f74f10265de40007661a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "Update system configure files"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
 
do_install_basefilesissue:append() {
    # Overwrite /etc/issue with a custom string
    printf "Welcome to LingYun IoT Gateway Kits Board GNU/Linux Yocto System!\n" > ${D}${sysconfdir}/issue
 
    # Overwrite /etc/issue.net with a custom string
    printf "Welcome to LingYun IoT Gateway Kits Board GNU/Linux Yocto System!\n" > ${D}${sysconfdir}/issue.net
}
 
do_install:append() {
    # add alias for ls with color display
    printf "alias ls='ls --color=auto'\n" >> ${D}${sysconfdir}/profile
}