* [PR PATCH] New package: rpi-usbboot-20220815.145439
@ 2022-08-24 22:09 jcgruenhage
2022-08-25 7:00 ` jcgruenhage
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: jcgruenhage @ 2022-08-24 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
There is a new pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages rpi-usbboot-20220815.145439_1
https://github.com/void-linux/void-packages/pull/38897
New package: rpi-usbboot-20220815.145439
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/38897.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-usbboot-20220815.145439_1-38897.patch --]
[-- Type: text/x-diff, Size: 3851 bytes --]
From 87a2745efa7cf691fdb9d1378c216efd3fccfe21 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 24 Aug 2022 23:52:44 +0200
Subject: [PATCH] New package: rpi-usbboot-20220815.145439
---
...1-Use-PREFIX-and-DESTDIR-in-Makefile.patch | 51 +++++++++++++++++++
srcpkgs/rpi-usbboot/template | 19 +++++++
2 files changed, 70 insertions(+)
create mode 100644 srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
create mode 100644 srcpkgs/rpi-usbboot/template
diff --git a/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
new file mode 100644
index 000000000000..33b5ee3afd3f
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
@@ -0,0 +1,51 @@
+From da26cd80362e939510fedd51c9486946a61dc159 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 24 Aug 2022 23:48:08 +0200
+Subject: [PATCH] Use PREFIX and DESTDIR in Makefile
+
+---
+ Makefile | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index dc78cfe..845e23b 100755
+--- a/Makefile
++++ b/Makefile
+@@ -13,20 +13,21 @@ bin2c: bin2c.c
+ $(CC) -Wall -Wextra -g -o $@ $<
+
+ install: rpiboot
+- install -m 755 rpiboot /usr/bin/
+- install -d /usr/share/rpiboot
+- install -m 644 msd/bootcode.bin /usr/share/rpiboot/
+- install -m 644 msd/bootcode4.bin /usr/share/rpiboot/
+- install -m 644 msd/start.elf /usr/share/rpiboot/
+- install -m 644 msd/start4.elf /usr/share/rpiboot/
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 755 rpiboot $(DESTDIR)$(PREFIX)/bin/
++ install -d $(DESTDIR)$(PREFIX)/share/rpiboot
++ install -m 644 msd/bootcode.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/bootcode4.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start4.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ uninstall:
+- rm -f /usr/bin/rpiboot
+- rm -f /usr/share/rpiboot/bootcode.bin
+- rm -f /usr/share/rpiboot/bootcode4.bin
+- rm -f /usr/share/rpiboot/start.elf
+- rm -f /usr/share/rpiboot/start4.elf
+- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
++ rm -f $(DESTDIR)$(PREFIX)/bin/rpiboot
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode4.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start.elf
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start4.elf
++ rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ clean:
+ rm -f rpiboot msd/*.h bin2c
+--
+2.37.2
+
diff --git a/srcpkgs/rpi-usbboot/template b/srcpkgs/rpi-usbboot/template
new file mode 100644
index 000000000000..09174a027b61
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/template
@@ -0,0 +1,19 @@
+# Template file for 'rpi-usbboot'
+_commit=1e651a88f0313a5ca50b12a9992dbce8930fe200
+pkgname=rpi-usbboot
+version=20220815.145439
+revision=1
+wrksrc="${pkgname/rpi-/}-${_commit}"
+build_style=gnu-makefile
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config"
+makedepends="libusb-devel"
+short_desc="Raspberry Pi USB booting code, moved from tools repository"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/raspberrypi/usbboot"
+changelog="https://raw.githubusercontent.com/raspberrypi/usbboot/master/debian/changelog"
+distfiles="https://github.com/raspberrypi/usbboot/archive/${_commit}.tar.gz"
+checksum=692c6404efea6d5f7ca6db505c2a39a7ecbad0de1042796c462c55a50ccffd93
+nostrip_files="/usr/share/rpiboot/start.elf /usr/share/rpiboot/start4.elf"
+ignore_elf_files="${nostrip_files}"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
@ 2022-08-25 7:00 ` jcgruenhage
2022-08-28 10:04 ` [PR PATCH] [Updated] " jcgruenhage
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-08-25 7:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New comment by jcgruenhage on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#issuecomment-1226856231
Comment:
Huh, yeah, so this is going to need more Makefile patching for crosscompilation to work.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
2022-08-25 7:00 ` jcgruenhage
@ 2022-08-28 10:04 ` jcgruenhage
2022-09-05 2:28 ` [PR REVIEW] " the-maldridge
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-08-28 10:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages rpi-usbboot-20220815.145439_1
https://github.com/void-linux/void-packages/pull/38897
New package: rpi-usbboot-20220815.145439
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/38897.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-usbboot-20220815.145439_1-38897.patch --]
[-- Type: text/x-diff, Size: 3901 bytes --]
From 0713f6c3646047489fd0837887e7053d7e0a2ac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 24 Aug 2022 23:52:44 +0200
Subject: [PATCH] New package: rpi-usbboot-20220815.145439
---
...1-Use-PREFIX-and-DESTDIR-in-Makefile.patch | 51 +++++++++++++++++++
srcpkgs/rpi-usbboot/template | 20 ++++++++
2 files changed, 71 insertions(+)
create mode 100644 srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
create mode 100644 srcpkgs/rpi-usbboot/template
diff --git a/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
new file mode 100644
index 000000000000..33b5ee3afd3f
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
@@ -0,0 +1,51 @@
+From da26cd80362e939510fedd51c9486946a61dc159 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 24 Aug 2022 23:48:08 +0200
+Subject: [PATCH] Use PREFIX and DESTDIR in Makefile
+
+---
+ Makefile | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index dc78cfe..845e23b 100755
+--- a/Makefile
++++ b/Makefile
+@@ -13,20 +13,21 @@ bin2c: bin2c.c
+ $(CC) -Wall -Wextra -g -o $@ $<
+
+ install: rpiboot
+- install -m 755 rpiboot /usr/bin/
+- install -d /usr/share/rpiboot
+- install -m 644 msd/bootcode.bin /usr/share/rpiboot/
+- install -m 644 msd/bootcode4.bin /usr/share/rpiboot/
+- install -m 644 msd/start.elf /usr/share/rpiboot/
+- install -m 644 msd/start4.elf /usr/share/rpiboot/
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 755 rpiboot $(DESTDIR)$(PREFIX)/bin/
++ install -d $(DESTDIR)$(PREFIX)/share/rpiboot
++ install -m 644 msd/bootcode.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/bootcode4.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start4.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ uninstall:
+- rm -f /usr/bin/rpiboot
+- rm -f /usr/share/rpiboot/bootcode.bin
+- rm -f /usr/share/rpiboot/bootcode4.bin
+- rm -f /usr/share/rpiboot/start.elf
+- rm -f /usr/share/rpiboot/start4.elf
+- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
++ rm -f $(DESTDIR)$(PREFIX)/bin/rpiboot
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode4.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start.elf
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start4.elf
++ rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ clean:
+ rm -f rpiboot msd/*.h bin2c
+--
+2.37.2
+
diff --git a/srcpkgs/rpi-usbboot/template b/srcpkgs/rpi-usbboot/template
new file mode 100644
index 000000000000..622ffb7870f8
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/template
@@ -0,0 +1,20 @@
+# Template file for 'rpi-usbboot'
+_commit=1e651a88f0313a5ca50b12a9992dbce8930fe200
+pkgname=rpi-usbboot
+version=20220815.145439
+revision=1
+wrksrc="${pkgname/rpi-/}-${_commit}"
+build_style=gnu-makefile
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config"
+makedepends="libusb-devel"
+short_desc="Raspberry Pi USB booting code, moved from tools repository"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/raspberrypi/usbboot"
+changelog="https://raw.githubusercontent.com/raspberrypi/usbboot/master/debian/changelog"
+distfiles="https://github.com/raspberrypi/usbboot/archive/${_commit}.tar.gz"
+checksum=692c6404efea6d5f7ca6db505c2a39a7ecbad0de1042796c462c55a50ccffd93
+nostrip_files="/usr/share/rpiboot/start.elf /usr/share/rpiboot/start4.elf"
+ignore_elf_files="${nostrip_files}"
+nocross="Makefile requires more patching first"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
2022-08-25 7:00 ` jcgruenhage
2022-08-28 10:04 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-09-05 2:28 ` the-maldridge
2022-09-05 9:22 ` jcgruenhage
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: the-maldridge @ 2022-09-05 2:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New review comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#discussion_r962431048
Comment:
Please remove commented lines.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR REVIEW] New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (2 preceding siblings ...)
2022-09-05 2:28 ` [PR REVIEW] " the-maldridge
@ 2022-09-05 9:22 ` jcgruenhage
2022-09-05 9:24 ` [PR PATCH] [Updated] " jcgruenhage
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-09-05 9:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 221 bytes --]
New review comment by jcgruenhage on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#discussion_r962689976
Comment:
usually I remember to remove those, not sure why I forgot this time :D
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (3 preceding siblings ...)
2022-09-05 9:22 ` jcgruenhage
@ 2022-09-05 9:24 ` jcgruenhage
2022-12-05 1:59 ` github-actions
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-09-05 9:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages rpi-usbboot-20220815.145439_1
https://github.com/void-linux/void-packages/pull/38897
New package: rpi-usbboot-20220815.145439
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/38897.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-usbboot-20220815.145439_1-38897.patch --]
[-- Type: text/x-diff, Size: 3858 bytes --]
From 3b5b8dbb9dc97e4df51a2f90b06ae680ba255a7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 24 Aug 2022 23:52:44 +0200
Subject: [PATCH] New package: rpi-usbboot-20220815.145439
---
...1-Use-PREFIX-and-DESTDIR-in-Makefile.patch | 51 +++++++++++++++++++
srcpkgs/rpi-usbboot/template | 19 +++++++
2 files changed, 70 insertions(+)
create mode 100644 srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
create mode 100644 srcpkgs/rpi-usbboot/template
diff --git a/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
new file mode 100644
index 000000000000..33b5ee3afd3f
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
@@ -0,0 +1,51 @@
+From da26cd80362e939510fedd51c9486946a61dc159 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 24 Aug 2022 23:48:08 +0200
+Subject: [PATCH] Use PREFIX and DESTDIR in Makefile
+
+---
+ Makefile | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index dc78cfe..845e23b 100755
+--- a/Makefile
++++ b/Makefile
+@@ -13,20 +13,21 @@ bin2c: bin2c.c
+ $(CC) -Wall -Wextra -g -o $@ $<
+
+ install: rpiboot
+- install -m 755 rpiboot /usr/bin/
+- install -d /usr/share/rpiboot
+- install -m 644 msd/bootcode.bin /usr/share/rpiboot/
+- install -m 644 msd/bootcode4.bin /usr/share/rpiboot/
+- install -m 644 msd/start.elf /usr/share/rpiboot/
+- install -m 644 msd/start4.elf /usr/share/rpiboot/
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 755 rpiboot $(DESTDIR)$(PREFIX)/bin/
++ install -d $(DESTDIR)$(PREFIX)/share/rpiboot
++ install -m 644 msd/bootcode.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/bootcode4.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start4.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ uninstall:
+- rm -f /usr/bin/rpiboot
+- rm -f /usr/share/rpiboot/bootcode.bin
+- rm -f /usr/share/rpiboot/bootcode4.bin
+- rm -f /usr/share/rpiboot/start.elf
+- rm -f /usr/share/rpiboot/start4.elf
+- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
++ rm -f $(DESTDIR)$(PREFIX)/bin/rpiboot
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode4.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start.elf
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start4.elf
++ rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ clean:
+ rm -f rpiboot msd/*.h bin2c
+--
+2.37.2
+
diff --git a/srcpkgs/rpi-usbboot/template b/srcpkgs/rpi-usbboot/template
new file mode 100644
index 000000000000..a3f29ad214da
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/template
@@ -0,0 +1,19 @@
+# Template file for 'rpi-usbboot'
+_commit=1e651a88f0313a5ca50b12a9992dbce8930fe200
+pkgname=rpi-usbboot
+version=20220815.145439
+revision=1
+wrksrc="${pkgname/rpi-/}-${_commit}"
+build_style=gnu-makefile
+hostmakedepends="pkg-config"
+makedepends="libusb-devel"
+short_desc="Raspberry Pi USB booting code, moved from tools repository"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/raspberrypi/usbboot"
+changelog="https://raw.githubusercontent.com/raspberrypi/usbboot/master/debian/changelog"
+distfiles="https://github.com/raspberrypi/usbboot/archive/${_commit}.tar.gz"
+checksum=692c6404efea6d5f7ca6db505c2a39a7ecbad0de1042796c462c55a50ccffd93
+nostrip_files="/usr/share/rpiboot/start.elf /usr/share/rpiboot/start4.elf"
+ignore_elf_files="${nostrip_files}"
+nocross="Makefile requires more patching first"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (4 preceding siblings ...)
2022-09-05 9:24 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-12-05 1:59 ` github-actions
2022-12-10 13:35 ` [PR PATCH] [Updated] " jcgruenhage
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2022-12-05 1:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#issuecomment-1336624441
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Updated] New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (5 preceding siblings ...)
2022-12-05 1:59 ` github-actions
@ 2022-12-10 13:35 ` jcgruenhage
2022-12-10 13:35 ` jcgruenhage
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-12-10 13:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages rpi-usbboot-20220815.145439_1
https://github.com/void-linux/void-packages/pull/38897
New package: rpi-usbboot-20220815.145439
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/38897.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rpi-usbboot-20220815.145439_1-38897.patch --]
[-- Type: text/x-diff, Size: 3784 bytes --]
From 279a4a545138d8c8c86ecb9059839f6552e90972 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Wed, 24 Aug 2022 23:52:44 +0200
Subject: [PATCH] New package: rpi-usbboot-20221104.153421
---
...1-Use-PREFIX-and-DESTDIR-in-Makefile.patch | 51 +++++++++++++++++++
srcpkgs/rpi-usbboot/template | 17 +++++++
2 files changed, 68 insertions(+)
create mode 100644 srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
create mode 100644 srcpkgs/rpi-usbboot/template
diff --git a/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
new file mode 100644
index 000000000000..33b5ee3afd3f
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/patches/0001-Use-PREFIX-and-DESTDIR-in-Makefile.patch
@@ -0,0 +1,51 @@
+From da26cd80362e939510fedd51c9486946a61dc159 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Wed, 24 Aug 2022 23:48:08 +0200
+Subject: [PATCH] Use PREFIX and DESTDIR in Makefile
+
+---
+ Makefile | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index dc78cfe..845e23b 100755
+--- a/Makefile
++++ b/Makefile
+@@ -13,20 +13,21 @@ bin2c: bin2c.c
+ $(CC) -Wall -Wextra -g -o $@ $<
+
+ install: rpiboot
+- install -m 755 rpiboot /usr/bin/
+- install -d /usr/share/rpiboot
+- install -m 644 msd/bootcode.bin /usr/share/rpiboot/
+- install -m 644 msd/bootcode4.bin /usr/share/rpiboot/
+- install -m 644 msd/start.elf /usr/share/rpiboot/
+- install -m 644 msd/start4.elf /usr/share/rpiboot/
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 755 rpiboot $(DESTDIR)$(PREFIX)/bin/
++ install -d $(DESTDIR)$(PREFIX)/share/rpiboot
++ install -m 644 msd/bootcode.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/bootcode4.bin $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
++ install -m 644 msd/start4.elf $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ uninstall:
+- rm -f /usr/bin/rpiboot
+- rm -f /usr/share/rpiboot/bootcode.bin
+- rm -f /usr/share/rpiboot/bootcode4.bin
+- rm -f /usr/share/rpiboot/start.elf
+- rm -f /usr/share/rpiboot/start4.elf
+- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/
++ rm -f $(DESTDIR)$(PREFIX)/bin/rpiboot
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/bootcode4.bin
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start.elf
++ rm -f $(DESTDIR)$(PREFIX)/share/rpiboot/start4.elf
++ rmdir --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/rpiboot/
+
+ clean:
+ rm -f rpiboot msd/*.h bin2c
+--
+2.37.2
+
diff --git a/srcpkgs/rpi-usbboot/template b/srcpkgs/rpi-usbboot/template
new file mode 100644
index 000000000000..86703935110e
--- /dev/null
+++ b/srcpkgs/rpi-usbboot/template
@@ -0,0 +1,17 @@
+# Template file for 'rpi-usbboot'
+pkgname=rpi-usbboot
+version=20221104.153421
+revision=1
+build_style=gnu-makefile
+hostmakedepends="pkg-config"
+makedepends="libusb-devel"
+short_desc="Raspberry Pi USB booting code, moved from tools repository"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/raspberrypi/usbboot"
+changelog="https://raw.githubusercontent.com/raspberrypi/usbboot/master/debian/changelog"
+distfiles="https://github.com/raspberrypi/usbboot/archive/refs/tags/${version/./-}.tar.gz"
+checksum=f19395f66e358c5bbd9088508df168321ad070fbc46132b36965b4a2f8142c64
+nostrip_files="/usr/share/rpiboot/start.elf /usr/share/rpiboot/start4.elf"
+ignore_elf_files="${nostrip_files}"
+nocross="Makefile requires more patching first"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: rpi-usbboot-20220815.145439
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (6 preceding siblings ...)
2022-12-10 13:35 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-12-10 13:35 ` jcgruenhage
2023-03-14 1:50 ` New package: rpi-usbboot-20221104.153421 github-actions
2023-03-14 1:51 ` [PR PATCH] [Merged]: " the-maldridge
9 siblings, 0 replies; 11+ messages in thread
From: jcgruenhage @ 2022-12-10 13:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 165 bytes --]
New comment by jcgruenhage on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#issuecomment-1345266586
Comment:
Updated. Not stale.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: New package: rpi-usbboot-20221104.153421
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (7 preceding siblings ...)
2022-12-10 13:35 ` jcgruenhage
@ 2023-03-14 1:50 ` github-actions
2023-03-14 1:51 ` [PR PATCH] [Merged]: " the-maldridge
9 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-03-14 1:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/38897#issuecomment-1467220067
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PR PATCH] [Merged]: New package: rpi-usbboot-20221104.153421
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
` (8 preceding siblings ...)
2023-03-14 1:50 ` New package: rpi-usbboot-20221104.153421 github-actions
@ 2023-03-14 1:51 ` the-maldridge
9 siblings, 0 replies; 11+ messages in thread
From: the-maldridge @ 2023-03-14 1:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]
There's a merged pull request on the void-packages repository
New package: rpi-usbboot-20221104.153421
https://github.com/void-linux/void-packages/pull/38897
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-03-14 1:51 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 22:09 [PR PATCH] New package: rpi-usbboot-20220815.145439 jcgruenhage
2022-08-25 7:00 ` jcgruenhage
2022-08-28 10:04 ` [PR PATCH] [Updated] " jcgruenhage
2022-09-05 2:28 ` [PR REVIEW] " the-maldridge
2022-09-05 9:22 ` jcgruenhage
2022-09-05 9:24 ` [PR PATCH] [Updated] " jcgruenhage
2022-12-05 1:59 ` github-actions
2022-12-10 13:35 ` [PR PATCH] [Updated] " jcgruenhage
2022-12-10 13:35 ` jcgruenhage
2023-03-14 1:50 ` New package: rpi-usbboot-20221104.153421 github-actions
2023-03-14 1:51 ` [PR PATCH] [Merged]: " the-maldridge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).