[arch-projects] [mkinitcpio] [GIT] The official mkinitcpio repository branch master updated. 0.10-35-g7f15172
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official mkinitcpio repository". The branch, master has been updated via 7f1517275d22a7ce6bc8cece7ae87fb187b439ea (commit) via 5c466b4fe50a2b8b5706b0f8774942f9a328c08f (commit) via 7b3890b0ec079b57a610147b18404444ff4c0190 (commit) via 2d8c7e66ae8db2eb8b7549d441669e3b26695198 (commit) via db5eb12c7d711b451f9068a1dd00d6427f3ecc2e (commit) via 497f2b4458fcd5fff9b0a3bdb58cfcf16845101d (commit) via 321fa7f59c8b16e6be34bc76732dffc522dd9445 (commit) via 903e79f5741b70fc5c0166a4b0a9b4f54768cd89 (commit) via cfee1d1d0031276820fc26dcd185b54be09aff4d (commit) via c017477193cb5ff469190d8512962a2e1b861442 (commit) via bb57d3bd3cc4af2b169f3bbdbe0984aa8e5b38dd (commit) via 367ac227f42ca9c8a7c050da0bcc04248fae29b1 (commit) via 4bbca4a841eb6810b003009838cb681fd7ace07a (commit) via c396a58ba7d4ce9f7087379537fa2251a90af52a (commit) via 887511601787db60b5692802fc2ccdfd47c0d698 (commit) via e6d2bfd161c61dccefc94df7594e4410e1cc37e9 (commit) via e172683630d0fe8bde4db4c027039f0e7ecf3309 (commit) via 4136ec05327471a986b8d4dfada5733c6927d79e (commit) via cf4188d69685161a8a676bba25db5d6a92e9f3ab (commit) from c3d068b9ff96b2897cec6a0874ff47e595b77de4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7f1517275d22a7ce6bc8cece7ae87fb187b439ea Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Oct 6 20:05:06 2012 -0400 function: add a map() utility function map() runs the first argument (a function) with each of the remaining arguments as $1. The return value of map() is only 0 if all the calls succeeded. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 5c466b4fe50a2b8b5706b0f8774942f9a328c08f Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Oct 6 20:00:18 2012 -0400 install/ide: remove this crufty old hook Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 7b3890b0ec079b57a610147b18404444ff4c0190 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Oct 6 10:25:18 2012 -0400 convert autodetect cache to hash If mkinitcpio -s is run, we still flush this cache to disk before exiting. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 2d8c7e66ae8db2eb8b7549d441669e3b26695198 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Oct 5 21:11:22 2012 -0400 functions: trim path of resolved symlink When reporting that a hook is deprecated, only show the hook name, not the full resolved path. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit db5eb12c7d711b451f9068a1dd00d6427f3ecc2e Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Oct 21 15:25:33 2012 -0400 add manpage for mkinitcpio.conf Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 497f2b4458fcd5fff9b0a3bdb58cfcf16845101d Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Oct 21 15:25:01 2012 -0400 makefile: spring cleaning - use MANPAGES instead of DIST_EXTRA (it's only manpages anyways) - uniformly use $(var) instead of ${var} - consolidate manpage generate rules - prefer cp over install when symlinks might be involved commit 321fa7f59c8b16e6be34bc76732dffc522dd9445 Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Sep 30 13:48:03 2012 -0400 ensure builtins are dash/underscore translated Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 903e79f5741b70fc5c0166a4b0a9b4f54768cd89 Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Sep 30 11:55:57 2012 -0400 mkinitcpio: remove find_moduledir Using anything but /lib/modules isn't really sane, and it shouldn't be supported. If you want to use /usr/lib/modules, then /lib must be a symlink to usr/lib. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit cfee1d1d0031276820fc26dcd185b54be09aff4d Author: Dave Reisner <dreisner@archlinux.org> Date: Sun Sep 30 11:52:04 2012 -0400 separate image building to functions Mostly in favor of scoping out some variables further. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit c017477193cb5ff469190d8512962a2e1b861442 Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Sep 29 21:20:44 2012 -0400 honor -n for presets Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit bb57d3bd3cc4af2b169f3bbdbe0984aa8e5b38dd Author: Dave Reisner <dreisner@archlinux.org> Date: Sat Sep 29 20:33:34 2012 -0400 mkinitcpio: check for preset file by sourcing it Instead of using a bash test, just source the preset file. If it fails, exit. This patch is a bit ugly because it remove a level of indentation. commit 367ac227f42ca9c8a7c050da0bcc04248fae29b1 Author: Dave Reisner <dreisner@archlinux.org> Date: Fri Sep 28 13:54:10 2012 -0400 commit to some level of style in variable naming This is an ugly patch, and probably does more than I'd like it to. The idea is that mkinitcpio adopts some sort of consistent style which I'm actually happy with. I define 3 kinds of variables: 1) local variables: all lower case, and scoped within functions. Use freely, as they're well contained. 2) global variables: these are known to mkinitcpio internally, but are global in scope. They mainly carry runtime configuration and collected data during the image generation process. These are always lower case, but carry a leading underscore to denote that they're global. 3) "API" variables: also global in scope, but exist "outside" of mkinitcpio -- either drawn in from the configuration file, or "exported" to the install hooks. These are always all upper case. When introducing new variables, extreme care must be taken to pick names that will not conflict with the environment inherited by mkinitcpio. A HACKING file is introduced with a similar description of the above, and more. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 4bbca4a841eb6810b003009838cb681fd7ace07a Author: Dave Reisner <dreisner@archlinux.org> Date: Thu Sep 27 22:17:27 2012 -0400 functions: avoid fully resolving soname symlinks It's okay to fully resolve the symlink to add the regular file it points to, but avoid mangling the symlink name to try and preserve relative links. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit c396a58ba7d4ce9f7087379537fa2251a90af52a Author: Dave Reisner <dreisner@archlinux.org> Date: Thu Sep 27 13:59:26 2012 -0400 lsinitcpio: add -l, --list option; define as default This is the default action for lsinitcpio. Add it just for the purpose of clarity. This change also separates out true options from 'actions' and validates that the user only passed a single action to lsinitcpio. Update the manpage accordingly. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 887511601787db60b5692802fc2ccdfd47c0d698 Author: Dave Reisner <dreisner@archlinux.org> Date: Thu Sep 27 09:58:30 2012 -0400 lsinitcpio: add -c, --config option to dump config Now that mkinitcpio stores the build time config file in the image, we should have a way of easily getting it back out. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit e6d2bfd161c61dccefc94df7594e4410e1cc37e9 Author: Dave Reisner <dreisner@archlinux.org> Date: Thu Sep 27 09:18:38 2012 -0400 lsinitcpio: move image analysis to separate function git (at least version 1.7.12.1) does a great job of showing the absolute wrong code moving around in this patch. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit e172683630d0fe8bde4db4c027039f0e7ecf3309 Author: Dave Reisner <dreisner@archlinux.org> Date: Tue Sep 25 16:54:35 2012 -0400 functions: include image config on image itself For the purposes of accounting and debugging, it's nice to have this around. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit 4136ec05327471a986b8d4dfada5733c6927d79e Author: Dave Reisner <dreisner@archlinux.org> Date: Mon Sep 24 10:22:19 2012 -0400 mkinitcpio: munge modules.order before calling depmod The initramfs installs all modules to kernel/ which devalues the modules.order file. To avoid any edge cases with the wrong module being loaded (because all matching modules for a given alias will be added), make sure that the modules.order file is actually valid. Signed-off-by: Dave Reisner <dreisner@archlinux.org> commit cf4188d69685161a8a676bba25db5d6a92e9f3ab Author: Dave Reisner <dreisner@archlinux.org> Date: Wed Sep 26 16:04:58 2012 -0400 functions: always treat ADDED_MODULES as a hash Overlooked in b8d9c5cd2753e9. This change also assigns a value of "2" to builtin modules which are added to the the ADDED_MODULES array, to distinguish them from actual modules on disk. Using this, we can avoid adding builtins to the image's runtime config. Signed-off-by: Dave Reisner <dreisner@archlinux.org> ----------------------------------------------------------------------- Summary of changes: .gitignore | 1 + HACKING | 67 ++++++++ Makefile | 100 ++++++------ bash-completion | 3 +- functions | 154 ++++++++---------- install/autodetect | 41 ++--- install/ide | 15 -- lsinitcpio | 192 ++++++++++++---------- lsinitcpio.1.txt | 20 ++- mkinitcpio | 439 +++++++++++++++++++++++++------------------------- mkinitcpio.8.txt | 2 +- mkinitcpio.conf.5.txt | 82 ++++++++++ 12 files changed, 636 insertions(+), 480 deletions(-) create mode 100644 HACKING delete mode 100644 install/ide create mode 100644 mkinitcpio.conf.5.txt hooks/post-receive -- The official mkinitcpio repository
participants (1)
-
dreisner@archlinux.org