[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680900: flash-kernel: support for local overrides of db settings

Package: flash-kernel
Version: 3.1
Severity: wishlist
Tags: patch

As discussed in #667681 it would be very useful to be able to override certain
per-machine settings locally. For example Boot-Device defaults to /dev/sda1 on
Dreamplug but can also be sdb1 depending on local configuration.

I have implemented this and pushed to gitorious (see below). I'll also attach
the patches shortly.


The following changes since commit c5aa5d4f829fe2ac23caf8fa6e3a043107c3dd80:

  Set distro as unreleased in changelog (2012-07-08 03:10:19 +0200)

are available in the git repository at:

  git://gitorious.org/ijc-debian/flash-kernel.git dreamplug

for you to fetch changes up to c355495ef7052ac2c309dfe45eff4d657d3aff16:

  Add capability to read /etc/flash-kernel/db to override db entries. (2012-07-08 23:07:08 +0000)

Ian Campbell (2):
      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            |    3 ++-
 debian/flash-kernel.install |    1 +
 etc/db                      |    7 +++++++
 functions                   |    8 +++++++-
 test_functions              |   26 ++++++++++++++++++++++++++
 6 files changed, 47 insertions(+), 2 deletions(-)
 create mode 100644 etc/db

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-3-kirkwood
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages flash-kernel depends on:
pi  devio                         1.2-1+b1   correctly read (or write) a region
ii  initramfs-tools               0.99       tools for generating an initramfs
ii  linux-base                    3.5        Linux image base package

flash-kernel recommends no packages.

Versions of packages flash-kernel suggests:
ii  u-boot-tools                2012.04.01-2 companion tools for Das U-Boot boo

-- no debconf information

Reply to: