Tina linux 如何更改system init
-
Tina linux 如何把system init由procd-init改为busybox-init?
现在在procd-init的情况下可以把系统跑起来。板子是t113。
但是在menuconfig的system init把procd-inti改为busybox-init之后系统就跑不起来了。
请教一下大家,我还需要注意那些配置呢? -
busybox init 需要配置一些选项和 busybox-int-base-files这些东西
主要做这些修改
-CONFIG_SYSTEM_INIT_PROCD=y -# CONFIG_SYSTEM_INIT_BUSYBOX is not set +# CONFIG_SYSTEM_INIT_PROCD is not set +CONFIG_SYSTEM_INIT_BUSYBOX=y -CONFIG_PACKAGE_base-files=y -# CONFIG_BUSYBOX_CONFIG_FEATURE_CALL_TELINIT is not set -# CONFIG_BUSYBOX_CONFIG_INIT is not set -# CONFIG_BUSYBOX_CONFIG_LINUXRC is not set +CONFIG_BUSYBOX_CONFIG_INIT=y +CONFIG_BUSYBOX_CONFIG_LINUXRC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_QUIET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS=y +CONFIG_BUSYBOX_CONFIG_INIT_TERMINAL_TYPE="" +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set -CONFIG_BUSYBOX_CONFIG_LOGGER=y +# CONFIG_BUSYBOX_CONFIG_LOGGER is not set +CONFIG_PACKAGE_busybox-init-base-files=y +CONFIG_BUSYBOX_INIT_BASE_FILES_OPTIONS=y +CONFIG_BUSYBOX_INIT_BASE_FILES_PATH="busybox-init-base-files" +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_LOG is not set +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_LOAD_SCRIPT is not set +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_MODULES is not set -CONFIG_PACKAGE_procd=y - -# -# Configuration -# -# CONFIG_PROCD_SHOW_BOOT is not set -# CONFIG_PROCD_ZRAM_TMPFS is not set -# end of Configuration - +# CONFIG_PACKAGE_procd is not set
-
@yteraa 在 Tina linux 如何更改system init 中说:
busybox init 需要配置一些选项和 busybox-int-base-files这些东西
主要做这些修改
-CONFIG_SYSTEM_INIT_PROCD=y -# CONFIG_SYSTEM_INIT_BUSYBOX is not set +# CONFIG_SYSTEM_INIT_PROCD is not set +CONFIG_SYSTEM_INIT_BUSYBOX=y -CONFIG_PACKAGE_base-files=y -# CONFIG_BUSYBOX_CONFIG_FEATURE_CALL_TELINIT is not set -# CONFIG_BUSYBOX_CONFIG_INIT is not set -# CONFIG_BUSYBOX_CONFIG_LINUXRC is not set +CONFIG_BUSYBOX_CONFIG_INIT=y +CONFIG_BUSYBOX_CONFIG_LINUXRC=y +# CONFIG_BUSYBOX_CONFIG_FEATURE_USE_INITTAB is not set +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SCTTY=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_QUIET=y +CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS=y +CONFIG_BUSYBOX_CONFIG_INIT_TERMINAL_TYPE="" +# CONFIG_BUSYBOX_CONFIG_FEATURE_INIT_MODIFY_CMDLINE is not set -CONFIG_BUSYBOX_CONFIG_LOGGER=y +# CONFIG_BUSYBOX_CONFIG_LOGGER is not set +CONFIG_PACKAGE_busybox-init-base-files=y +CONFIG_BUSYBOX_INIT_BASE_FILES_OPTIONS=y +CONFIG_BUSYBOX_INIT_BASE_FILES_PATH="busybox-init-base-files" +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_LOG is not set +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_LOAD_SCRIPT is not set +# CONFIG_BUSYBOX_INIT_BASE_FILES_RC_MODULES is not set -CONFIG_PACKAGE_procd=y - -# -# Configuration -# -# CONFIG_PROCD_SHOW_BOOT is not set -# CONFIG_PROCD_ZRAM_TMPFS is not set -# end of Configuration - +# CONFIG_PACKAGE_procd is not set
好滴,非常感谢大佬指点[抱拳]
-
@jr_online 你好,有修改成功吗,按照上面修改会报错 :
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号