[Vmdebootstrap-devel] [REJECT] indentation problem preventing --no-kernel functionality
Neil Williams
codehelp at debian.org
Tue Feb 23 11:52:16 UTC 2016
On Mon, 22 Feb 2016 19:26:13 -0500
Jonathan Rajotte <jonathan.rajotte-julien at efficios.com> wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> vmdebootstrap/codenames.py | 20 ++++++++++----------
> 1 file changed, 10 insertions(+), 10 deletions(-)
Fails to apply.
> diff --git a/vmdebootstrap/codenames.py b/vmdebootstrap/codenames.py
> index d0f71fe..f2f052b 100644
> --- a/vmdebootstrap/codenames.py
> +++ b/vmdebootstrap/codenames.py
> @@ -65,15 +65,15 @@ class Codenames(Base):
> if not self.settings['no-kernel']:
> if self.settings['kernel-package']:
> return packages
This is not the same as HEAD:
https://sources.debian.net/src/vmdebootstrap/1.4-1/vmdebootstrap/codenames.py/#L63
AFAICT there is no problem with --no-kernel functionality in 1.4.
> - if self.settings['arch'] == 'i386':
> - # wheezy (which became oldstable on 04/25/2015) used
> '486'
> - if self.was_oldstable(datetime.date(2015, 4, 26)):
> - kernel_arch = '486'
> + if self.settings['arch'] == 'i386':
> + # wheezy (which became oldstable on 04/25/2015) used
> '486'
> + if self.was_oldstable(datetime.date(2015, 4, 26)):
> + kernel_arch = '486'
> + else:
> + kernel_arch = '586'
> + elif self.settings['arch'] == 'armhf':
> + kernel_arch = 'armmp'
> else:
> - kernel_arch = '586'
> - elif self.settings['arch'] == 'armhf':
> - kernel_arch = 'armmp'
> - else:
> - kernel_arch = self.settings['arch']
> - packages.append('linux-image-%s' % kernel_arch)
> + kernel_arch = self.settings['arch']
> + packages.append('linux-image-%s' % kernel_arch)
> return packages
> --
> 2.5.0
>
>
> _______________________________________________
> Vmdebootstrap-devel mailing list
> Vmdebootstrap-devel at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/vmdebootstrap-devel
--
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/20160223/28d31e8d/attachment.sig>
More information about the Vmdebootstrap-devel
mailing list