FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-17-2010, 04:10 PM
Tim Gardner
 
Default Fix sub-flavours package conflicts

BugLink: http://bugs.launchpad.net/bugs/454827
The logic that creates debian/control information for the
virtual flavour packaging is dependent on the architecture
of the environment within which 'debian/rules clean' is run,
and as such can create an incorrect conflicts statement.

In this case it is sufficient to have both conflicts hard coded in the
same statement since the conflicting packages are architecturally
mutually exclusive.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
debian.master/sub-flavours/virtual.vars | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/debian.master/sub-flavours/virtual.vars b/debian.master/sub-flavours/virtual.vars
index 2191090..9170c63 100644
--- a/debian.master/sub-flavours/virtual.vars
+++ b/debian.master/sub-flavours/virtual.vars
@@ -5,13 +5,6 @@ target="Geared toward virtual machine guests."
desc="x86/x86_64"
bootloader="grub-pc | grub | lilo (>= 19.1)"
is_sub="true"
-darch="`dpkg-architecture -qDEB_HOST_ARCH`"
-if [ "$darch" = "i386" ]
-then
-based_on="generic-pae"
-else
-based_on="server"
-fi
# The provides and conflicts are REQUIRED
provides="redhat-cluster-modules"
-conflicts="linux-image-PKGVER-ABINUM-${based_on}"
+conflicts="linux-image-PKGVER-ABINUM-generic-pae, linux-image-PKGVER-ABINUM-server"
--
1.7.0


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-17-2010, 04:10 PM
Tim Gardner
 
Default Fix sub-flavours package conflicts

BugLink: http://bugs.launchpad.net/bugs/454827
The logic that creates debian/control information for the
virtual flavour packaging is dependent on the architecture
of the environment within which 'debian/rules clean' is run,
and as such can create an incorrect conflicts statement.

In this case it is sufficient to have both conflicts hard coded in the
same statement since the conflicting packages are architecturally
mutually exclusive.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
debian.master/sub-flavours/virtual.vars | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/debian.master/sub-flavours/virtual.vars b/debian.master/sub-flavours/virtual.vars
index 2191090..9170c63 100644
--- a/debian.master/sub-flavours/virtual.vars
+++ b/debian.master/sub-flavours/virtual.vars
@@ -5,13 +5,6 @@ target="Geared toward virtual machine guests."
desc="x86/x86_64"
bootloader="grub-pc | grub | lilo (>= 19.1)"
is_sub="true"
-darch="`dpkg-architecture -qDEB_HOST_ARCH`"
-if [ "$darch" = "i386" ]
-then
-based_on="generic-pae"
-else
-based_on="server"
-fi
# The provides and conflicts are REQUIRED
provides="redhat-cluster-modules"
-conflicts="linux-image-PKGVER-ABINUM-${based_on}"
+conflicts="linux-image-PKGVER-ABINUM-generic-pae, linux-image-PKGVER-ABINUM-server"
--
1.7.0


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 10:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org