git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@30 67a159dc-881f-0410-a524-ba9dfbe2cb84cleanup-cruft
parent
a882d7efe2
commit
ef448e9d6a
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
gen_minkernpackage()
|
||||
{
|
||||
print_info 1 "Creating minkernpackage"
|
||||
rm -rf "${TEMP}/minkernpackage" > /dev/null 2>&1
|
||||
mkdir "${TEMP}/minkernpackage" || gen_die "Could not make directory for minkernpackage"
|
||||
cd "${KERNEL_DIR}"
|
||||
cp "${KERNEL_BINARY}" "${TEMP}/minkernpackage/kernel" || gen_die "Could not copy kernel for minkernpackage"
|
||||
cp "/boot/initrd-${KV}" "${TEMP}/minkernpackage/initrd" || gen_die "Could not copy initrd for minkernpackage"
|
||||
cd "${TEMP}/minkernpackage"
|
||||
tar -jcpf ${MINKERNPACKAGE} * || gen_die "Could not tar up minkernpackage"
|
||||
}
|
Loading…
Reference in new issue