On Thu, Mar 22, 2012, Robie Basak wrote:
> But what about just fixing the bug? Given that flash-kernel (in the
> installer udeb) already replaces any previous boot configuration on the
> SD card, why not do it properly and have it replace or move away
> uEnv.txt as well? Surely this would be a trivial change, not impact
> anything else and not require a hack to work around?

 At least to me it doesn't feel right to add workarounds for any random
 setup; what if e.g. the first partition doesn't have the bootable flag?
 what if it's ext2 instead of vfat?  etc.  Special casing a possibly
 existing uEnv.txt smells wrong.  There is also the spectrum that we
 might be overwriting data, but as you point out flash-kernel
 already overwrites things like kernel and initrd.

 Maybe what's really missing is some piece in the installer (maybe in
 flash-kernel-installer) to reformat the partition as to ignore its
 contents?

 Basically, I'm trying to have this designed consistently so that we
 don't do something overly specialized for a specific board and use
 case.

-- 
Loïc Minier

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/961174

Title:
  flash-kernel fails to override uEnv.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/961174/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to