summaryrefslogtreecommitdiffstats
path: root/install/keymap
AgeCommit message (Collapse)AuthorFilesLines
2016-07-02keymap: fall back to us if KEYMAP is not definedDave Reisner1-9/+4
ref: https://bugs.archlinux.org/task/44805
2012-11-24drop support for reading /etc/rc.confDave Reisner1-3/+2
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-18use new API for install hooksDave Reisner1-3/+1
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-12mkinitcpio: remove --basedir optionDave Reisner1-2/+2
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-3/+16
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>
2012-01-28avoid absolute paths in add_binary callsDave Reisner1-1/+1
This makes us more resilient against path changes -- add_binary is smart enough to resolve the path for us. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-09-27cleanup and bashify install hooksDave Reisner1-1/+1
No logical code changes -- this is purely a syntactical cleanup and standardization across the build hooks along with ensuring that help messages are wrapped to 80 columns or less. All hooks get the same treatment, adhering to the following style: #!/bin/bash build() { COMMANDS } help() { cat <<HELPEOF This is a help message. HELPEOF } # vim: set ft=sh ts=4 sw=4 et: Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-09-27keymap: simplify unicode detectionDave Reisner1-5/+3
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-07-24keymap/consolefont: source rc.conf properly from $BASEDIRDave Reisner1-10/+14
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-06-30install/keymap: fix installation ($buildroot -> $BUILDROOT)Thomas Bächler1-4/+4
2011-06-19install/keymap: refactor and bashifyDave Reisner1-23/+16
Write directly to the build root rather than creating temp files to be added later on. Also cleanup syntax to Bash standards. Signed-off-by: Dave Reisner <d@falconindy.com>
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-02-07Do not try to load the keymap if no KEYMAP option is set in rc.confThomas Bächler1-11/+13
Fixes FS#18214
2010-01-12Fix UTF8 mode in the keymap hookThomas Bächler1-2/+2
2010-01-12Add keymap hookThomas Bächler1-0/+29
2006-06-14'added hooks to the packages itself'Tobias Powalowski1-44/+0
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@127 880c04e9-e011-0410-abf7-b926e227c9cd
2006-06-06New error conditions: fail on missing hook or missing moduleAaron Griffin1-1/+1
Filesystem hook changes (parseblock handling) Init changes to allow /arch.cmd command line parsing Misc install script cleanups git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@123 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-12'fixed module bug and broken keymap and generated new tarball'Tobias Powalowski1-3/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@98 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-12'updated net and keymap hooks'Tobias Powalowski1-3/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@97 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-09'upgpkg fixed keymap install file'Tobias Powalowski1-1/+1
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@88 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-08Formatting fixesAaron Griffin1-2/+3
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@87 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-08'added firmware and keymap hooks'Tobias Powalowski1-0/+43
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@85 880c04e9-e011-0410-abf7-b926e227c9cd