- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
24 lines
658 B
BlitzBasic
24 lines
658 B
BlitzBasic
SUMMARY = "Provides an icon to shut down the system cleanly"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
SRC_URI = "file://shutdown.desktop"
|
|
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${datadir}/applications
|
|
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
|
|
|
|
sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#'
|
|
}
|
|
|
|
pkg_postinst:${PN} () {
|
|
grep -q qemuarm $D${sysconfdir}/hostname && \
|
|
sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \
|
|
|| true
|
|
}
|
|
|
|
inherit allarch
|