summaryrefslogtreecommitdiffstats
path: root/install/consolefont
AgeCommit message (Collapse)AuthorFilesLines
2012-08-11install/consolefont: support .fnt filesDave Reisner1-2/+2
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-18use new API for install hooksDave Reisner1-5/+1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-12mkinitcpio: remove --basedir optionDave Reisner1-4/+4
This option is just a bad idea. Initramfs creation is too important to get wrong, and running it from outside the root FS has too many gotchas, the worst of them being: - where do you pull hooks from? - how do you resolve binary dependencies within the root? In general, dealing with the extra luggage of the base directory makes the codebase more complicated than it needs to be (see all the '_' prefixed functions which are called from add functions). In favor of simplifying the code, and making it more maintainable, kill this off and force the sane option of chroot'ing into an install if the need arises. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-03-24natively support locale.conf and vconsole.confDave Reisner1-4/+10
This is implemented for the keymap and consolefont hooks. It's done in such a way that vconsole.conf and locale.conf will override and supplement rc.conf. Implements FS#29022. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-24keymap/consolefont: source rc.conf properly from $BASEDIRDave Reisner1-19/+23
This is partially in response to FS#24685, which should hopefully cut back on configuration duplication on non-sysvinit systems. This does, however, also fix a bug with keymap/consolefont pulling the wrong rc.conf when BASEDIR is not '/' or unset. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-24install/consolefont: cleanup and refactorDave Reisner1-25/+27
* Provide support for uncompressed font files as well as compressed * Avoiding using an unnecessary temp file * Support $BASEDIR * Warn when no font is found * Only add the runtime hook if a font is added Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-16mkinitcpio: deprecate install() in install hooksDave Reisner1-1/+1
This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner <d@falconindy.com>
2010-05-08Allow usage of non-utf8 fonts in the consolefont hook, see FS#19109Thomas Bächler1-4/+8
Patch was provided by Mark (voidzero) in https://bugs.archlinux.org/task/19109 This requires busybox commit http://git.busybox.net/busybox/commit/?id=8ce1dc03c1b2b61e51527b987579c09c991cc4b2 which is in the 1.7 branch, a backport will be included in an updated mkinitcpio-busybox package
2010-02-14fix detection of CONSOLEFONT from rc.confIonut Biru1-5/+2
Signed-off-by: Ionut Biru <ionut@archlinux.ro>
2010-02-11Fix tabs/space indents from commit 866db5c5Gerardo Exequiel Pozzi1-6/+6
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2010-02-11consolefont: Update error messageThomas Bächler1-2/+2
2010-02-10Add "consolefont" hook to set the console font earlyThomas Bächler1-0/+31
Patch provided by Davorin Učakar, currently only unicode fonts are supported