-
Notifications
You must be signed in to change notification settings - Fork 0
/
kinit-utils.spec
104 lines (83 loc) · 2.55 KB
/
kinit-utils.spec
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Name: kinit-utils
Version: 1.5.25
Release: alt5
Summary: Small utilities built with klibc
License: BSD/GPL
Group: System/Base
Packager: Alexey Gladkov <[email protected]>
Source0: %name-%version.tar
Patch0: klibc.patch
Patch1: md_run.patch
#Patch2: replace.patch
#Patch3: showenv.patch
Patch4: ifconfig-readonly-fs.patch
Patch5: ifconfig-quiet.patch
#Patch6: halt.patch
Patch7: run-init-env.patch
Patch8: ifconfig-ifdown.patch
Patch9: run-init-close-all.patch
Patch10: run-init-reset-signals.patch
# Automatically added by buildreq on Wed Nov 11 2009
BuildRequires: libcap-devel zlib-devel
%description
This package contains a collection of programs that are linked against
klibc. These duplicate some of the functionality of a regular Linux
toolset, but are typically much smaller than their full-function
counterparts. They are intended for inclusion in initramfs images and
embedded systems.
%prep
%setup -q
%patch0 -p0 -b .fix0
%patch1 -p0 -b .fix1
#patch2 -p0 -b .fix2
#patch3 -p0 -b .fix3
%patch4 -p0 -b .fix4
%patch5 -p0 -b .fix5
#patch6 -p0 -b .fix6
%patch7 -p0 -b .fix7
%patch8 -p0 -b .fix8
%patch9 -p0 -b .fix9
%patch10 -p0 -b .fix10
%build
%make_build
%install
%make_install \
bindir=%buildroot/lib/initrd/bin \
install
#ln -s halt %buildroot/lib/initrd/bin/reboot
#ln -s halt %buildroot/lib/initrd/bin/poweroff
rm -f %buildroot/lib/initrd/bin/fstype
%files
/lib/initrd
%changelog
* Sat Apr 29 2017 Alexey Gladkov <[email protected]> 1.5.25-alt5
- Remove halt, replace and showenv.
* Sat Aug 23 2014 Alexey Gladkov <[email protected]> 1.5.25-alt4
- run-init: Reset all signals.
* Sun Jul 20 2014 Alexey Gladkov <[email protected]> 1.5.25-alt3
- run-init: Close all descriptors.
* Mon May 27 2013 Alexey Gladkov <[email protected]> 1.5.25-alt2
- ipconfig: Add -D option.
* Thu Feb 09 2012 Alexey Gladkov <[email protected]> 1.5.25-alt1
- Update kinit sources upto klibc-1.5.25-28-gdfd907c.
- replace:
+ Add posix character classes;
+ Add -r (revert) option;
+ Fix bugs.
- showenv:
+ Add -s (shell) option;
- Drop 'fstype' unused utility.
* Tue Jan 03 2012 Alexey Gladkov <[email protected]> 1.5.17-alt2
- run-init:
+ Add -e option.
* Tue Apr 06 2010 Alexey Gladkov <[email protected]> 1.5.17-alt1
- Update sources.
- Add halt utility.
* Fri Mar 05 2010 Alexey Gladkov <[email protected]> 1.5.15-alt3
- ipconfig:
+ Add -r option;
+ Add -q option.
* Thu Nov 12 2009 Alexey Gladkov <[email protected]> 1.5.15-alt2
- Fix build with new kernel headers.
* Tue Nov 10 2009 Alexey Gladkov <[email protected]> 1.5.15-alt1
- First build for Sisyphus.