mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning:
| WARNING: packagegroup-xfce-base-1.0-r5 do_populate_lic:
${COREBASE}/LICENSE is not a valid license file, please use
'${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.
This will become an error in the future
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
18 lines
505 B
BlitzBasic
18 lines
505 B
BlitzBasic
SUMMARY = "Meta package adding machine name to known hosts"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
|
|
LOCALHOSTMACHINE = "127.0.0.1 ${MACHINE}"
|
|
|
|
# on some machines starting applications as xfce4-terminal take ages without
|
|
# machine name in hosts
|
|
pkg_postinst_${PN} () {
|
|
if ! grep -q '${LOCALHOSTMACHINE}' $D/etc/hosts ; then
|
|
echo '${LOCALHOSTMACHINE}' >> $D/etc/hosts
|
|
fi
|
|
}
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|