[Vmdebootstrap-devel] Bug#776975: Bug#776975: vmdebootstrap: default to armmp kernel variant on armhf.

Neil Williams codehelp at debian.org
Tue Feb 3 20:12:05 UTC 2015


On Tue, 03 Feb 2015 09:04:19 -0800
Vagrant Cascadian <vagrant at debian.org> wrote:

> Package: vmdebootstrap
> Version: 0.6-1
> Severity: wishlist
> Tags: patch
> 
> Thanks for maintaining vmdebootstrap!
> 
> 
> For Jessie systems at least, the default kernel for armhf should be
> set to armmp. Attached should be a patch to make this the default
> behavior, and a second patch to remove explicitly setting the kernel
> variant for several examples, which would be redundant.

The patch to vmdebootstrap itself should check for the distribution
specified - possibly using python-distro-info.

Something like:

from distro_info import DebianDistroInfo
suites = DebianDistroInfo()
if distro == 'wheezy' or suites.codename(distro) == 'wheezy':

(There'll also need to be a change to the manpage & README as this
would affect people running vmdebootstrap from git but I don't need a
patch for that.)

> FWIW, cubietruck could probably default to linux-image-armmp-lpae
> rather than the default, though should be compatible with
> linux-image-armmp.

Defaults get a bit awkward for ARMv7, so I'm happy to keep that as
--no-kernel --package=linux-image-armmp-lpae in the cubietruck example.
It's not as if cubietruck is going to not need the other options and
customisations. It would be so much easier if every ARMv7 board used
the same serial port but they all have their own... 

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20150203/8ca23ec7/attachment.sig>


More information about the Vmdebootstrap-devel mailing list