Compare commits

..

2 Commits

Author SHA1 Message Date
Ing
bb55837359 fix something 2024-05-07 21:07:12 +08:00
Ing
2c39fbd381 add Current version for custom issues.html 2024-05-07 20:21:04 +08:00
4 changed files with 17 additions and 27 deletions

View File

@ -3,9 +3,9 @@
<h1>RR: <small>redpills preinstallation and recovery environment</small></h1> <h1>RR: <small>redpills preinstallation and recovery environment</small></h1>
[![点击数](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/rrorg/rr&edge_flat=true)](https://github.com/rrorg/rr) [![点击数](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/rrorg/rr&edge_flat=true)](https://github.com/rrorg/rr)
[![GitHub Release](https://img.shields.io/github/v/release/rrorg/rr?style=flat-square)](https://github.com/rrorg/rr/releases/latest) [![GitHub Release](https://img.shields.io/github/v/release/rrorg/rr?logo=github&style=flat-square)](https://github.com/rrorg/rr/releases/latest)
[![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/rrorg/rr/total?style=flat-square)](https://github.com/rrorg/rr/releases) [![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/rrorg/rr/total?logo=github&style=flat-square)](https://github.com/rrorg/rr/releases)
[![GitHub Issues or Pull Requests by label](https://img.shields.io/github/issues-closed-raw/rrorg/rr/custom?style=flat-square&label=custom)](https://rrorg.github.io/rr/) [![GitHub Issues or Pull Requests by label](https://img.shields.io/github/issues-closed-raw/rrorg/rr/custom?logo=github&style=flat-square&label=custom)](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.

View File

@ -229,14 +229,14 @@
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
</pre> </pre>
<div class="image" id="products" style="height: 50px; margin-left: 100px;"> <div class="image" id="products" style="height: 50px; margin-left: 200px;">
<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 Issues or Pull Requests by label" <img alt="GitHub Release" src="https://img.shields.io/github/v/release/rrorg/rr?include_prereleases&style=flat-square&label=Current">
src="https://img.shields.io/github/issues-closed-raw/rrorg/rr/custom?style=flat-square&label=custom"> <img alt="GitHub Issues" 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">

View File

@ -67,4 +67,4 @@ function readConfigEntriesArray() {
# Returns error information # Returns error information
function checkConfigFile() { function checkConfigFile() {
yq eval "${1}" 2>&1 yq eval "${1}" 2>&1
} }

View File

@ -37,26 +37,16 @@ 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 "$( export LOADER_DISK="LOCALBUILD"
cd "files/initrd/opt/rr/model-configs" 2>/dev/null export CHROOT_PATH="$(realpath files)"
ls *.yml 2>/dev/null | cut -d'.' -f1 (
)" | grep -q "${1}"; then cd "${CHROOT_PATH}/initrd/opt/rr"
echo "Model found: ${1}" ./init.sh
export LOADER_DISK="LOCALBUILD" ./menu.sh modelMenu "${1}"
export CHROOT_PATH="$(realpath files)" ./menu.sh productversMenu "7.2"
( ./menu.sh make -1
cd "${CHROOT_PATH}/initrd/opt/rr" ./menu.sh cleanCache -1
# sed -i 's/rd-compressed:.*$/rd-compressed: true/g' "model-configs/${1}.yml" )
./init.sh
./menu.sh modelMenu "${1}"
./menu.sh productversMenu "7.2"
./menu.sh make -1
./menu.sh cleanCache -1
)
else
echo "Model not found: ${1}"
exit 1
fi
fi fi
IMAGE_FILE="rr.img" IMAGE_FILE="rr.img"