guowenxue
2023-12-22 281a7fcd5924e749a96967393828421caea68e93
commit | author | age
849fbd 1 SUMMARY = "Update system configure files"
G 2 LICENSE = "GPL-2.0-only"
3 LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
4
5 do_install_basefilesissue:append() {
6     # Overwrite /etc/issue with a custom string
281a7f 7     printf "STE ORCHID TRANSIT CONTACTLESS READER\n" > ${D}${sysconfdir}/issue
849fbd 8
G 9     # Overwrite /etc/issue.net with a custom string
281a7f 10     printf "STE ORCHID TRANSIT CONTACTLESS READER\n" > ${D}${sysconfdir}/issue.net
849fbd 11 }
G 12
13 do_install:append() {
14     # add alias for ls with color display
15     printf "alias ls='ls --color=auto'\n" >> ${D}${sysconfdir}/profile
16 }