Skip to content

Commit

Permalink
debian/qemu-user-static.postinst-in: remove arm64 qemu-user binfmt
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Jan 28, 2014
1 parent 85b0ac9 commit 166ab75
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
qemu (1.7.0+dfsg-2ubuntu9) trusty; urgency=medium

* debian/qemu-user-static.postinst-in: remove arm64 qemu-user binfmt, which
may have been installed up to 1.6.0+dfsg-2ubuntu4 (LP: #1273654)

-- Serge Hallyn <[email protected]> Tue, 28 Jan 2014 14:41:20 +0000

qemu (1.7.0+dfsg-2ubuntu8) trusty; urgency=medium

* SECURITY UPDATE: denial of service via virtio device hot-plugging
Expand Down
7 changes: 7 additions & 0 deletions debian/qemu-user-static.postinst-in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then
fi
done
fi

if dpkg --compare-versions "$2" lt-nl 1.7.0+dfsg-2ubuntu9 \
&& [ -x /usr/sbin/update-binfmts ] \
&& [ -f /var/lib/binfmts/qemu-arm64 ]
then
update-binfmts --package qemu-user-static --remove qemu-arm64 /usr/bin/qemu-arm64-static
fi

0 comments on commit 166ab75

Please sign in to comment.