- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/dracut-006_lzma.patch
- cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/dracut-006_remove_cdrom_wait.patch
-
- cd $(DIR_APP) && cp -vf $(DIR_SRC)/src/dracut/switch_root.c .
-
- cd $(DIR_APP) && make $(MAKETUNING) WITH_SWITCH_ROOT=1
- cd $(DIR_APP) && make install WITH_SWITCH_ROOT=1 \
- sbindir=/sbin sysconfdir=/etc
-
- cp -vf $(DIR_SRC)/src/dracut/dracut.conf /etc/dracut.conf.d/
-
- rm -rf /usr/share/dracut/modules.d/*{dash,fips,redhat-i18n,rpmversion,network,ifcfg,plymouth,btrfs,crypt,dm,dmraid,dmsquash-live,lvm,mdraid,multipath,dasd,dasd_mod,fcoe,iscsi,nbd,nfs,resume,uswsusp,zfcp,znet,selinux}