Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve installation process #171

Merged
merged 3 commits into from
Jun 14, 2023
Merged

Improve installation process #171

merged 3 commits into from
Jun 14, 2023

Commits on Jun 14, 2023

  1. Makefile: Implement several improvements to SCST Makefiles

    1. Correct a typo, changing `make release` to `make 2release`.
    2. Add information about package-related targets to the help section.
    3. Remove `dev_handler` directory during the uninstall process.
    4. Eliminate the non-existent `tgt` target from the PHONY targets.
    5. Introduce SCST_MOD_DIR and SCST_DH_MOD_DIR as helper variables.
    lnocturno committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    4b0f05a View commit details
    Browse the repository at this point in the history
  2. Makefile: Specify the installation directory for SCST modules explicitly

    This patch fixes the installation process for Linux kernels where the
    default value of INSTALL_MOD_DIR differs from `extra`.
    
    For instance, it unbreaks `make rpm` against Fedora's kernels, where
    INSTALL_MOD_DIR is set to `updates`.
    lnocturno committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    af599ee View commit details
    Browse the repository at this point in the history
  3. scst/src/Makefile: Fix depmod warnings during installation process

    This patch fixes the following warnings:
    
      /lib/.../scst_cdrom.ko needs unknown symbol scst_obtain_device_parameters
      /lib/.../scst_cdrom.ko needs unknown symbol scst_unregister_dev_driver
      ...
    
    These warnings were caused by an incorrect module installation order:
    the SCST module was being installed after the device handler modules
    on which they depend. This patch rectifies the issue by altering the
    order in which the modules are installed.
    
    Additionally, this patch fixes the missing signatures for the device
    handler modules.
    lnocturno committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    289fdbc View commit details
    Browse the repository at this point in the history