Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AgentD
diy-linux-guide
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
diy-linux-guide
/
download.sh
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
34 lines (27 loc) · 1.21 KB
master
Breadcrumbs
diy-linux-guide
/
download.sh
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
34 lines (27 loc) · 1.21 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
set -e
KERNEL="raspberrypi-kernel_1.20201201-1.tar.gz"
MUSL="musl-1.2.2.tar.gz"
BINUTILS="binutils-2.36.tar.xz"
GCC="gcc-10.2.0.tar.xz"
BUSYBOX="busybox-1.32.1.tar.bz2"
mkdir -p "download" "src"
curl -L "https://github.com/raspberrypi/linux/archive/$KERNEL" > \
"download/$KERNEL"
curl -L "https://musl.libc.org/releases/$MUSL" > "download/$MUSL"
curl -L "https://ftp.gnu.org/gnu/binutils/$BINUTILS" > "download/$BINUTILS"
curl -L "https://ftp.gnu.org/gnu/gcc/gcc-10.2.0/$GCC" > "download/$GCC"
curl -L "https://busybox.net/downloads/$BUSYBOX" > "download/$BUSYBOX"
cat > download.sha256 <<_EOF
5788292cc5bbcca0848545af05986f6b17058b105be59e99ba7d0f9eb5336fb8 download/$BINUTILS
b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c download/$GCC
9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd download/$MUSL
78760205e85a47fdf99515fc227173e1ff3cee2bbf13c344a77d85efb2ee9ec4 download/$KERNEL
9d57c4bd33974140fd4111260468af22856f12f5b5ef7c70c8d9b75c712a0dee download/$BUSYBOX
_EOF
sha256sum -c download.sha256
tar -xf "download/$KERNEL" -C "src"
tar -xf "download/$MUSL" -C "src"
tar -xf "download/$BINUTILS" -C "src"
tar -xf "download/$GCC" -C "src"
tar -xf "download/$BUSYBOX" -C "src"
You can’t perform that action at this time.