diff options
Diffstat (limited to 'meta/recipes-bsp/v86d')
-rw-r--r-- | meta/recipes-bsp/v86d/v86d/uvesafb.conf | 2 | ||||
-rw-r--r-- | meta/recipes-bsp/v86d/v86d_0.1.10.bb | 14 |
2 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-bsp/v86d/v86d/uvesafb.conf b/meta/recipes-bsp/v86d/v86d/uvesafb.conf new file mode 100644 index 0000000000..43789755d3 --- /dev/null +++ b/meta/recipes-bsp/v86d/v86d/uvesafb.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | # Load uvesafb.ko at boot | ||
2 | uvesafb | ||
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.10.bb b/meta/recipes-bsp/v86d/v86d_0.1.10.bb index b980331ac3..08438bea47 100644 --- a/meta/recipes-bsp/v86d/v86d_0.1.10.bb +++ b/meta/recipes-bsp/v86d/v86d_0.1.10.bb | |||
@@ -12,6 +12,7 @@ PR = "r2" | |||
12 | SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \ | 12 | SRC_URI = "http://distfiles.gentoo.org/distfiles/${BP}.tar.bz2 \ |
13 | file://Update-x86emu-from-X.org.patch \ | 13 | file://Update-x86emu-from-X.org.patch \ |
14 | file://fbsetup \ | 14 | file://fbsetup \ |
15 | file://uvesafb.conf \ | ||
15 | file://ar-from-env.patch" | 16 | file://ar-from-env.patch" |
16 | 17 | ||
17 | SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0" | 18 | SRC_URI[md5sum] = "51c792ba7b874ad8c43f0d3da4cfabe0" |
@@ -35,8 +36,17 @@ do_install () { | |||
35 | install -d ${D}${base_sbindir} | 36 | install -d ${D}${base_sbindir} |
36 | install v86d ${D}${base_sbindir}/ | 37 | install v86d ${D}${base_sbindir}/ |
37 | 38 | ||
38 | install -d ${D}${sysconfdir}/init.d/ | 39 | # Only install fbsetup script if 'sysvinit' is in DISTRO_FEATURES |
39 | install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup | 40 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then |
41 | install -d ${D}${sysconfdir}/init.d/ | ||
42 | install -m 0755 ${WORKDIR}/fbsetup ${D}${sysconfdir}/init.d/fbsetup | ||
43 | fi | ||
44 | |||
45 | # Install systemd related configuration file | ||
46 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
47 | install -d ${D}${sysconfdir}/modules-load.d | ||
48 | install -m 0644 ${WORKDIR}/uvesafb.conf ${D}${sysconfdir}/modules-load.d | ||
49 | fi | ||
40 | } | 50 | } |
41 | 51 | ||
42 | inherit update-rc.d | 52 | inherit update-rc.d |