{"shas":[["be45423656b5fe082f09b5d2d1fa0b9fb00ea726","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","functions: refactor add_symlink\n\nWe don't need to add the destination directory -- we can assume this\nwill always be added by another function. We also ignore $BASEDIR as we\nwill never be passing in a path that contains a $BASEDIR so we don't\nwant to erroenous trim a path.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["0536632f6f1ca055805ca664fb4f1fa4b6cb8fe2","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","functions: simplify parse_hook\n\nSince we intentionally word split these variables, a variable containing\nonly white space will never trigger us to iterate on each for loop.\nTherefore, the existance check is superfluous as it will always pass.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["38d24e03f6835cc339b4544332aa6232e29d50a0","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: bashification, part 1/2\n\nAlways use bash's [[ ]], and apply (( )) where arithmetic calculations\nare made. We also take a few other bash shortcuts to simplify code where\npossible.\n\nWe also touch the Makefile here to adjust the sed'ing for directory\nnames.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["f6f6361d45cfd8d5c9f1d41e9ebefb037c4c6f07","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: bashification, part 2/2\n\nmostly consists of syntax changes in the hook parsing loop.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["0baca32031248792c86c3d54aa5294981833c1f3","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","add -t option to specify alternate build directory\n\nThis requires some refactoring of how we handle TMPDIR declaration and\ncreation, as well as protecting the way we do cleanup so that we don't\nerror out when cleanup is called prior to TMPDIR being declared.\n\nWe also add a shortcut to the build root based on the TMPDIR for\nconvenience.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["4073122718ecb810776e8590081de0dcc5de7486","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","install/keymap: refactor and bashify\n\nWrite directly to the build root rather than creating temp files to be\nadded later on. Also cleanup syntax to Bash standards.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["5b821274e60e35822013771a9edcaa7e44916dbd","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: declare usage as a heredoc\n\nalphabetize the usage while we're at it","Dave Reisner"],["1509bed7ddbb4b9721f470e7d02c2e93af7d2df3","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","install/autodetect: refactor and simplify hook\n\nBashify and refactor to cut back on unnecessary churn. Since our\n{all,checked}_modules functions always return clean module names, we can\nadd these directly to the autodetect file instead of aggregating them\nduring the autodetect hook and then cleansing one at a time. There's a\nsmall speed increase here for the simplest code path.\n\nA side effect of this is removing the check in install/filesystems to\nsee whether root_fs detection failed. This is now moot, as earlier\npatchwork made checked_modules an efficient passthrough to all_modules\nwhen our autodetect module cache doesn't exist.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["d4d208ff9d85ddc3d7f920e822cbad7cf68b93f3","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","install/base: cleanup and simplify\n\n* Create only the directories that are necessary. If others are\nneeded, they'll be created along the way. As part of this, we create\n/new_root sooner in init, so it's less jarring to the user if they\nrequest a break.\n* Create the message directly in place, since we know exactly where the\nbuild root is.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["e3584232b0805bc1c93800b3fc1c82293e74725b","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","functions: remove get_module_name\n\nThis is no longer used, as all of our module discovery functions will\nreturn clean module names.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["3a74e460eaf4654800f8bd7196256b3746857a0a","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","init: declare PATH, remove absolute paths\n\nWe were never very consistent about this anyways.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["b98258c4b5544c8ce11affad28f081d1e27dc6e6","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","init: remove unnecessary variable declarations\n\nThese don't really serve a purpose and might actually munge a test for\nan unset var. Declare vars as we need them, substituing with default\nexpansions where possible.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["3630ec6243ee459d6aac8806fe2a87ee9baa461d","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: allow overriding the compression method\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["d09441da9d66a31b4be079113770b33c24a76c1c","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: only show usage on request\n\nDisplay an actual error message for the user when they enter an\nincorrect option, or neglect to provide $OPTARG when needed.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["a025bdbdc58b8e4ae5767a57aac3f43c2bbc444d","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio.5: alphabetize options for easier nav\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["e6b7d8c5424f9854a9baa410179bfb9352d6b9e0","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","README: update copyright year, add self as author\n\nJudging by the blamestat, I think I've earned this.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["0cbd79df1bddf6a6246aaca134f770e962a3c96c","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: catch errors in parse_hook\n\nIt would be better to catch errors in build as well, but this isn't\nentirely feasible due to the expectation of some builtins to return\nnon-zero during normal operations (e.g., read returns 1 on EOF).\n\nAddresses FS#20661\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["a8ba6b0c747d435dd1a44fad20cab437472df914","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","add a PKGBUILD for easier testing from the repo\n\nInspired by the PKGBUILD included with the initscripts repo\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["f39bc67c9af83ab435092aeddd01d8e3bd17f647","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","mkinitcpio: allow absolute paths to preset files\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"],["e9af1f5747f64df901448cfa4afa6fc1025b370e","3c363836cf4e16666669a25da280a1865c2d2874@falconindy.com","install/sata: cleanup and simplify\n\nRefactor module addition into a for loop and echo superfluous trim step.\n\nWe had some duplicate filtering in this install hook due to modules\nmoving in the kernel. These are sufficient old enough that Arch no\nlonger supports a kernel of this age.\n\nSigned-off-by: Dave Reisner <d@falconindy.com>","Dave Reisner"]],"ref":"refs/heads/working","size":22,"head":"f01b963f366669a9ba531338ef80ab221ffee085","push_id":33926612}