busybox-initramfs: rename installator to installer

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-03 18:43:26 +02:00
parent 5186357683
commit b231b357db

View File

@ -3,7 +3,7 @@
UPDATE_DIR=/storage/.update UPDATE_DIR=/storage/.update
IMAGE_SYSTEM="SYSTEM" IMAGE_SYSTEM="SYSTEM"
IMAGE_INSTALLATOR="INSTALLATOR" IMAGE_INSTALLER="INSTALLER"
IMAGE_KERNEL="KERNEL" IMAGE_KERNEL="KERNEL"
REBOOT=0 REBOOT=0
@ -27,15 +27,15 @@ REBOOT=0
FASTBOOT=yes FASTBOOT=yes
;; ;;
installer) installer)
INSTALLATOR=yes INSTALLER=yes
;; ;;
esac esac
done done
if [ ! "$INSTALLATOR" = "yes" ]; then if [ ! "$INSTALLER" = "yes" ]; then
IMAGE="$IMAGE_SYSTEM" IMAGE="$IMAGE_SYSTEM"
else else
IMAGE="$IMAGE_INSTALLATOR" IMAGE="$IMAGE_INSTALLER"
fi fi
if test "$FASTBOOT" = yes; then if test "$FASTBOOT" = yes; then
@ -93,11 +93,11 @@ REBOOT=0
mount_part "$boot" "/flash" "ro,noatime" mount_part "$boot" "/flash" "ro,noatime"
if [ ! "$INSTALLATOR" = "yes" ]; then if [ ! "$INSTALLER" = "yes" ]; then
mount_part "$disk" "/storage" "rw,noatime" mount_part "$disk" "/storage" "rw,noatime"
update "Kernel" "$IMAGE_KERNEL" "/flash/$IMAGE_KERNEL" update "Kernel" "$IMAGE_KERNEL" "/flash/$IMAGE_KERNEL"
update "System" "$IMAGE_SYSTEM" "/flash/$IMAGE_SYSTEM" 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 if test "$REBOOT" -eq 1; then
echo "System reboots now..." && \ echo "System reboots now..." && \
@ -116,7 +116,7 @@ REBOOT=0
# move /flash and /storage to /sysroot # move /flash and /storage to /sysroot
/bin/busybox mount --move /flash /sysroot/flash /bin/busybox mount --move /flash /sysroot/flash
if [ ! "$INSTALLATOR" = "yes" ]; then if [ ! "$INSTALLER" = "yes" ]; then
/bin/busybox mount --move /storage /sysroot/storage /bin/busybox mount --move /storage /sysroot/storage
fi fi