[PATCH 2/3] Add kernel commandline configuration support

2014-05-29 Thread dann frazier
/etc/default/flash-kernel is added with a LINUX_KERNEL_CMDLINE variable that can optional be used in u-boot bootscripts. This command line is generated using the distribution default (defaults for Debian and Ubuntu are provided), and will incorporate any user-provided commandline arguments

[PATCH 0/3] flash-kernel u-boot command/console support

2014-05-29 Thread dann frazier
Here's a patch series that implements the aforementioned changes for making it possible to have packages prepend u-boot commands to the boot.scr, and a special case for managing the kernel cmdline. I'd appreciate reviews, and any +/-1s for pushing these changes. -- To UNSUBSCRIBE, email to

[PATCH 1/3] Generate flash-kernel-installer.postinst based on a template

2014-05-29 Thread dann frazier
This is a no-op preparatory commit, intended to make it easier to review future commits. f-k-i.postinst becomes f-k-i.postinst.in, which is now used to generate the former using cat as a placeholder. --- debian/flash-kernel-installer.postinst| 114 --

[PATCH 3/3] Add support for prepending arbitrary u-boot commands to a bootscript

2014-05-29 Thread dann frazier
Allow packages to drop in files containing U-Boot commands to be executed by a platform's bootscript before starting the OS. These files should be dropped in /usr/share/flash-kernel/ubootenv.d. Users can add additional stubs, or override stubs provided by packages, by adding files to