rt-net / RaspberryPiMouse

Raspberry Pi Mouse Device Driver
Other
60 stars 455 forks source link

Update build install script name to match the current situation #75

Closed Tiryoh closed 2 years ago

Tiryoh commented 3 years ago

What does this implement/fix?

現状のインストールスクリプトには"raspbian"や"ubuntu"のようなキーワードが含まれ、OSによってスクリプトを使い分けるように見受けられます。 しかしながら実際にはLinuxカーネルのヘッダファイルのインストール方法によってスクリプトが使い分けられているため、現状にあわせた名前に変更します。 この変更後もビルドする際は utils/build_install.bash を実行するのみで、ほとんどのユーザの操作は変わりません。

The current installation script file name includes keywords such as "raspbian" and "ubuntu" and seems to be separate for different operating systems. However, the scripts are separated according to the installation method of the linux header file, so this PR renames them to match the current situation. Most users will still only need to run utils/build_install.bash to build.

before after
build_install.raspi4ubuntu.bash build_install_header_from_apt_raspi4.bash
build_install.ubuntu14.bash build_install_header_from_apt_raspi2.bash
build_install.raspbian.bash build_install_header_from_source_raspi2.bash
N/A build_install_header_from_source_raspi4.bash

Does this close any currently open issues?

No

How has this been tested?

以下の構成で実行されるスクリプト名を確認しました。

Checked the script name to be executed in the following configuration.

Raspberry Pi Mouse Raspberry Pi OS Script
V3 4 Model B Ubuntu 18.04 build_install_header_from_apt_raspi4.bash
V3 4 Model B Raspberry Pi OS Buster build_install_header_from_apt_raspi4.bash
V3 3 Model B Ubuntu 18.04 build_install_header_from_apt_raspi2.bash
V3 3 Model B Raspberry Pi OS Buster build_install_header_from_apt_raspi2.bash
V3 3 Model B Raspberry Pi OS Buster (Custom Kernel) build_install_header_from_source_raspi2.bash
V3 4 Model B Raspberry Pi OS Buster (Custom Kernel) build_install_header_from_source_raspi4.bash

2021-10-25-144118

Any other comments?

Checklists