mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
busybox-initramfs: rename installator to installer
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
5186357683
commit
b231b357db
@ -3,7 +3,7 @@
|
||||
UPDATE_DIR=/storage/.update
|
||||
|
||||
IMAGE_SYSTEM="SYSTEM"
|
||||
IMAGE_INSTALLATOR="INSTALLATOR"
|
||||
IMAGE_INSTALLER="INSTALLER"
|
||||
IMAGE_KERNEL="KERNEL"
|
||||
REBOOT=0
|
||||
|
||||
@ -27,15 +27,15 @@ REBOOT=0
|
||||
FASTBOOT=yes
|
||||
;;
|
||||
installer)
|
||||
INSTALLATOR=yes
|
||||
INSTALLER=yes
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ ! "$INSTALLATOR" = "yes" ]; then
|
||||
if [ ! "$INSTALLER" = "yes" ]; then
|
||||
IMAGE="$IMAGE_SYSTEM"
|
||||
else
|
||||
IMAGE="$IMAGE_INSTALLATOR"
|
||||
IMAGE="$IMAGE_INSTALLER"
|
||||
fi
|
||||
|
||||
if test "$FASTBOOT" = yes; then
|
||||
@ -93,11 +93,11 @@ REBOOT=0
|
||||
|
||||
mount_part "$boot" "/flash" "ro,noatime"
|
||||
|
||||
if [ ! "$INSTALLATOR" = "yes" ]; then
|
||||
if [ ! "$INSTALLER" = "yes" ]; then
|
||||
mount_part "$disk" "/storage" "rw,noatime"
|
||||
update "Kernel" "$IMAGE_KERNEL" "/flash/$IMAGE_KERNEL"
|
||||
update "System" "$IMAGE_SYSTEM" "/flash/$IMAGE_SYSTEM"
|
||||
update "Installator" "$IMAGE_INSTALLATOR" "/flash/$IMAGE_INSTALLATOR"
|
||||
update "Installer" "$IMAGE_INSTALLER" "/flash/$IMAGE_INSTALLER"
|
||||
|
||||
if test "$REBOOT" -eq 1; then
|
||||
echo "System reboots now..." && \
|
||||
@ -116,7 +116,7 @@ REBOOT=0
|
||||
# move /flash and /storage to /sysroot
|
||||
/bin/busybox mount --move /flash /sysroot/flash
|
||||
|
||||
if [ ! "$INSTALLATOR" = "yes" ]; then
|
||||
if [ ! "$INSTALLER" = "yes" ]; then
|
||||
/bin/busybox mount --move /storage /sysroot/storage
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user