devnodes-minimal: new recipe to create /dev/console and /dev/null
[opendreambox.git] / meta-opendreambox / recipes-core / devnodes-minimal / devnodes-minimal_1.0.bb
1 SUMMARY = "Static device nodes needed before devtmpfs"
2 LICENSE = "MIT"
3 LIC_FILES_CHKSUM = "file://${OPENDREAMBOX_BASE}/LICENSE;md5=ed920ea8b6701825484d079e87a3a73a"
4
5 inherit allarch
6
7 do_install() {
8         install -d ${D}/dev
9         mknod -m 600 ${D}/dev/console c 5 1
10         mknod -m 666 ${D}/dev/null c 1 3
11 }
12
13 FILES_${PN} = "/dev/"