aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/net-kexec/net-kexec_1.0.bb
blob: 4de0f0a225f386cf8c56864d17bedef4db3d6237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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"