summaryrefslogtreecommitdiff
path: root/sys-boot
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-17 22:03:18 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-17 22:03:18 +0100
commitf066121b5722fb03bd87519b1c32ecee27e08fc6 (patch)
tree8ab678e208645d2a2a5804080e5f0c3992d8a617 /sys-boot
parentdfbe777ef7c2b285e7e2b8c8f1145849baab89c2 (diff)
downloadgentoo-personal-overlay-f066121b5722fb03bd87519b1c32ecee27e08fc6.tar.gz
gentoo-personal-overlay-f066121b5722fb03bd87519b1c32ecee27e08fc6.tar.bz2
gentoo-personal-overlay-f066121b5722fb03bd87519b1c32ecee27e08fc6.zip
Add posibility to have no initramfs to linux
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/myinitramfs/myinitramfs-1.2-r2.ebuild (renamed from sys-boot/myinitramfs/myinitramfs-1.2.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-boot/myinitramfs/myinitramfs-1.2.ebuild b/sys-boot/myinitramfs/myinitramfs-1.2-r2.ebuild
index 8d1ed52..ebdc6c5 100644
--- a/sys-boot/myinitramfs/myinitramfs-1.2.ebuild
+++ b/sys-boot/myinitramfs/myinitramfs-1.2-r2.ebuild
@@ -5,9 +5,10 @@
EAPI=6
+VER="${PV%-r*}"
+
DESCRIPTION="My personal initramfs (verry simple with encryption support)"
-HOMEPAGE=""
-SRC_URI=""
+S="${WORKDIR}/myinitramfs-${VER}"
LICENSE="GPLv2"
SLOT="0"
@@ -18,7 +19,8 @@ DEPEND="sys-fs/cryptsetup
sys-fs/btrfs-progs
sys-apps/linux-misc-apps
sys-apps/busybox[static]"
-RDEPEND="${DEPENDS}"
+RDEPEND="${DEPENDS}
+sys-kernel/linux[initramfs]"
src_unpack() {
# Well we have no sources so just create empty directory