diff --git a/phytium-ota/scripts/rootfs_ota b/phytium-ota/scripts/rootfs_ota index 53f700a045fbee0a83d35ae37938378925bfc1f1..6c2b81d1f422006e8207b2048ad96faa2956bd9e 100755 --- a/phytium-ota/scripts/rootfs_ota +++ b/phytium-ota/scripts/rootfs_ota @@ -59,7 +59,7 @@ rootfs_configure() { echo DISTRIB_ID=Phytium > /etc/lsb-release echo DISTRIB_RELEASE=1.0 >> /etc/lsb-release echo DISTRIB_CODENAME=1.0 >> /etc/lsb-release - echo "DISTRIB_DESCRIPTION="Phytium Pi OS "$Phytiumpios_version""" >> /etc/lsb-release + echo "DISTRIB_DESCRIPTION=\"Phytium Pi OS "$Phytiumpios_version"\"" >> /etc/lsb-release sed -i 's/ID=Phytium/ID=debian/' "/usr/lib/os-release" echo '#!/bin/sh' > /etc/update-motd.d/10-help-text echo 'printf "\n"' >> /etc/update-motd.d/10-help-text @@ -86,7 +86,7 @@ rootfs_configure() { sudo systemctl enable pwm-fan.service # set default greeter to lightdm-gtk-greeter if grep -q '^greeter-session=ukui-greeter' "/etc/lightdm/lightdm.conf"; then - sed -i"s/^greeter-session=ukui-greeter/#&/" /etc/lightdm/lightdm.conf + sed -i "s/^greeter-session=ukui-greeter/#&/" /etc/lightdm/lightdm.conf fi # set the configuration of vim for root if [ -f /root/.vimrc ]; then @@ -111,4 +111,4 @@ rootfs_configure() { } # rootfs_configure install_and_remove_packages -rootfs_configure +rootfs_configure $1 diff --git a/phyuboot/fip-all-optee-4GB.bin b/phyuboot/fip-all-optee-4GB.bin index ecbe8c3503c1d054b3bb9724123154664fd3bd02..6f58ceec1000893203e4a93a7eec4405a20379bb 100644 Binary files a/phyuboot/fip-all-optee-4GB.bin and b/phyuboot/fip-all-optee-4GB.bin differ