build: Introduce --with-dracut=yesbutnoconf
It's actually just easier for build systems (e.g. rpm-ostree) using dracut to use `--add ostree` rather than indirecting through the conf file. This makes it easier for yum-managed systems to install ostree without side effects. Closes: #279 Approved by: gatispaeglis
This commit is contained in:
1 parent
72abe62370
commit
831e9dcdea
3 files changed
+12
-5
No files matched your search
@@ -72,7 +72,7 @@ env NOCONFIGURE=1 ./autogen.sh
|
||||
%configure --disable-silent-rules \
|
||||
--enable-gtk-doc \
|
||||
--with-selinux \
|
||||
--with-dracut
|
||||
--with-dracut=yesbutnoconf
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@@ -94,7 +94,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/ostree
|
||||
%{_sbindir}/ostree-prepare-root
|
||||
%{_sbindir}/ostree-remount
|
||||
%{_sysconfdir}/dracut.conf.d/ostree.conf
|
||||
%dir %{_prefix}/lib/dracut/modules.d/98ostree
|
||||
%{_prefix}/lib/systemd/system/ostree*.service
|
||||
%{_prefix}/lib/dracut/modules.d/98ostree/*
|
||||
|
||||
Reference in new issue
Block a user