mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix something
This commit is contained in:
parent
9c8f533c56
commit
05258a47ec
@ -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.
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user