Accepting request 800331 from home:mbrugger
The raspberrypi-usbboot allows you to flash the eMMC through an USB cable. OBS-URL: https://build.opensuse.org/request/show/800331 OBS-URL: https://build.opensuse.org/package/show/hardware/raspberrypi-rpiboot?expand=0&rev=1
This commit is contained in:
commit
9f4a44f932
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
raspberrypi-rpiboot-78.tar.gz
Normal file
3
raspberrypi-rpiboot-78.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7ab75deadfc55d7552b7b5839f91f88b93b7ae4cf556a1c55887e7331354fe92
|
||||||
|
size 14110686
|
5
raspberrypi-rpiboot.changes
Normal file
5
raspberrypi-rpiboot.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 5 10:18:47 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
|
||||||
|
|
||||||
|
- add version 78
|
||||||
|
|
50
raspberrypi-rpiboot.spec
Normal file
50
raspberrypi-rpiboot.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
#
|
||||||
|
# spec file for package raspberrypi-rpiboot
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: raspberrypi-rpiboot
|
||||||
|
Version: 78
|
||||||
|
Release: 0
|
||||||
|
Summary: Raspberry Pi rpiboot tool
|
||||||
|
License: GPL-2.0-only
|
||||||
|
Group: System/Management
|
||||||
|
URL: https://github.com/raspberrypi/usbboot.git
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: update_git.sh
|
||||||
|
BuildRequires: libusb-1_0-devel
|
||||||
|
BuildRequires: libusb-compat-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The raspberrypi-usbboot allows you to flash the eMMC through an USB cable.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
install -c -m 0755 rpiboot %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%verify(not mode caps) %{_bindir}/rpiboot
|
||||||
|
|
||||||
|
%changelog
|
9
update_git.sh
Normal file
9
update_git.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
git clone --no-single-branch https://github.com/raspberrypi/usbboot.git
|
||||||
|
pushd usbboot
|
||||||
|
git archive --prefix raspberrypi-rpiboot-$(git log --oneline|wc -l)/ -o ../raspberrypi-rpiboot-$(git log --oneline|wc -l).tar.gz origin/master
|
||||||
|
popd
|
||||||
|
|
||||||
|
rm -rf usbboot
|
Loading…
Reference in New Issue
Block a user