Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-25 Thread Adam D. Barratt
On Sun, 2018-02-25 at 16:08 +0100, Guido Günther wrote:
> On Sun, Feb 25, 2018 at 02:59:02PM +, Adam D. Barratt wrote:
> > Control: tags -1 + pending
> > 
> > On Fri, 2018-02-23 at 18:50 +0100, Guido Günther wrote:
> > > On Fri, Feb 23, 2018 at 04:53:27PM +, Adam D. Barratt wrote:
[...]
> > > > +virt-what (1.15-1+deb9u1) stable-proposed-updates;
> > > > urgency=medium
> > > > 
> > > > "stretch", please.
> > > > 
> > > > Please go ahead.
> > > 
> > > Uploaded. Thanks,
> > 
> > (Without the distribution change.)
> 
> Sorry, I misread that. Will use stretch for future updates.

Thanks, sorry if it wasn't clear.

Regards,

Adam



Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-25 Thread Guido Günther
On Sun, Feb 25, 2018 at 02:59:02PM +, Adam D. Barratt wrote:
> Control: tags -1 + pending
> 
> On Fri, 2018-02-23 at 18:50 +0100, Guido Günther wrote:
> > On Fri, Feb 23, 2018 at 04:53:27PM +, Adam D. Barratt wrote:
> > > Control: tags -1 + confirmed
> > > 
> > > On Mon, 2018-01-29 at 10:25 +0100, Guido Günther wrote:
> > > > The update fixes problems with virt detection arch/aarch64 since
> > > > these
> > > > fall back to uname -m. x86 uses cpuid mostly so it went there
> > > > undetected.
> > > > 
> > > 
> > > +virt-what (1.15-1+deb9u1) stable-proposed-updates; urgency=medium
> > > 
> > > "stretch", please.
> > > 
> > > Please go ahead.
> > 
> > Uploaded. Thanks,
> 
> (Without the distribution change.)

Sorry, I misread that. Will use stretch for future updates.
 -- Guido

> 
> Flagged for acceptance.
> 
> Regards,
> 
> Adam
> 



Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-25 Thread Adam D. Barratt
Control: tags -1 + pending

On Fri, 2018-02-23 at 18:50 +0100, Guido Günther wrote:
> On Fri, Feb 23, 2018 at 04:53:27PM +, Adam D. Barratt wrote:
> > Control: tags -1 + confirmed
> > 
> > On Mon, 2018-01-29 at 10:25 +0100, Guido Günther wrote:
> > > The update fixes problems with virt detection arch/aarch64 since
> > > these
> > > fall back to uname -m. x86 uses cpuid mostly so it went there
> > > undetected.
> > > 
> > 
> > +virt-what (1.15-1+deb9u1) stable-proposed-updates; urgency=medium
> > 
> > "stretch", please.
> > 
> > Please go ahead.
> 
> Uploaded. Thanks,

(Without the distribution change.)

Flagged for acceptance.

Regards,

Adam



Processed: Re: Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-25 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #888731 [release.debian.org] stretch-pu: package virt-what/1.15-1+deb9u1
Added tag(s) pending.

-- 
888731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888731
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-23 Thread Guido Günther
On Fri, Feb 23, 2018 at 04:53:27PM +, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Mon, 2018-01-29 at 10:25 +0100, Guido Günther wrote:
> > The update fixes problems with virt detection arch/aarch64 since
> > these
> > fall back to uname -m. x86 uses cpuid mostly so it went there
> > undetected.
> > 
> 
> +virt-what (1.15-1+deb9u1) stable-proposed-updates; urgency=medium
> 
> "stretch", please.
> 
> Please go ahead.

Uploaded. Thanks,
 -- Guido



Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-23 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Mon, 2018-01-29 at 10:25 +0100, Guido Günther wrote:
> The update fixes problems with virt detection arch/aarch64 since
> these
> fall back to uname -m. x86 uses cpuid mostly so it went there
> undetected.
> 

+virt-what (1.15-1+deb9u1) stable-proposed-updates; urgency=medium

"stretch", please.

Please go ahead.

Regards,

Adam



Processed: Re: Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-02-23 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + confirmed
Bug #888731 [release.debian.org] stretch-pu: package virt-what/1.15-1+deb9u1
Added tag(s) confirmed.

-- 
888731: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888731
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#888731: stretch-pu: package virt-what/1.15-1+deb9u1

2018-01-29 Thread Guido Günther
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian@packages.debian.org
Usertags: pu

The update fixes problems with virt detection arch/aarch64 since these
fall back to uname -m. x86 uses cpuid mostly so it went there
undetected.
Cheers,
 -- Guido

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-updates'), (500, 'oldoldstable'), (500, 
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff --git a/debian/changelog b/debian/changelog
index beabec6..a9fcd09 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+virt-what (1.15-1+deb9u1) stable-proposed-updates; urgency=medium
+
+  * Unbreak virt detection on arm/aarch64 (Closes: #888690)
+
+ -- Guido Günther   Sun, 28 Jan 2018 19:41:53 +0100
+
 virt-what (1.15-1) unstable; urgency=medium
 
   [ Guido Günther ]
diff --git a/debian/gbp.conf b/debian/gbp.conf
index 760033d..a57e359 100644
--- a/debian/gbp.conf
+++ b/debian/gbp.conf
@@ -1,6 +1,6 @@
 [DEFAULT]
 upstream-branch=upstream/latest
-debian-branch=debian/sid
+debian-branch=debian/stretch
 
 [pq]
 patch-numbers = False
diff --git a/debian/patches/Determine-architecture-via-uname-m.patch b/debian/patches/Determine-architecture-via-uname-m.patch
new file mode 100644
index 000..3352f96
--- /dev/null
+++ b/debian/patches/Determine-architecture-via-uname-m.patch
@@ -0,0 +1,28 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= 
+Date: Sat, 27 Jan 2018 13:11:36 +0100
+Subject: Determine architecture via 'uname -m'
+
+'uname -p' only gives unknown on x86_64, i386, arm6l (rpi) and aarch64
+(scaleways).
+
+Closes: #888690
+---
+ virt-what.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/virt-what.in b/virt-what.in
+index a5ed33e..ddfb53a 100644
+--- a/virt-what.in
 b/virt-what.in
+@@ -101,9 +101,9 @@ cpuid=$(virt-what-cpuid-helper)
+ dmi=$(LANG=C dmidecode 2>&1)
+ 
+ # Architecture.
+-# Note for the purpose of testing, we only call uname with -p option.
++# Note for the purpose of testing, we only call uname with -m option.
+ 
+-arch=$(uname -p | sed -e 's/i.86/i386/' | sed -e 's/arm.*/arm/')
++arch=$(uname -m | sed -e 's/i.86/i386/' | sed -e 's/arm.*/arm/')
+ 
+ # Check for VMware.
+ # cpuid check added by Chetan Loke.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 000..4879f6d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Determine-architecture-via-uname-m.patch