mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 20:59:03 +02:00

This installs a script which is able to kexec a kernel through the network from user space. As the proprietary bootloader is limited and does not offer such a feature, this is a good alternative for developers.
21 lines
534 B
BlitzBasic
21 lines
534 B
BlitzBasic
# Copyright (C) 2014 Romain Perier <romain.perier@gmail.com>
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
SUMMARY = "Extremely basic script to kexec over the network"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
SRC_URI = "file://net-kexec.sh"
|
|
|
|
PR = "r1"
|
|
|
|
RDEPENDS_${PN} += "kexec"
|
|
|
|
do_install() {
|
|
install -d ${D}/sbin
|
|
install -m 0755 ${WORKDIR}/net-kexec.sh ${D}/sbin/net-kexec
|
|
}
|
|
|
|
inherit allarch
|
|
|
|
FILES_${PN} += "/sbin/net-kexec"
|