Commit 5a1573b3b8d70266fd06b3153f1c82f0231bd258

Authored by Serge Schneider
1 parent 467bee5f

Add Debian packaging

Makefile
@@ -9,6 +9,6 @@ uninstall: @@ -9,6 +9,6 @@ uninstall:
9 rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/ 9 rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
10 10
11 clean: 11 clean:
12 - rm rpiboot 12 + rm -f rpiboot
13 13
14 .PHONY: uninstall clean 14 .PHONY: uninstall clean
debian/changelog 0 → 100644
  1 +rpiboot (20170926) stretch; urgency=medium
  2 +
  3 + * Initial Release.
  4 +
  5 + -- Serge Schneider <serge@raspberrypi.org> Tue, 26 Sep 2017 13:31:20 +0100
debian/compat 0 → 100644
  1 +9
debian/control 0 → 100644
  1 +Source: rpiboot
  2 +Section: utils
  3 +Priority: optional
  4 +Maintainer: Serge Schneider <serge@raspberrypi.org>
  5 +Build-Depends: debhelper (>= 9), libusb-1.0-0-dev
  6 +Standards-Version: 3.9.8
  7 +Homepage: https://github.com/raspberrypi/usbboot
  8 +
  9 +Package: rpiboot
  10 +Architecture: any
  11 +Depends: ${shlibs:Depends}, ${misc:Depends}
  12 +Description: Raspberry Pi USB booting code
  13 + USB MSD boot code which should work on the Raspberry Pi model A,
  14 + Compute Module, Compute module 3 and Raspberry Pi Zero.
debian/copyright 0 → 100644
  1 +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
  2 +Upstream-Name: rpiboot
  3 +Source: https://github.com/raspberrypi/usbboot
  4 +
  5 +Files: *
  6 +Copyright: 2016 Raspberry Pi (Trading) Ltd.
  7 +License: Apache-2.0
  8 +
  9 +Files: msd/*
  10 +Copyright:
  11 + 2006, Broadcom Corporation
  12 + 2015, Raspberry Pi (Trading) Ltd
  13 +License: custom
  14 +
  15 +License: Apache-2.0
  16 + Licensed under the Apache License, Version 2.0 (the "License");
  17 + you may not use this file except in compliance with the License.
  18 + You may obtain a copy of the License at
  19 + .
  20 + https://www.apache.org/licenses/LICENSE-2.0
  21 + .
  22 + Unless required by applicable law or agreed to in writing, software
  23 + distributed under the License is distributed on an "AS IS" BASIS,
  24 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  25 + See the License for the specific language governing permissions and
  26 + limitations under the License.
  27 + .
  28 + On Debian systems, the complete text of the Apache version 2.0 license
  29 + can be found in "/usr/share/common-licenses/Apache-2.0".
  30 +
  31 +License: custom
  32 + All rights reserved.
  33 + .
  34 + Redistribution. Redistribution and use in binary form, without
  35 + modification, are permitted provided that the following conditions are
  36 + met:
  37 + .
  38 + * This software may only be used for the purposes of developing for,
  39 + running or using a Raspberry Pi device.
  40 + * Redistributions must reproduce the above copyright notice and the
  41 + following disclaimer in the documentation and/or other materials
  42 + provided with the distribution.
  43 + * Neither the name of Broadcom Corporation nor the names of its suppliers
  44 + may be used to endorse or promote products derived from this software
  45 + without specific prior written permission.
  46 + .
  47 + DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
  48 + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  49 + BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  50 + FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  51 + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  52 + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  53 + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  54 + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  55 + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
  56 + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  57 + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  58 + DAMAGE.
debian/rpiboot.install 0 → 100644
  1 +rpiboot usr/bin
  2 +msd usr/share/rpiboot
debian/rules 0 → 100755
  1 +#!/usr/bin/make -f
  2 +
  3 +%:
  4 + dh $@
  5 +
  6 +override_dh_strip:
  7 + dh_strip -Xmsd/start.elf
debian/source/format 0 → 100644
  1 +3.0 (native)