rpm-pkg: add %post section to create initramfs and grub hooks
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Mon, 24 Jun 2013 14:38:22 +0000 (10:38 -0400)
committerMichal Marek <mmarek@suse.cz>
Tue, 23 Jul 2013 12:36:44 +0000 (14:36 +0200)
commit3c9c7a14b6274074cc3af2b83d56a92547188f27
treee47e7021707352cdd165ecaf6204563bdc9f81ae
parentad81f0545ef01ea651886dddac4bef6cec930092
rpm-pkg: add %post section to create initramfs and grub hooks

/sbin/installkernel is used to insure grub hooks are
inserted and the initramfs is created on the
target system.

The invokation installkernel will work with any
kernel as long as:
- /sbin/installkernel exists
- the kernel and sysem map files are readable

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/mkspec