Add Debian packaging

This commit is contained in:
Serge Schneider 2017-09-26 13:43:20 +01:00
parent 467bee5f32
commit 5a1573b3b8
8 changed files with 89 additions and 1 deletions

View File

@ -9,6 +9,6 @@ uninstall:
rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/ rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
clean: clean:
rm rpiboot rm -f rpiboot
.PHONY: uninstall clean .PHONY: uninstall clean

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
rpiboot (20170926) stretch; urgency=medium
* Initial Release.
-- Serge Schneider <serge@raspberrypi.org> Tue, 26 Sep 2017 13:31:20 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: rpiboot
Section: utils
Priority: optional
Maintainer: Serge Schneider <serge@raspberrypi.org>
Build-Depends: debhelper (>= 9), libusb-1.0-0-dev
Standards-Version: 3.9.8
Homepage: https://github.com/raspberrypi/usbboot
Package: rpiboot
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Raspberry Pi USB booting code
USB MSD boot code which should work on the Raspberry Pi model A,
Compute Module, Compute module 3 and Raspberry Pi Zero.

58
debian/copyright vendored Normal file
View File

@ -0,0 +1,58 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rpiboot
Source: https://github.com/raspberrypi/usbboot
Files: *
Copyright: 2016 Raspberry Pi (Trading) Ltd.
License: Apache-2.0
Files: msd/*
Copyright:
2006, Broadcom Corporation
2015, Raspberry Pi (Trading) Ltd
License: custom
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".
License: custom
All rights reserved.
.
Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
.
* This software may only be used for the purposes of developing for,
running or using a Raspberry Pi device.
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Broadcom Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

2
debian/rpiboot.install vendored Normal file
View File

@ -0,0 +1,2 @@
rpiboot usr/bin
msd usr/share/rpiboot

7
debian/rules vendored Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/make -f
%:
dh $@
override_dh_strip:
dh_strip -Xmsd/start.elf

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)