diff options
author | maximilian attems <max@stro.at> | 2012-06-07 18:21:15 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-06-28 04:46:25 -0400 |
commit | 6607ddadf93d19c7f64139f1475c342152f39fe5 (patch) | |
tree | c7cd59113644a8c14987cb73b3e597253f8fc118 /scripts/package | |
parent | d5bfb6b3814b2c9cd83e9395a60fc4b4e42a242d (diff) |
deb-pkg: Install linux-firmware-image in versioned dir
That way they don't file conflict with official firmware package:
trying to overwrite '/lib/firmware/qlogic/1040.bin', which is
also in package firmware-qlogic 0.35
..
Reported-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/package')
-rw-r--r-- | scripts/package/builddeb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index c95fdda58414..6505ecd3050e 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -92,7 +92,7 @@ rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" | |||
92 | mkdir -m 755 -p "$tmpdir/DEBIAN" | 92 | mkdir -m 755 -p "$tmpdir/DEBIAN" |
93 | mkdir -p "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" | 93 | mkdir -p "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" |
94 | mkdir -m 755 -p "$fwdir/DEBIAN" | 94 | mkdir -m 755 -p "$fwdir/DEBIAN" |
95 | mkdir -p "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename" | 95 | mkdir -p "$fwdir/lib/firmware/$version/" "$fwdir/usr/share/doc/$fwpackagename" |
96 | mkdir -m 755 -p "$libc_headers_dir/DEBIAN" | 96 | mkdir -m 755 -p "$libc_headers_dir/DEBIAN" |
97 | mkdir -p "$libc_headers_dir/usr/share/doc/$libc_headers_packagename" | 97 | mkdir -p "$libc_headers_dir/usr/share/doc/$libc_headers_packagename" |
98 | mkdir -m 755 -p "$kernel_headers_dir/DEBIAN" | 98 | mkdir -m 755 -p "$kernel_headers_dir/DEBIAN" |
@@ -267,7 +267,8 @@ EOF | |||
267 | 267 | ||
268 | # Do we have firmware? Move it out of the way and build it into a package. | 268 | # Do we have firmware? Move it out of the way and build it into a package. |
269 | if [ -e "$tmpdir/lib/firmware" ]; then | 269 | if [ -e "$tmpdir/lib/firmware" ]; then |
270 | mv "$tmpdir/lib/firmware" "$fwdir/lib/" | 270 | mv "$tmpdir/lib/firmware"/* "$fwdir/lib/firmware/$version/" |
271 | rmdir "$tmpdir/lib/firmware" | ||
271 | 272 | ||
272 | cat <<EOF >> debian/control | 273 | cat <<EOF >> debian/control |
273 | 274 | ||