Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: rpm-pkg: mark installed files in /boot as %ghost

Mark the files installed to /boot as %ghost to make sure they will be
removed when the package is uninstalled.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>

+4
+4
scripts/package/kernel.spec
··· 77 77 echo "%ghost /lib/modules/%{KERNELRELEASE}/modules.${x}" 78 78 done 79 79 80 + for x in System.map config vmlinuz; do 81 + echo "%ghost /boot/${x}-%{KERNELRELEASE}" 82 + done 83 + 80 84 echo "%exclude /lib/modules/%{KERNELRELEASE}/build" 81 85 } > %{buildroot}/kernel.list 82 86