integ/config-files/io-scheduler/centos/io-scheduler.spec
Scott Little f550b7e6c2 Relocate io-scheduler to stx-integ/config-files/io-scheduler
Move content from stx-utils into stx-integ or stx-update

Packages will be relocated to

stx-update:
    enable-dev-patch
    extras

stx-integ:
    config-files/
        io-scheduler

    filesystem/
        filesystem-scripts

    grub/
        grubby

    logging/
        logmgmt

    tools/
        collector
        monitor-tools

    tools/engtools/
        hostdata-collectors
        parsers

    utilities/
        build-info
        branding   (formerly wrs-branding)
        platform-util

Change-Id: Id6b1984eb421278610709eea54e055de5269bf18
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 12:23:51 -04:00

30 lines
670 B
RPMSpec

Summary: CGCS IO Scheduler Configuration
Name: io-scheduler
Version: 1.0
Release: %{tis_patch_ver}%{?_tis_dist}
License: Apache-2.0
Group: base
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: 60-io-scheduler.rules
Source1: LICENSE
%define udev_rules_d %{_sysconfdir}/udev/rules.d
%description
CGCS io scheduler configuration and tuning.
%install
mkdir -p %{buildroot}%{udev_rules_d}
install -m 644 %{SOURCE0} %{buildroot}%{udev_rules_d}/60-io-scheduler.rules
%post
/bin/udevadm control --reload-rules
/bin/udevadm trigger --type=devices --subsystem-match=block
%files
%license ../SOURCES/LICENSE
%defattr(-,root,root,-)
%{_sysconfdir}/udev/rules.d