add sys-kernel/initramfs-image pakage

This commit is contained in:
2020-07-02 13:19:46 +03:00
parent 470615bd06
commit 4d8f679fd6
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Initramfs image for including in a kernel at compile"
HOMEPAGE="https://github.com/alexminder/"
SRC_URI="https://localhost/initramfs.cpio -> ${P}.cpio"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
S=${WORKDIR}
src_install() {
insinto /usr/share/initramfs-image
newins ${DISTDIR}/${P}.cpio initramfs.cpio
}