make bzip2 optional
parent
cf38fc7389
commit
b7ddf6c1d8
|
@ -65,7 +65,6 @@ Obsoletes: dracut-kernel < 005
|
|||
Provides: dracut-kernel = %{version}-%{release}
|
||||
|
||||
Requires: bash
|
||||
Requires: bzip2
|
||||
Requires: coreutils
|
||||
Requires: cpio
|
||||
Requires: filesystem >= 2.1.0
|
||||
|
|
|
@ -100,8 +100,15 @@ install() {
|
|||
# remove unnecessary files
|
||||
rm -f "${initdir}${kbddir}/consoletrans/utflist"
|
||||
find "${initdir}${kbddir}/" -name README\* -delete
|
||||
find "${initdir}${kbddir}/" -name '*.gz' -print -quit \
|
||||
| while read line; do
|
||||
dracut_install gzip
|
||||
done
|
||||
|
||||
dracut_install gzip bzip2
|
||||
find "${initdir}${kbddir}/" -name '*.bz2' -print -quit \
|
||||
| while read line; do
|
||||
dracut_install bzip2
|
||||
done
|
||||
}
|
||||
|
||||
install_local_i18n() {
|
||||
|
|
|
@ -17,7 +17,7 @@ install() {
|
|||
dracut_install tar gzip dd
|
||||
dracut_install -o cpio xz
|
||||
# TODO: make this conditional on a cmdline flag / config option
|
||||
# dracut_install -o bzip2
|
||||
dracut_install -o bzip2
|
||||
inst "$moddir/img-lib.sh" "/lib/img-lib.sh"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue