blob: 2af9c5f8e1d8664633e5cb121db0f8e24f6d8176 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
FILESEXTRAPATHS := "${THISDIR}/${PN}"
SRC_URI_append_vexpressa9 = " file://securetty-vea9"
python do_add_ports () {
if ((d.getVar("MACHINE", True) or "").find("vexpressa9") != -1):
conf=d.getVar("WORKDIR", True)
conf += "/securetty"
aconf=d.getVar("WORKDIR", True)
aconf += "/securetty-vea9"
fin = open(aconf, "r")
data = fin.read()
fin.close()
fout = open(conf, "a")
fout.write(data)
fout.close()
}
addtask do_add_ports after do_patch before do_configure
|