diff --git a/02_build_img.sh b/02_build_img.sh index 4804e3a..54d3d4b 100755 --- a/02_build_img.sh +++ b/02_build_img.sh @@ -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 diff --git a/mk_xfce.sh b/mk_xfce.sh index 2fa12f4..0109666 100755 --- a/mk_xfce.sh +++ b/mk_xfce.sh @@ -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