/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
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
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 --
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
4 matches
Mail list logo