aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make-boot-splash-raw
Commit message (Collapse)AuthorAgeFilesLines
* Fix permissions on written initrd'sColin Guthrie2013-01-271-0/+2
| | | | | This fixes a potential leakage of sensitive information in the initrd to non-root local users.
* Do not pass theme in when calling make-boot-splash-raw.Colin Guthrie2012-04-141-4/+3
| | | | | | | | | | | | This reverts and earlier commit that used it explicitly, however this approach is more error prone. The default theme is set in make-boot-splash, and thus it will be used when calling via this route. Error checking is done at this higher level and thus if an invalid theme is passed in the old theme will still be default and we will properly regenerate initrd. Clarify that the theme argument should not be passed in the help output.
* Add support for xz compressed initrds.Colin Guthrie2012-04-141-4/+15
| | | | | | | | | | | | | | Default options for xz compression taken from dracut. This change also removes various /bin/ path prefixes as there was previously a mix. xz* tools are technically in /usr so thus support may not be 100% complete until we have finished the /usr merge in mga3 and as such gzip compressed initrds should likely remain the default for mga2. No support for xz compressed initrds has yet been added to the remove-boot-splash script which is inexplicably implemented in perl rather than in bash like the rest of the scripts.
* Actually use the THEME name passed in.Colin Guthrie2012-04-141-2/+5
| | | | | | The theme name passed in on the command line was never used. Use it :)
* Avoid using cpio-filter and cpio --appendColin Guthrie2012-04-141-12/+8
| | | | | | | | | | | | We seem to go out of our way to avoid creating a 'new' cpio archive. This all seems rather unnecessary and error prone and cpio-filter will create a new archive anyway, so it's also rather redundant. Adopt a simpler process: extract the initrd fully, and run the plymouth population in-place, then just recompress the result. This also changes the archive creation stage to be the same commands used by dracut for clarity.
* Remove a poinless line.Colin Guthrie2012-04-141-3/+2
| | | | | | | The initrd was extracted with plymouth files filtered out, but then re-extracted a few lines below overwriting this file. The second extraction should exclude plymouth files too.
* make-boot-splash: dereference symlinks before operationAnssi Hannula2012-04-041-0/+2
| | | | | | DrakX can call this script with /boot/initrd.img symlink, in which case we want to operate on its target instead, or the symlink would get replaced with a regular file (reported by Colin Guthrie).
* add checks for some more failure conditions to prevent initrd corruptionAnssi Hannula2012-02-271-20/+31
| | | | These include e.g. unsupported initramfs formats and full filesystems.
* don't truncate initrd if plymouth-populate-initrd failsAnssi Hannula2011-12-191-0/+9
|
* don't truncate initrd if plymouth-populate-initrd doesn't existAnssi Hannula2011-12-191-4/+4
|
* Synthesized commit during git-svn import combining previous Mandriva history ↵Mageia SVN-Git Migration2011-04-161-1/+1
| | | | | | | | | | | | with Magiea. This commit consitsts of the following subversion commits: ------------------------------------------------------------------------ r908 | blino | 2011-04-16 15:34:46 +0100 (Sat, 16 Apr 2011) | 1 line initial bootsplash import (cleaned from Mdv) ------------------------------------------------------------------------
* Do not derefence symlinks, we copy the target tooPascal Terjan2009-11-301-1/+1
|
* Compress hard, like we do in mkinitrdPascal Terjan2009-11-291-2/+2
|
* Fix previous commit to not remove everythingPascal Terjan2009-11-291-2/+2
|
* Don't create duplicate files in initrd, mine went from 18MB to 3MB with this ↵Pascal Terjan2009-11-271-0/+7
| | | | patch
* - hide more errorsFrederic Crozat2009-10-121-4/+4
|
* - remove splashy leftover in initrdFrederic Crozat2009-10-121-1/+1
| | | | | - hide error message
* - Fix support for plymouthFrederic Crozat2009-10-071-5/+6
|
* - Fix typoFrederic Crozat2009-10-071-1/+1
|
* - Port to plymouthFrederic Crozat2009-10-071-29/+11
|
* - Release 3.2.19Frederic Crozat2009-02-101-2/+2
| | | | | - really fix changing splash theme
* - Release 3.2.18 :Frederic Crozat2009-02-061-3/+3
| | | | | - fix location of splashy themes
* add support for splashy themes inclusion in ext2 initrd (used by One build ↵Olivier Blin2008-07-251-1/+15
| | | | process)
* add splashy theme files if splashy is availableOlivier Blin2008-07-241-2/+6
|
* make cpio quietPascal Rigaux2007-03-131-1/+1
|
* use cpio-filter to remove bootsplash from initrd without being rootPascal Rigaux2007-03-011-8/+3
| | | | | (removing a file using cpio implies "cpio -i" then "cpio -o", but devices can't be created as non-root)
* create make-boot-splash-raw out of make-boot-splashPascal Rigaux2007-02-261-0/+49
(to be used by mkcd)