-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake-initrd-busybox.spec
68 lines (47 loc) · 1.46 KB
/
make-initrd-busybox.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
Name: make-initrd-busybox
Version: 1.32.1
Release: alt2
Summary: Busybox for make-initrd
License: GPL-2.0-or-later
Group: System/Base
Source0: %name-%version.tar
BuildRequires: libtirpc-devel
%description
Busybox (%version) for make-initrd.
%prep
%setup
%build
sed -r \
-e 's#@includedir@#%{_includedir}#g' \
busybox-config > busybox/.config
cd busybox
%make_build
%install
mkdir -p -- %buildroot/lib/initrd/var/run
cd busybox
%make install CONFIG_PREFIX=%buildroot/lib/initrd
cd %buildroot/lib/initrd
ln -s ../usr/bin/readlink bin/readlink
ln -s ../usr/sbin/chroot sbin/chroot
%files
/lib/initrd/*
%changelog
* Mon Jan 11 2021 Alexey Gladkov <[email protected]> 1.32.1-alt2
- Fix build under srpm_cleanup (mike@).
* Sat Jan 02 2021 Alexey Gladkov <[email protected]> 1.32.1-alt1
- New busybox version (1.32.1).
- Update License tag.
* Wed Apr 17 2019 Alexey Gladkov <[email protected]> 1.28.1-alt2
- Add switch_root.
* Mon Mar 26 2018 Alexey Gladkov <[email protected]> 1.28.1-alt1
- New busybox version (1.28.1).
* Thu Mar 16 2017 Alexey Gladkov <[email protected]> 1.24.2-alt2
- Add setsid, timeout utilities.
* Tue May 03 2016 Alexey Gladkov <[email protected]> 1.24.2-alt1
- New busybox version (1.24.2).
* Wed Nov 18 2015 Alexey Gladkov <[email protected]> 1.24.1-alt1
- New busybox version (1.24.1).
* Fri Jul 04 2014 Alexey Gladkov <[email protected]> 0.2-alt1
- Add more utilities.
* Wed Mar 13 2013 Alexey Gladkov <[email protected]> 0.1-alt1
- Initial.