summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash/psplash_git.bb
AgeCommit message (Collapse)Author
2020-02-25psplash: add systemd supportStefan Agner
Make use of the recently added systemd support in psplash. The utility psplash-systemd communicates boot progress to the splash screen. The splash is disabled once systemd consideres the system fully booted (progress is at 1.0). Note that this can take a while if systemd is stuck on a failing unit. This change adds two systemd services. One service starts psplash itself (psplash-start.service) and the second service starts the helper utility psplash-systemd (psplash-systemd.service). The units are written such that psplash-systemd.service can be used indepenendenly. This is useful when starting psplash in initramfs (not using systemd). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-20psplash: create psplash tmpfs mount directory in psplash-initStefan Agner
The psplash binary uses TMPDIR as directory to store the FIFO to communicate with the psplash tools. This directory can be in any location an init system determines to be suitable, psplash-init uses /mnt/ for it. Rather than creating the mount directory in the recipe, just create it in the init script itself. This allows other init scripts to use a different location without having an unnecessary .psplash directory in /mnt. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-03psplash: improve make-image-header.sh callStefan Agner
Simplify make-image-header.sh call and make sure it gets called in the current working directory. Also check the return value of the function call. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-08-23psplash: Clean up getstatusoutput usageRobert Yang
Replace usage of oe.utils.getstatusoutput() with direct subprocess calls. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-29oe-core: take UPSTREAM_CHECK_COMMITS into use where possibleAlexander Kanavin
This greatly reduces the amount of recipes for which upstream version check fails: from about 30 to about 8. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-09-11psplash: upgrade to latest git revisionRoss Burton
Non-housekeeping commits: 2015f70 Fix text width calculation. 5b3c1cc Add --fbdev option to psplash like --rotation. 505aeca psplash: fix remaining unused-parameter warnings e3e0ab4 psplash: remove unused parameter length from parse_command 121720e psplash-fb: remove unused parameter from psplash_fb_text_size 9f6baa6 psplash-fb: fix sign-compare warning Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-08-16selftest: fix distrodata.py to use per-recipe UPSTREAM_VERSION_UNKNOWN settingAlexander Kanavin
... instead of a global exception list which was problematic. [YOCTO #11896] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-19psplash: Add PACKAGE_WRITE_DEPS for postinstRichard Purdie
The postinstall needs systemd-systemctl-native, mark the dependency Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-12-16meta: remove True option to getVar callsJoshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-12-01psplash: update to latest git versionJuro Bystricky
Latest git version contains various changes, including fix for big endian RGB888 rendering. It also makes the patch: "0001-psplash-fb-Convert-psplash_fb_plot_pixel-to-a-static.patch" unnecessary, as this patch has been upstreamed. [YOCTO#7236] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-30psplash: Turn psplash_fb_plot_pixel() into static inlineKhem Raj
This function is not used anywhere except psplash-fb.c so make it static inline function which is portable across compilers Fixes issues like psplash-fb.o: In function `psplash_fb_draw_rect': | /mnt/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-glibc/work/i586-oe-linux/psplash/0.1+gitAUTOINC+14c8f7b705-r15/git/psplash-fb.c:363: undefined reference to `psplash_fb_plot_pixel' (From OE-Core rev: 2429932c2dc1f81bf04f4377911094e2c8a04a19) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-11-06psplash: update to latest git versionPaul Eggleton
Include two enhancement patches from Olaf Mandel <o.mandel@menlosystems.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-03psplash: mask psplash in case of systemdChen Qi
We need to prevent the psplash init script from running via systemd because the script is supposed to be used by sysvinit system and it doesn't have any real effect in a systemd based system. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-20recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues (part 2)Matthieu Crapet
Completes previous commit b5292d4115a4555a66b5e35acdc67dd71fb8577f. Updates SUMMARY[doc] (meta/conf/documentation.conf). Changes: - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-30psplash: copy image files from workdir instead of next to recipePaul Eggleton
During parsing this recipe builds up a list of splash image files, however it was recording full paths to local files (i.e. the files next to the recipe) and then in do_compile it was pointing to those instead of the fetched files in WORKDIR. Fix it to use the fetched files which has the added benefit of the do_compile signature not changing if the recipe is moved around. Fixes [YOCTO #5250]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30remove the unnecessary protocol parametersJackie Huang
It's not necessary to specify the protocol parameter when it's the default protocol for the fetcher, e.g. the default protocol for git fetcher it git, "protocol=git" isn't needed. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-24Sync with PRINC removal from meta-intelRichard Purdie
PRINC usage is removed from meta-intel, bump core PR values to ensure no version regressions. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-21psplash: Bump PR to allow removal of PRINC from meta-yoctoRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09classes/lib: Fix getcmdstatus breakageRichard Purdie
I mistakenly thought subprocess had getcmdstatus in python 2. It doesn't so lets add a wrapper and have this work in both worlds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09sanity/patch.py: Remove commands module usageRichard Purdie
The commands module is removed in python3. Use the subprocess module instead and the pipes module to replace the mkargs usage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18psplash: Fix multilib buildRichard Purdie
The update-alternatives for multilibs are broken and nothing provides psplash in a multilib build. This fixes the multilib code. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27psplash_git.bb: fix do_compile by correcting the script pathNitin A Kamble
The recent change in the builddir location is breaking this recipe as it is trying to run a script (make-image-header.sh) located in sourcedir from builddir. As the script does not gets to run, the resulting file is not generated causing error as seen below. This commit fixes the issue, by providing complete path of the script. This commit fixes this build error: ERROR: Error executing a python function in /srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb: IOError: [Errno 2] No such file or directory: 'psplash-tlk-img.h' ERROR: Task 6 (/srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb, do_compile) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-18psplash: Fix case where ${B} != ${S}Richard Purdie
Allow out of tree builds to work by using the full path to the source file. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15psplash : update to latest SRCREV afd4e228c606a9998feae44a3fed4474803240b7Andrei Dinu
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-19psplash: enable multilibConstantin Musca
[YOCTO #3438] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06psplash: Update to latest psplash versionFranklin S Cooper Jr
* Update to the latest version of psplash which fixes a segmentation fault bug Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18psplash: use default OE vga logo (from kernel bootlogo)Andrea Adami
* this resolution allows to use one single logo Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-09psplash - Update to latest psplash version. LIC_CHKSUM TweakFranklin S Cooper Jr
* Update psplash to the latest version. * Change the license checksum to use the lines in the psplash.h that contains license information instead of doing a checksum on the entire file. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30psplash: use new update-alternativesMark Hatle
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2012-03-08psplash: Add mising commands module import.Peter Tworek
Python commands module is used in the recipe, but never imported. This leads to build errors like: NameError: global name 'commands' is not defined ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "do_compile", line 24, in <module> ERROR: ERROR: File "do_compile", line 11, in do_compile ERROR: ERROR: The code that was being executed was: ERROR: 0020: bb.build.exec_func("oe_runmake", d) ERROR: 0021: shutil.copyfile("psplash", outputfile) ERROR: 0022: ERROR: 0023: ERROR: *** 0024:do_compile(d) ERROR: 0025: ERROR: (file: 'do_compile', lineno: 24, function: <module>) ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split() ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split() ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles): ERROR: 0010: if localfile.endswith(".png"): ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile) ERROR: 0012: print(outp[1]) ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0] ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile) ERROR: 0015: else: Signed-off-by: Peter Tworek <tworaz666@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24psplash: allow building multiple splash executablesPaul Eggleton
Adds a SPLASH_IMAGES variable which you can set to include one or more images (listed in URI form as they would appear in SRC_URI), and an executable will be built for each one, with each executable packaged separately and managed at runtime using the alternatives system. An optional "outsuffix" parameter can be used to specify the suffix for the executable/package name. The images themselves can either be pre-processed image header files (produced using the make-image-header.sh script that comes with psplash), or alternatively you can provide a .png and it will be converted using the aforementioned script on the fly (at the expense of requiring gdk-pixbuf-native at build time). This has been implemented in such a way that you can still just provide your own psplash-poky-img.h in a bbappend and it will work as it did before; the only change being that the psplash executable is provided in a "psplash-default" package rather than in the main psplash package, and an RRECOMMENDS is set up to ensure psplash-default gets pulled in (if you specify your own file or change the outsuffix you will need to either install it separately yourself or add your own RRECOMMENDS relationship.) Implements [YOCTO #1947] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-02o-hand recipes: convert from svn.o-hand.org to git.yoctoproject.orgSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>