diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2012-04-09 02:51:43 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2012-04-09 03:27:13 +0200 |
commit | a3cc35f0637ce568d0f67cf8d4107ac04ed664fa (patch) | |
tree | bc909e4bf58af83ab82d20ebe90b534379d97b5e /gen_initramfs.sh | |
parent | Bump version to 3.4.29 (diff) | |
download | genkernel-a3cc35f0637ce568d0f67cf8d4107ac04ed664fa.tar.gz genkernel-a3cc35f0637ce568d0f67cf8d4107ac04ed664fa.tar.bz2 genkernel-a3cc35f0637ce568d0f67cf8d4107ac04ed664fa.zip |
Untar keymaps
Diffstat (limited to 'gen_initramfs.sh')
-rwxr-xr-x | gen_initramfs.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gen_initramfs.sh b/gen_initramfs.sh index 4838234..f3c14c2 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -604,8 +604,10 @@ append_auxilary() { fi if isTrue $CMD_KEYMAP then - mkdir -p "${TEMP}/initramfs-aux-temp/lib/keymaps" - /bin/tar -C "${TEMP}/initramfs-aux-temp/lib/keymaps" -zxf "${GK_SHARE}/defaults/keymaps.tar.gz" + print_info 1 " >> Copying keymaps" + mkdir -p "${TEMP}/initramfs-aux-temp/lib/" + cp -R "${GK_SHARE}/defaults/keymaps" "${TEMP}/initramfs-aux-temp/lib/" \ + || gen_die "Error while copying keymaps" fi cd ${TEMP}/initramfs-aux-temp/sbin && ln -s ../init init |