Hello, I wrote these ages ago, possibly even at dc12, but held off on them at the time due to the Wheezy freeze. It's about time I got round to rebasing them!
First change is to honour FK_MACHINE in get_machine, IIRC it was bdale who reported that the initramfs hooks weren't honouring this variable. Moving the check from main() to get_machine() means that everything will pick it up. Second is to add a capability to override the global db via /etc/flash-kernel/db, for my purposes the reason is to be able to override the boot device on systems (such as the dreamplug) which have both internal and external mmc. Turns out I even filed a bug with this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680900 I have push access to flash-kernel.git but I wanted to give folks a chance to comment first. I also pushed the changes to gitorious, pull request output appended. Ian. The following changes since commit 44460b40f2101b2e4a7dcffaebb99be7006539e0: Remove stray echo added by 67e61b9c (2013-08-15 09:18:22 +0100) are available in the git repository at: git://gitorious.org/ijc-debian/flash-kernel.git chroot-fixes-and-db-override for you to fetch changes up to d2f01ef7a69fbe84f74339600f9a9c6e766f48ce: Add capability to read /etc/flash-kernel/db to override db entries. (2013-08-15 09:30:40 +0100) ---------------------------------------------------------------- Ian Campbell (3): Honour FK_MACHINE and /etc/flash-kernel/machine in get_machine Turn code which reads machine db into a function Add capability to read /etc/flash-kernel/db to override db entries. README | 4 ++++ debian/changelog | 10 ++++++++++ debian/flash-kernel.install | 1 + etc/db | 7 +++++++ functions | 18 +++++++++++++----- test_functions | 26 ++++++++++++++++++++++++++ 6 files changed, 61 insertions(+), 5 deletions(-) create mode 100644 etc/db -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

