Re: Packaging question: Rebuild initramfs after adding to dracut.conf.d

2021-02-03 Thread Qiyu Yan
Eric Edens via devel 于 2021年2月4日周四 上午10:54写道: > I'm working on a package that adds a configuration to dracut.conf.d. [1] > To rebuild initramfs, upstream's spec file calls `dracut --force` in > `%post` . [2] > > Questions: > - Is it recommended that the RPM updates initramfs? - If so, what's

Packaging question: Rebuild initramfs after adding to dracut.conf.d

2021-02-03 Thread Eric Edens via devel
I'm working on a package that adds a configuration to dracut.conf.d. [1] To rebuild initramfs, upstream's spec file calls `dracut --force` in `%post` . [2] Questions: - Is it recommended that the RPM updates initramfs? - If so, what's the recommended method? As background, the RPM will be used