summaryrefslogtreecommitdiffstats
path: root/scripts/mkuboot.sh
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-02-26 16:15:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-12 09:09:00 -0700
commitf24fe0da244641bc4a19cff1cb7c7cb3dd50b88a (patch)
treea4a2c523ca510f333ec4a322bca05b78b5b3a550 /scripts/mkuboot.sh
parenta42c9e4f1b3751743dd58773d45d2eb3ee4ca5ac (diff)
downloadlinux-stable-f24fe0da244641bc4a19cff1cb7c7cb3dd50b88a.tar.gz
linux-stable-f24fe0da244641bc4a19cff1cb7c7cb3dd50b88a.tar.bz2
linux-stable-f24fe0da244641bc4a19cff1cb7c7cb3dd50b88a.zip
kbuild/mkspec: fix grub2 installkernel issue
commit c8b08ca558c0067bc9e15ce3f1e70af260410bb2 upstream. mkspec is copying built kernel to temporrary location /boot/vmlinuz-$KERNELRELEASE-rpm and runs installkernel on it. This however directly leads to grub2 menuentry for this suffixed binary being generated as well during the run of installkernel script. Later in the process the temporary -rpm suffixed files are removed, and therefore we end up with spurious (and non-functional) grub2 menu entries for each installed kernel RPM. Fix that by using a different temporary name (prefixed by '.'), so that the binary is not recognized as an actual kernel binary and no menuentry is created for it. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Fixes: 3c9c7a14b627 ("rpm-pkg: add %post section to create initramfs and grub hooks") Signed-off-by: Michal Marek <mmarek@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mkuboot.sh')
0 files changed, 0 insertions, 0 deletions