Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Borg Binary Builder
Website
Commits
f7e32f56
Commit
f7e32f56
authored
Oct 24, 2020
by
Johann Bauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show unstable builds in top selection
parent
dff40c16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
index.php
index.php
+17
-10
No files found.
index.php
View file @
f7e32f56
...
...
@@ -96,7 +96,7 @@ function get_dl_link($flavor, $version, $file = null)
$files
=
get_binary_files
();
// Get the latest stable version number, fallback to 1.1.10.
$
stable
=
'1.1.10'
;
$
latest
=
'1.1.10'
;
foreach
(
$files
as
$file
)
{
if
(
$file
->
stability
===
'stable'
)
{
$stable
=
$file
->
version
;
...
...
@@ -104,6 +104,13 @@ foreach ($files as $file) {
}
}
if
(
isset
(
$_GET
[
'show-unstable'
]))
{
$latest
=
reset
(
$files
)
->
version
;
}
else
{
$latest
=
$stable
;
}
// Save binary details of latest stable version to "binaries.json".
save_binaries_json
(
$files
,
$stable
);
...
...
@@ -122,47 +129,47 @@ save_binaries_json($files, $stable);
<h1>
Borg ARM builds
</h1>
<br>
Currently there are automated builds for three different versions of ARM hardware:
<div
class=
"flavor"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'armv5'
,
$
stable
);
?>
"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'armv5'
,
$
latest
);
?>
"
>
<h2>
ARMv5 / ARMv4t
</h2><br>
<b
class=
"download-link"
>
Borg
<?php
echo
$
stable
;
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$stable
}
-armv5"
]
->
size
??
null
);
?>
</b>
<b
class=
"download-link"
>
Borg
<?php
echo
$
latest
;
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$latest
}
-armv5"
]
->
size
??
null
);
?>
</b>
</a>
<span
class=
"description"
>
This version is built for 32Bit-ARM CPUs without a Floating-Point-Unit (ARM v4t and v5).
<br>
<br>
A lot of NAS devices are using this type of hardware.
<br>
<code>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'armv5'
,
$
stable
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'armv5'
,
$
latest
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
chmod
</b>
a+x
<b
class=
"file"
>
/usr/bin/borg
</b>
</code>
</span>
</div>
<div
class=
"flavor"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'armv6'
,
$
stable
);
?>
"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'armv6'
,
$
latest
);
?>
"
>
<h2>
ARMv7 / ARMv6
</h2><br>
<b
class=
"download-link"
>
Borg
<?php
echo
$
stable
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$stable
}
-armv6"
]
->
size
??
null
);
?>
</b>
<b
class=
"download-link"
>
Borg
<?php
echo
$
latest
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$latest
}
-armv6"
]
->
size
??
null
);
?>
</b>
</a>
<span
class=
"description"
>
This version is built for 32Bit-ARM CPUs with a Floating-Point-Unit (ARM v6 and v7).
<br>
<br>
A lot of modern ARM boards and devices ship with a floating-point unit (FPU).
This includes Raspberry Pis and some powerful NAS devices.
<br>
<code>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'armv6'
,
$
stable
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'armv6'
,
$
latest
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
chmod
</b>
a+x
<b
class=
"file"
>
/usr/bin/borg
</b>
</code>
</span>
</div>
<div
class=
"flavor"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'arm64'
,
$
stable
);
?>
"
>
<a
class=
"download"
href=
"
<?php
echo
get_dl_link
(
'arm64'
,
$
latest
);
?>
"
>
<h2>
ARMv8 (or ARM64)
</h2><br>
<b
class=
"download-link"
>
Borg
<?php
echo
$
stable
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$stable
}
-arm64"
]
->
size
??
null
);
?>
</b>
<b
class=
"download-link"
>
Borg
<?php
echo
$
latest
?>
<br><br>
<?php
echo
human_filesize
(
$files
[
"borg-
{
$latest
}
-arm64"
]
->
size
??
null
);
?>
</b>
</a>
<span
class=
"description"
>
This version is built for modern 64Bit-ARM CPUs (ARM v8).
<br>
Examples include modern smartphones or the Pine64.
<br>
<code>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'arm64'
,
$
stable
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
wget
</b>
<b
class=
"url"
>
<?php
echo
get_dl_link
(
'arm64'
,
$
latest
);
?>
</b>
-O
<b
class=
"file"
>
/usr/bin/borg
</b><br>
<b
class=
"command"
>
chmod
</b>
a+x
<b
class=
"file"
>
/usr/bin/borg
</b>
</code>
</span>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment