Преглед на файлове

modify buildroot config

daozhongwan преди 3 години
родител
ревизия
fda220bd2b

+ 1 - 1
buildroot-external/board/arkmicro/ark1668e_devb_emmc/rootfs_overlay/etc/init.d/S03appinit

@@ -1,5 +1,5 @@
 #!/bin/sh
-
+console::respawn:-/bin/sh
 start() {
 	if  [ ! -d /data ];  then
 	mkdir -p /data

+ 0 - 38
buildroot-external/board/arkmicro/ark1668e_devb_emmc/rootfs_overlay/etc/init.d/S04qtlaunch

@@ -1,38 +0,0 @@
-export QTDIR=/usr
-export QT_QPA_FONTDIR=$QTDIR/lib/qt/fonts
-#export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
-export QT_QPA_PLATFORM=eglfs
-export QT_QPA_EGLFS_INTEGRATION=eglfs_mali
-export QT_QPA_EGLFS_DEBUG=1
-export QT_QPA_EGLFS_FORCEVSYNC=1
-#export QT_QPA_EGLFS_FORCE888=1
-export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/lib/qt/plugins
-export QT_QPA_GENERIC_PLUGINS=evdevtouch:/dev/input/event0
-export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
-export MALI_NOCLEAR=1
-
-start() {
-	eval `dbus-launch --auto-syntax`
-	DashBoard &
-}
-
-stop() {
-	echo "stop"
-}
-
-restart() {
-	stop
-	sleep 1
-	start
-}
-
-case "$1" in
-	start|stop|restart)
-		"$1";;
-	reload)
-		# Restart, since there is no true "reload" feature.
-		restart;;
-	*)
-		echo "Usage: $0 {start|stop|restart|reload}"
-		exit 1
-esac

+ 3 - 1
buildroot-external/configs/ark1668e_devb_emmc_defconfig

@@ -3,7 +3,8 @@ BR2_cortex_a7=y
 BR2_ARM_FPU_NEON=y
 BR2_TOOLCHAIN_EXTERNAL=y
 BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y
-BR2_TARGET_GENERIC_ROOT_PASSWD="root"
+# BR2_TARGET_ENABLE_ROOT_LOGIN is not set
+# BR2_TARGET_GENERIC_GETTY is not set
 # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
 BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_ARK_PATH)/board/arkmicro/ark1668e_devb_emmc/rootfs_overlay"
 BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_ARK_PATH)/board/arkmicro/ark1668e_devb_emmc/post_build.sh"
@@ -56,6 +57,7 @@ BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_ROOTFS_EXT2_SIZE="500M"
 # BR2_TARGET_ROOTFS_TAR is not set
+BR2_PACKAGE_HOST_MKPASSWD=y
 BR2_LIBARKAPI_ARK1668E=y
 BR2_PACKAGE_LIBDNS_SD=y
 BR2_PACKAGE_LIBMALI=y