upowerd now alse can run

This commit is contained in:
superconvert 2022-10-22 16:48:45 +08:00
parent 643a60907d
commit 7d2f6a77e3
2 changed files with 5 additions and 2 deletions

View File

@ -358,6 +358,9 @@ cat - > ${diskfs}/etc/init.d/rcS << EOF
#!/bin/sh
echo -e "\n“${title}”\n"
# 必须设置这个 /usr/libexe/upowerd 才能启动,否则,就会提示 "name lost, exiting"
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/usr/local/var/run/dbus/system_bus_socket
# 测试驱动加载
cd /lib/modules && insmod hello_world.ko

View File

@ -775,10 +775,10 @@ llvm_build() {
common_build xxf86vm ${XXF86VM_SRC_DIR}
# 编译 xinit
common_build xinit ${XINIT_SRC_DIR}
# 编译 xinput ( 输入设备探测 )
common_build xinput ${XINPUT_SRC_DIR}
# 编译 xi ( 问题解决见上面的注释 )
common_build xi ${XI_SRC_DIR}
# 编译 xinput ( 输入设备探测 )
common_build xinput ${XINPUT_SRC_DIR}
# 编译 xtst
common_build xtst ${XTST_SRC_DIR}
# 编译 xkbcommon