Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   UBUNTU: SAUCE: Fix stupid packaging bug for wwan and input (http://www.linux-archive.org/ubuntu-kernel-team/555256-ubuntu-sauce-fix-stupid-packaging-bug-wwan-input.html)

Stefan Bader 07-21-2011 05:18 PM

UBUNTU: SAUCE: Fix stupid packaging bug for wwan and input
 
Brown paper bag time for me. By missing a single but important
$ the find picked up all the build flavours and only one would
end up in the package. Not necessarily the one intended...

BugLink: http://bugs.launchpad.net/bugs/814186

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
debian/rules.d/2-binary-arch.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index f97ec86..21aa0c8 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -180,7 +180,7 @@ endif
# Build the wwan-drivers packages.
#
install -d $(wwmoddir)/updates/wwan
- find $(builddir)/build-*/wwan-drivers -type f -name '*.ko' |
+ find $(builddir)/build-$*/wwan-drivers -type f -name '*.ko' |
while read f; do
install -v $$f $(wwmoddir)/updates/wwan/;
strip --strip-debug $(wwmoddir)/updates/wwan/$$(basename $$f);
@@ -218,7 +218,7 @@ endif
# Build the input-drivers package.
#
install -d $(immoddir)/updates/input
- find $(builddir)/build-*/input-drivers -type f -name '*.ko' |
+ find $(builddir)/build-$*/input-drivers -type f -name '*.ko' |
while read f; do
install -v $$f $(immoddir)/updates/input/;
strip --strip-debug $(immoddir)/updates/input/$$(basename $$f);
--
1.7.4.1


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


All times are GMT. The time now is 05:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.