blob: 206ff095ae10ad94fd1f07e5c3ed2bac4f36733e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
Name: mkdevnodes
Summary: Fast MAKEDEV replacement
Version: 0.2
Release: 1
Group: Applications/System
License: GPLv2
Source0: mkdevnodes-%{version}.tar.gz
%description
A replacement for MAKEDEV. Instead of parsing hard-coded text files, mkdevnodes uses the information provided in sysfs to generate device nodes with mknod() as needed, as well as a few base device nodes that always need to be present. Mkdevnodes is thus extremely fast, as it doesn not need to read and/or parse text files from the root filesystem.
%prep
%setup -q -n %{name}-%{version}
%build
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%files
%defattr(-,root,root,-)
/sbin/mkdevnodes
|