dracut-vl.spec 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. %bcond_with systemd
  2. %define dracutlibdir %{_prefix}/lib/dracut
  3. %bcond_without doc
  4. # We ship a .pc file but don't want to have a dep on pkg-config. We
  5. # strip the automatically generated dep here and instead co-own the
  6. # directory.
  7. %global __requires_exclude pkg-config
  8. # Variables must be defined
  9. %define with_nbd 0
  10. %define dist_free_release 1
  11. Name: dracut
  12. Summary: Initramfs generator using udev
  13. Version: 102
  14. Release: %{dist_free_release}%{?_dist_release}%{?with_systemd:.systemd}
  15. Group: system,admin-tools
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. # The entire source code is GPLv2+
  19. # except install/* which is LGPLv2+
  20. License: GPLv2+ and LGPLv2+
  21. URL: https://github.com/dracut-ng/dracut-ng/wiki/
  22. Source0: https://github.com/dracut-ng/dracut-ng/archive/refs/tags/%{version}.tar.gz#/dracut-%{version}.tar.gz
  23. Source1: https://www.gnu.org/licenses/lgpl-2.1.txt
  24. Source2000: vine.conf
  25. Source2001: vine-module-setup.sh
  26. Source2002: vine-usb-pre-udev.sh
  27. Source2003: ChangeLog.fedora
  28. Source2004: pre-convertfs.sh
  29. # feat(hwdb): add hwdb module to install hwdb.bin on demand
  30. # Author: Pavel Valena <pvalena@redhat.com>
  31. Patch0001: 0001-feat-hwdb-add-hwdb-module-to-install-hwdb.bin-on-dem.patch
  32. # fix(rngd): install system service file
  33. # Author: Pavel Valena <pvalena@redhat.com>
  34. Patch0002: 0002-fix-rngd-install-system-service-file.patch
  35. # revert: "fix(install.d): correctly install pre-genned image and die if no args"
  36. # Author: Pavel Valena <pvalena@redhat.com>
  37. Patch0003: 0003-revert-fix-install.d-correctly-install-pre-genned-im.patch
  38. # feat(kernel-install): do nothing when $KERNEL_INSTALL_INITRD_GENERATOR says so
  39. # Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
  40. Patch0004: 0004-feat-kernel-install-do-nothing-when-KERNEL_INSTALL_I.patch
  41. # fix(kernel-install): do not generate an initrd when one was specified
  42. # Author: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
  43. Patch0005: 0005-fix-kernel-install-do-not-generate-an-initrd-when-on.patch
  44. # fix(crypt): decryption when rd.luks.name is set
  45. # Author: Laszlo Gombos <laszlo.gombos@gmail.com>
  46. Patch0006: 0006-fix-crypt-decryption-when-rd.luks.name-is-set.patch
  47. Patch1000: dracut-050-resolve-symlink.patch
  48. Patch1001: dracut-pre-convertfs.patch
  49. BuildRequires: bash git
  50. BuildRequires: kmod-devel >= 15
  51. %if 0%{?fedora} || 0%{?rhel}
  52. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  53. BuildRequires: pkgconfig
  54. %endif
  55. %if 0%{?fedora}
  56. BuildRequires: bash-completion
  57. %endif
  58. %if 0%{?suse_version}
  59. BuildRoot: %{_tmppath}/%{name}-%{version}-build
  60. %endif
  61. %if %{with doc}
  62. BuildRequires: docbook-style-xsl docbook-dtds libxslt
  63. BuildRequires: asciidoc
  64. %endif
  65. # no "provides", because dracut does not offer
  66. # all functionality of the obsoleted packages
  67. Obsoletes: mkinitrd < 6.0.94
  68. Obsoletes: mkinitrd-devel < 6.0.94
  69. Obsoletes: nash < 6.0.94
  70. %if 0%{?fedora} > 16 || 0%{?rhel} > 6
  71. BuildRequires: systemd-units
  72. %endif
  73. Obsoletes: dracut-kernel < 005
  74. Provides: dracut-kernel = %{version}-%{release}
  75. Obsoletes: dracut < 030
  76. Obsoletes: dracut-norescue < 030
  77. Provides: dracut-norescue = %{version}-%{release}
  78. Requires: bash >= 4
  79. Requires: coreutils
  80. Requires: cpio
  81. Requires: filesystem >= 2.1.0
  82. Requires: findutils
  83. Requires: grep
  84. Requires: kmod
  85. Requires: sed
  86. Requires: xz
  87. Requires: xz-lzma-compat
  88. Requires: zstd
  89. Requires: gzip
  90. Requires: procps
  91. Requires: udev > 166
  92. Requires: util-linux-ng >= 2.21
  93. Conflicts: mdadm < 3.2.6-14
  94. %description
  95. dracut contains tools to create a bootable initramfs for 2.6 Linux kernels.
  96. Unlike existing implementations, dracut does hard-code as little as possible
  97. into the initramfs. dracut contains various modules which are driven by the
  98. event-based udev. Having root on MD, DM, LVM2, LUKS is supported as well as
  99. NFS, iSCSI, NBD, FCoE with the dracut-network package.
  100. %package network
  101. Summary: dracut modules to build a dracut initramfs with network support
  102. Group: system
  103. %if 0%{?_module_build}
  104. # In the module-build-service, we have pieces of dracut provided by different
  105. # modules ("base-runtime" provides most functionality, but we need
  106. # dracut-network in "installer". Since these two modules build with separate
  107. # dist-tags, we need to reduce this strict requirement to ignore the dist-tag.
  108. Requires: %{name} >= %{version}-%{dist_free_release}
  109. %else
  110. Requires: %{name} = %{version}-%{release}
  111. %endif
  112. Requires: iputils
  113. Requires: iproute
  114. Requires: dhclient
  115. Obsoletes: dracut-generic < 008
  116. Provides: dracut-generic = %{version}-%{release}
  117. %description network
  118. This package requires everything which is needed to build a generic
  119. all purpose initramfs with network support with dracut.
  120. %if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
  121. %package fips
  122. Summary: dracut modules to build a dracut initramfs with an integrity check
  123. Group: system,security
  124. Requires: %{name} = %{version}-%{release}
  125. Requires: hmaccalc
  126. %if 0%{?rhel} > 5
  127. # For Alpha 3, we want nss instead of nss-softokn
  128. Requires: nss
  129. %else
  130. Requires: nss-softokn
  131. %endif
  132. Requires: nss-softokn-freebl
  133. %description fips
  134. This package requires everything which is needed to build an
  135. initramfs with dracut, which does an integrity check.
  136. %endif
  137. %package fips-aesni
  138. Summary: dracut modules to build a dracut initramfs with an integrity check with aesni-intel
  139. Group: system,security
  140. Requires: %{name}-fips = %{version}-%{release}
  141. %description fips-aesni
  142. This package requires everything which is needed to build an
  143. initramfs with dracut, which does an integrity check and adds the aesni-intel kernel module.
  144. %package caps
  145. Summary: dracut modules to build a dracut initramfs which drops capabilities
  146. Group: system
  147. Requires: %{name} = %{version}-%{release}
  148. Requires: libcap
  149. %description caps
  150. This package requires everything which is needed to build an
  151. initramfs with dracut, which drops capabilities.
  152. %package live
  153. Summary: dracut modules to build a dracut initramfs with live image capabilities
  154. Group: system
  155. %if 0%{?_module_build}
  156. # See the network subpackage comment.
  157. Requires: %{name} >= %{version}-%{dist_free_release}
  158. %else
  159. Requires: %{name} = %{version}-%{release}
  160. %endif
  161. Requires: %{name}-network = %{version}-%{release}
  162. Requires: tar gzip coreutils bash device-mapper curl
  163. %description live
  164. This package requires everything which is needed to build an
  165. initramfs with dracut, with live image capabilities, like Live CDs.
  166. %package config-generic
  167. Summary: dracut configuration to turn off hostonly image generation
  168. Group: system
  169. Requires: %{name} = %{version}-%{release}
  170. Obsoletes: dracut-nohostonly < 030
  171. Provides: dracut-nohostonly = %{version}-%{release}
  172. %description config-generic
  173. This package provides the configuration to turn off the host specific initramfs
  174. generation with dracut and generates a generic image by default.
  175. %package config-rescue
  176. Summary: dracut configuration to turn on rescue image generation
  177. Group: system
  178. Requires: %{name} = %{version}-%{release}
  179. Obsoletes: dracut < 030
  180. %description config-rescue
  181. This package provides the configuration to turn on the rescue initramfs
  182. generation with dracut.
  183. %package tools
  184. Summary: dracut tools to build the local initramfs
  185. Group: admin-tools
  186. Requires: %{name} = %{version}-%{release}
  187. %description tools
  188. This package contains tools to assemble the local initrd and host configuration.
  189. %debug_package
  190. %prep
  191. %autosetup -n %{name}-ng-%{version} -S git
  192. cp %{SOURCE1} .
  193. cp %{SOURCE2003} .
  194. %build
  195. %configure \
  196. %if %{defined _unitdir}
  197. --systemdsystemunitdir=%{_unitdir} \
  198. %endif
  199. --bashcompletiondir=$(pkg-config \
  200. --variable=completionsdir bash-completion) \
  201. --libdir=%{_prefix}/lib \
  202. %if %{without doc}
  203. --disable-documentation \
  204. %endif
  205. ${NULL}
  206. make %{?_smp_mflags}
  207. %install
  208. rm -rf -- $RPM_BUILD_ROOT
  209. %make_install %{?_smp_mflags} \
  210. libdir=%{_prefix}/lib
  211. echo "DRACUT_VERSION=%{version}-%{release}" > $RPM_BUILD_ROOT/%{dracutlibdir}/dracut-version.sh
  212. %if 0%{?fedora} == 0 && 0%{?rhel} == 0 && 0%{?suse_version} == 0
  213. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/01fips
  214. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/02fips-aesni
  215. %endif
  216. # we do not support dash in the initramfs
  217. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00dash
  218. # we do not support mksh in the initramfs
  219. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/00mksh
  220. # remove architecture specific modules
  221. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/80cms
  222. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/81cio_ignore
  223. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/91zipl
  224. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd
  225. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dasd_mod
  226. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95dcssblk
  227. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95zfcp
  228. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/95znet
  229. %if %{defined _unitdir}
  230. # with systemd IMA and selinux modules do not make sense
  231. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/96securityfs
  232. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/97masterkey
  233. rm -fr -- $RPM_BUILD_ROOT/%{dracutlibdir}/modules.d/98integrity
  234. %endif
  235. mkdir -p $RPM_BUILD_ROOT/boot/dracut
  236. mkdir -p $RPM_BUILD_ROOT/var/lib/dracut/overlay
  237. mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log
  238. touch $RPM_BUILD_ROOT%{_localstatedir}/log/dracut.log
  239. mkdir -p $RPM_BUILD_ROOT%{_sharedstatedir}/initramfs
  240. install -m 0644 %{SOURCE2000} %{buildroot}%{dracutlibdir}/dracut.conf.d/01-dist.conf
  241. rm -f $RPM_BUILD_ROOT%{_mandir}/man?/*suse*
  242. %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
  243. install -m 0644 dracut.conf.d/fips.conf.example $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/40-fips.conf
  244. %endif
  245. echo 'hostonly="no"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-generic-image.conf
  246. echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/02-rescue.conf
  247. %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
  248. > $RPM_BUILD_ROOT/etc/system-fips
  249. %endif
  250. # make to load EHCI driver at first
  251. mkdir -p %{buildroot}%{dracutlibdir}/modules.d/70ehci_first
  252. install -m755 %{SOURCE2001} %{buildroot}%{dracutlibdir}/modules.d/70ehci_first/module-setup.sh
  253. install -m755 %{SOURCE2002} %{buildroot}%{dracutlibdir}/modules.d/70ehci_first/usb-pre-udev.sh
  254. # pre-convertfs
  255. install -m755 %{SOURCE2004} %{buildroot}%{dracutlibdir}/modules.d/30convertfs/
  256. %files
  257. %if %{with doc}
  258. %doc README* AUTHORS dracut.html
  259. %endif
  260. %{!?_licensedir:%global license %%doc}
  261. %license COPYING lgpl-2.1.txt
  262. %doc ChangeLog.fedora
  263. %{_bindir}/dracut
  264. %dir %{_datadir}/bash-completion
  265. %dir %{_datadir}/bash-completion/completions
  266. %{_datadir}/bash-completion/completions/dracut
  267. %{_datadir}/bash-completion/completions/lsinitrd
  268. %{_bindir}/lsinitrd
  269. %dir %{dracutlibdir}
  270. %dir %{dracutlibdir}/modules.d
  271. %{dracutlibdir}/dracut-functions.sh
  272. %{dracutlibdir}/dracut-init.sh
  273. %{dracutlibdir}/dracut-functions
  274. %{dracutlibdir}/dracut-version.sh
  275. %{dracutlibdir}/dracut-logger.sh
  276. %{dracutlibdir}/dracut-initramfs-restore
  277. %{dracutlibdir}/dracut-install
  278. %{dracutlibdir}/dracut-util
  279. %{dracutlibdir}/skipcpio
  280. %config(noreplace) %{_sysconfdir}/dracut.conf
  281. %{dracutlibdir}/dracut.conf.d/01-dist.conf
  282. %dir %{_sysconfdir}/dracut.conf.d
  283. %dir %{dracutlibdir}/dracut.conf.d
  284. %dir %{_datadir}/pkgconfig
  285. %{_datadir}/pkgconfig/dracut.pc
  286. %if %{with doc}
  287. %{_mandir}/man8/dracut.8*
  288. %{_mandir}/man8/*service.8*
  289. %{_mandir}/man1/lsinitrd.1*
  290. %{_mandir}/man7/dracut.kernel.7*
  291. %{_mandir}/man7/dracut.cmdline.7*
  292. %{_mandir}/man7/dracut.modules.7*
  293. %{_mandir}/man7/dracut.bootup.7*
  294. %{_mandir}/man5/dracut.conf.5*
  295. %endif
  296. %{dracutlibdir}/modules.d/00bash
  297. %{dracutlibdir}/modules.d/00systemd
  298. %{dracutlibdir}/modules.d/00systemd-network-management
  299. %{dracutlibdir}/modules.d/00warpclock
  300. %{dracutlibdir}/modules.d/01systemd-ac-power
  301. %{dracutlibdir}/modules.d/01systemd-ask-password
  302. %{dracutlibdir}/modules.d/01systemd-bsod
  303. %{dracutlibdir}/modules.d/01systemd-coredump
  304. %{dracutlibdir}/modules.d/01systemd-creds
  305. %{dracutlibdir}/modules.d/01systemd-hostnamed
  306. %{dracutlibdir}/modules.d/01systemd-initrd
  307. %{dracutlibdir}/modules.d/01systemd-integritysetup
  308. %{dracutlibdir}/modules.d/01systemd-journald
  309. %{dracutlibdir}/modules.d/01systemd-ldconfig
  310. %{dracutlibdir}/modules.d/01systemd-modules-load
  311. %{dracutlibdir}/modules.d/01systemd-pcrphase
  312. %{dracutlibdir}/modules.d/01systemd-portabled
  313. %{dracutlibdir}/modules.d/01systemd-pstore
  314. %{dracutlibdir}/modules.d/01systemd-repart
  315. %{dracutlibdir}/modules.d/01systemd-resolved
  316. %{dracutlibdir}/modules.d/01systemd-sysext
  317. %{dracutlibdir}/modules.d/01systemd-sysctl
  318. %{dracutlibdir}/modules.d/01systemd-sysusers
  319. %{dracutlibdir}/modules.d/01systemd-timedated
  320. %{dracutlibdir}/modules.d/01systemd-timesyncd
  321. %{dracutlibdir}/modules.d/01systemd-tmpfiles
  322. %{dracutlibdir}/modules.d/01systemd-udevd
  323. %{dracutlibdir}/modules.d/01systemd-veritysetup
  324. %{dracutlibdir}/modules.d/03modsign
  325. %{dracutlibdir}/modules.d/03rescue
  326. %{dracutlibdir}/modules.d/04watchdog
  327. %{dracutlibdir}/modules.d/04watchdog-modules
  328. %{dracutlibdir}/modules.d/05busybox
  329. %{dracutlibdir}/modules.d/06dbus-broker
  330. %{dracutlibdir}/modules.d/06dbus-daemon
  331. %{dracutlibdir}/modules.d/06rngd
  332. %{dracutlibdir}/modules.d/09dbus
  333. %{dracutlibdir}/modules.d/10i18n
  334. %{dracutlibdir}/modules.d/30convertfs
  335. %{dracutlibdir}/modules.d/45net-lib
  336. %{dracutlibdir}/modules.d/45url-lib
  337. %{dracutlibdir}/modules.d/50drm
  338. %{dracutlibdir}/modules.d/50plymouth
  339. %{dracutlibdir}/modules.d/62bluetooth
  340. # vine
  341. %{dracutlibdir}/modules.d/70ehci_first
  342. %{dracutlibdir}/modules.d/80lvmmerge
  343. %{dracutlibdir}/modules.d/80lvmthinpool-monitor
  344. %{dracutlibdir}/modules.d/80test
  345. %{dracutlibdir}/modules.d/80test-makeroot
  346. %{dracutlibdir}/modules.d/80test-root
  347. %{dracutlibdir}/modules.d/90btrfs
  348. %{dracutlibdir}/modules.d/90crypt
  349. %{dracutlibdir}/modules.d/90dm
  350. %{dracutlibdir}/modules.d/90dmraid
  351. %{dracutlibdir}/modules.d/90kernel-modules
  352. %{dracutlibdir}/modules.d/90kernel-modules-extra
  353. %{dracutlibdir}/modules.d/90lvm
  354. %{dracutlibdir}/modules.d/90mdraid
  355. %{dracutlibdir}/modules.d/90multipath
  356. %{dracutlibdir}/modules.d/90nvdimm
  357. %{dracutlibdir}/modules.d/90numlock
  358. %{dracutlibdir}/modules.d/90overlayfs
  359. %{dracutlibdir}/modules.d/90ppcmac
  360. %{dracutlibdir}/modules.d/90pcmcia
  361. %{dracutlibdir}/modules.d/90qemu
  362. %{dracutlibdir}/modules.d/90systemd-cryptsetup
  363. %{dracutlibdir}/modules.d/91crypt-gpg
  364. %{dracutlibdir}/modules.d/91crypt-loop
  365. %{dracutlibdir}/modules.d/91fido2
  366. %{dracutlibdir}/modules.d/91pcsc
  367. %{dracutlibdir}/modules.d/91pkcs11
  368. %{dracutlibdir}/modules.d/91tpm2-tss
  369. %{dracutlibdir}/modules.d/95debug
  370. %{dracutlibdir}/modules.d/95fstab-sys
  371. %{dracutlibdir}/modules.d/95hwdb
  372. %{dracutlibdir}/modules.d/95lunmask
  373. %{dracutlibdir}/modules.d/95resume
  374. %{dracutlibdir}/modules.d/95rootfs-block
  375. %{dracutlibdir}/modules.d/95terminfo
  376. %{dracutlibdir}/modules.d/95udev-rules
  377. %{dracutlibdir}/modules.d/95virtfs
  378. %{dracutlibdir}/modules.d/95virtiofs
  379. %ifarch s390 s390x
  380. %{dracutlibdir}/modules.d/80cms
  381. %{dracutlibdir}/modules.d/81cio_ignore
  382. %{dracutlibdir}/modules.d/91zipl
  383. %{dracutlibdir}/modules.d/95dasd
  384. %{dracutlibdir}/modules.d/95dasd_mod
  385. %{dracutlibdir}/modules.d/95dcssblk
  386. %{dracutlibdir}/modules.d/95zfcp
  387. %endif
  388. %if %{undefined _unitdir}
  389. %{dracutlibdir}/modules.d/96securityfs
  390. %{dracutlibdir}/modules.d/97masterkey
  391. %{dracutlibdir}/modules.d/98integrity
  392. %endif
  393. %{dracutlibdir}/modules.d/97biosdevname
  394. %{dracutlibdir}/modules.d/98dracut-systemd
  395. %{dracutlibdir}/modules.d/98ecryptfs
  396. %{dracutlibdir}/modules.d/98pollcdrom
  397. %{dracutlibdir}/modules.d/98selinux
  398. %{dracutlibdir}/modules.d/98syslog
  399. %{dracutlibdir}/modules.d/98usrmount
  400. %{dracutlibdir}/modules.d/99base
  401. %{dracutlibdir}/modules.d/99memstrack
  402. %{dracutlibdir}/modules.d/99fs-lib
  403. %{dracutlibdir}/modules.d/99shutdown
  404. %{dracutlibdir}/modules.d/99squash
  405. %attr(0644,root,root) %ghost %config(missingok,noreplace) %{_localstatedir}/log/dracut.log
  406. %dir %{_sharedstatedir}/initramfs
  407. %if %{defined _unitdir}
  408. %{_unitdir}/dracut-shutdown.service
  409. %{_unitdir}/dracut-shutdown-onfailure.service
  410. %{_unitdir}/sysinit.target.wants/dracut-shutdown.service
  411. %{_unitdir}/dracut-cmdline.service
  412. %{_unitdir}/dracut-initqueue.service
  413. %{_unitdir}/dracut-mount.service
  414. %{_unitdir}/dracut-pre-mount.service
  415. %{_unitdir}/dracut-pre-pivot.service
  416. %{_unitdir}/dracut-pre-trigger.service
  417. %{_unitdir}/dracut-pre-udev.service
  418. %{_unitdir}/initrd.target.wants/dracut-cmdline.service
  419. %{_unitdir}/initrd.target.wants/dracut-initqueue.service
  420. %{_unitdir}/initrd.target.wants/dracut-mount.service
  421. %{_unitdir}/initrd.target.wants/dracut-pre-mount.service
  422. %{_unitdir}/initrd.target.wants/dracut-pre-pivot.service
  423. %{_unitdir}/initrd.target.wants/dracut-pre-trigger.service
  424. %{_unitdir}/initrd.target.wants/dracut-pre-udev.service
  425. %endif
  426. %{_prefix}/lib/kernel/install.d/50-dracut.install
  427. %files network
  428. %defattr(-,root,root,0755)
  429. %{dracutlibdir}/modules.d/01systemd-networkd
  430. %{dracutlibdir}/modules.d/35connman
  431. %{dracutlibdir}/modules.d/35network-legacy
  432. %{dracutlibdir}/modules.d/35network-manager
  433. %{dracutlibdir}/modules.d/40network
  434. %{dracutlibdir}/modules.d/90kernel-network-modules
  435. %{dracutlibdir}/modules.d/95fcoe
  436. %{dracutlibdir}/modules.d/95iscsi
  437. %{dracutlibdir}/modules.d/90qemu-net
  438. %{dracutlibdir}/modules.d/95cifs
  439. %{dracutlibdir}/modules.d/95nbd
  440. %{dracutlibdir}/modules.d/95nfs
  441. %{dracutlibdir}/modules.d/95nvmf
  442. %{dracutlibdir}/modules.d/95ssh-client
  443. %{dracutlibdir}/modules.d/45ifcfg
  444. %ifarch s390 s390x
  445. %{dracutlibdir}/modules.d/95znet
  446. %endif
  447. %{dracutlibdir}/modules.d/95fcoe-uefi
  448. %{dracutlibdir}/modules.d/99uefi-lib
  449. %if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version}
  450. %files fips
  451. %defattr(-,root,root,0755)
  452. %{dracutlibdir}/modules.d/01fips
  453. %{dracutlibdir}/dracut.conf.d/40-fips.conf
  454. %config(missingok) /etc/system-fips
  455. %files fips-aesni
  456. %defattr(-,root,root,0755)
  457. %{dracutlibdir}/modules.d/02fips-aesni
  458. %endif
  459. %files caps
  460. %defattr(-,root,root,0755)
  461. %{dracutlibdir}/modules.d/02caps
  462. %files live
  463. %defattr(-,root,root,0755)
  464. %{dracutlibdir}/modules.d/99img-lib
  465. %{dracutlibdir}/modules.d/90dmsquash-live
  466. %{dracutlibdir}/modules.d/90dmsquash-live-autooverlay
  467. %{dracutlibdir}/modules.d/90dmsquash-live-ntfs
  468. %{dracutlibdir}/modules.d/90livenet
  469. %files tools
  470. %defattr(-,root,root,0755)
  471. %if %{with doc}
  472. %doc %{_mandir}/man8/dracut-catimages.8*
  473. %endif
  474. %{_bindir}/dracut-catimages
  475. %dir /boot/dracut
  476. %dir /var/lib/dracut
  477. %dir /var/lib/dracut/overlay
  478. %files config-generic
  479. %defattr(-,root,root,0755)
  480. %{dracutlibdir}/dracut.conf.d/02-generic-image.conf
  481. %files config-rescue
  482. %defattr(-,root,root,0755)
  483. %{dracutlibdir}/dracut.conf.d/02-rescue.conf
  484. %{_prefix}/lib/kernel/install.d/51-dracut-rescue.install
  485. %changelog
  486. * Wed Jul 03 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 102-1
  487. - new upstream release.
  488. * Sun May 14 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 059-1
  489. - new upstream release.
  490. * Tue Apr 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 053-1
  491. - new upstream release.
  492. - added O:mkinitrd, nash.
  493. * Fri Apr 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-3
  494. - added support for recursive symlink of /sbin/init.
  495. * Thu Apr 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-2
  496. - fixed path to rngd.
  497. - truncated %%changelog: old logs are moved to ChangeLog.fedora.
  498. * Wed Apr 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 050-1
  499. - new upstream release.
  500. * Fri Sep 13 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 049-2
  501. - imported Patch100 and 101 from rawhide.
  502. - added R:xz-lzma-compat.
  503. * Tue Jan 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 049-1
  504. - new upstream release.
  505. * Fri Sep 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-10
  506. - fixed release number.
  507. * Thu Sep 14 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-9
  508. - imported warpclock scripts from openSUSE.
  509. * Tue Sep 12 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 046-8
  510. - initial build for Vine Linux.