diff options
| author | Samuli Piippo <samuli.piippo@digia.com> | 2014-01-23 13:36:37 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@digia.com> | 2014-01-30 12:16:59 +0200 |
| commit | 20a3734c0da057a51aadc89e3dba163367611dc5 (patch) | |
| tree | d12c2482dc7faccd3cb25220ac1d22d8173c70e9 /classes | |
| parent | c3918d45cd6ae9601d99bf695d8672f2fc7f1f1e (diff) | |
| download | meta-boot2qt-20a3734c0da057a51aadc89e3dba163367611dc5.tar.gz | |
upgrade emulator components
- kernel 3.10
- LLVM 3.3
- mesa 9.1.6
Change-Id: Ib15c6826ab480e39e4efb7a16d42030b55ad6c3b
Reviewed-by: Samuli Piippo <samuli.piippo@digia.com>
Diffstat (limited to 'classes')
| -rw-r--r-- | classes/image-hdd.bbclass | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/classes/image-hdd.bbclass b/classes/image-hdd.bbclass index 123c417..fb59c20 100644 --- a/classes/image-hdd.bbclass +++ b/classes/image-hdd.bbclass | |||
| @@ -29,32 +29,17 @@ SYSLINUX_PROMPT = "0" | |||
| 29 | SYSLINUX_TIMEOUT = "1" | 29 | SYSLINUX_TIMEOUT = "1" |
| 30 | SYSLINUX_LABELS = "boot" | 30 | SYSLINUX_LABELS = "boot" |
| 31 | LABELS_append = " ${SYSLINUX_LABELS} " | 31 | LABELS_append = " ${SYSLINUX_LABELS} " |
| 32 | SYSLINUX_DEFAULT_CONSOLE = "console=ttyS0,115200" | ||
| 32 | 33 | ||
| 33 | inherit image_types boot-directdisk | 34 | inherit image_types boot-directdisk |
| 34 | 35 | ||
| 35 | create_hdd_image () { | 36 | create_hdd_image () { |
| 36 | ln -s ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd | 37 | ln -fs ${IMAGE_NAME}.hdddirect ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.hdd |
| 37 | } | 38 | } |
| 38 | 39 | ||
| 39 | python do_hddimg() { | 40 | python do_hddimg() { |
| 40 | bb.build.exec_func('create_hdd_image', d) | 41 | bb.build.exec_func('create_hdd_image', d) |
| 41 | } | 42 | } |
| 42 | 43 | ||
| 43 | python build_syslinux_cfg_append () { | ||
| 44 | import re | ||
| 45 | |||
| 46 | try: | ||
| 47 | cfgfile = file(cfile, 'r+') | ||
| 48 | except OSError: | ||
| 49 | raise bb.build.funcFailed('Unable to open %s' % (cfile)) | ||
| 50 | |||
| 51 | f_content = cfgfile.read() | ||
| 52 | f_content = re.sub('tty0', 'ttyS0,115200', f_content) | ||
| 53 | |||
| 54 | cfgfile.seek(0) | ||
| 55 | cfgfile.write(f_content) | ||
| 56 | cfgfile.close() | ||
| 57 | } | ||
| 58 | |||
| 59 | addtask hddimg after do_bootdirectdisk before do_build | 44 | addtask hddimg after do_bootdirectdisk before do_build |
| 60 | do_hddimg[nostamp] = "1" | 45 | do_hddimg[nostamp] = "1" |
