mirror of
https://github.com/RROrg/rr.git
synced 2025-08-21 20:17:11 +08:00
Compare commits
No commits in common. "bb558373599dd5db60385ef8c4e63ea1860f1aa1" and "0934fffc04504a70e1c598febbcba855bc35db07" have entirely different histories.
bb55837359
...
0934fffc04
@ -3,9 +3,9 @@
|
|||||||
<h1>RR: <small>redpill’s preinstallation and recovery environment</small></h1>
|
<h1>RR: <small>redpill’s preinstallation and recovery environment</small></h1>
|
||||||
|
|
||||||
[](https://github.com/rrorg/rr)
|
[](https://github.com/rrorg/rr)
|
||||||
[](https://github.com/rrorg/rr/releases/latest)
|
[](https://github.com/rrorg/rr/releases/latest)
|
||||||
[](https://github.com/rrorg/rr/releases)
|
[](https://github.com/rrorg/rr/releases)
|
||||||
[](https://rrorg.github.io/rr/)
|
[](https://rrorg.github.io/rr/)
|
||||||
|
|
||||||
> The ultimate solution to self-centralized Synology DSM OS on any local machine with any x86/x64 CPU architecture via a single flash of bootload pre-installation process in addition within recovery environment.
|
> The ultimate solution to self-centralized Synology DSM OS on any local machine with any x86/x64 CPU architecture via a single flash of bootload pre-installation process in addition within recovery environment.
|
||||||
|
|
||||||
|
@ -229,14 +229,14 @@
|
|||||||
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
|
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
<div class="image" id="products" style="height: 50px; margin-left: 200px;">
|
<div class="image" id="products" style="height: 50px; margin-left: 100px;">
|
||||||
<img src="https://www.synology.cn/img/products/detail/SA6400/heading.png" width="20%">
|
<img src="https://www.synology.cn/img/products/detail/SA6400/heading.png" width="20%">
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-auto min-width-0 width-fit mr-3">
|
<div class="flex-auto min-width-0 width-fit mr-3">
|
||||||
<div class="d-flex flex-wrap flex-items-center wb-break-word f3 text-normal">
|
<div class="d-flex flex-wrap flex-items-center wb-break-word f3 text-normal">
|
||||||
<a id="titleA" href="https://github.com/RROrg/rr">
|
<a id="titleA" href="https://github.com/RROrg/rr">
|
||||||
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/rrorg/rr?include_prereleases&style=flat-square&label=Current">
|
<img alt="GitHub Issues or Pull Requests by label"
|
||||||
<img alt="GitHub Issues" src="https://img.shields.io/github/issues-closed-raw/rrorg/rr/custom?style=flat-square&label=custom">
|
src="https://img.shields.io/github/issues-closed-raw/rrorg/rr/custom?style=flat-square&label=custom">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-link tabnav-tab preview-tab js-preview-tab flex-1 flex-md-auto width-full">
|
<div class="btn-link tabnav-tab preview-tab js-preview-tab flex-1 flex-md-auto width-full">
|
||||||
|
@ -37,16 +37,26 @@ convertpo2mo "files/initrd/opt/rr/lang"
|
|||||||
repackInitrd "files/p3/initrd-rr" "files/initrd"
|
repackInitrd "files/p3/initrd-rr" "files/initrd"
|
||||||
|
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
|
if echo "$(
|
||||||
|
cd "files/initrd/opt/rr/model-configs" 2>/dev/null
|
||||||
|
ls *.yml 2>/dev/null | cut -d'.' -f1
|
||||||
|
)" | grep -q "${1}"; then
|
||||||
|
echo "Model found: ${1}"
|
||||||
export LOADER_DISK="LOCALBUILD"
|
export LOADER_DISK="LOCALBUILD"
|
||||||
export CHROOT_PATH="$(realpath files)"
|
export CHROOT_PATH="$(realpath files)"
|
||||||
(
|
(
|
||||||
cd "${CHROOT_PATH}/initrd/opt/rr"
|
cd "${CHROOT_PATH}/initrd/opt/rr"
|
||||||
|
# sed -i 's/rd-compressed:.*$/rd-compressed: true/g' "model-configs/${1}.yml"
|
||||||
./init.sh
|
./init.sh
|
||||||
./menu.sh modelMenu "${1}"
|
./menu.sh modelMenu "${1}"
|
||||||
./menu.sh productversMenu "7.2"
|
./menu.sh productversMenu "7.2"
|
||||||
./menu.sh make -1
|
./menu.sh make -1
|
||||||
./menu.sh cleanCache -1
|
./menu.sh cleanCache -1
|
||||||
)
|
)
|
||||||
|
else
|
||||||
|
echo "Model not found: ${1}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
IMAGE_FILE="rr.img"
|
IMAGE_FILE="rr.img"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user