Add mkinitramfs ll

This commit is contained in:
Austen Adler 2018-01-03 23:05:39 -05:00
parent 1c95614ede
commit b76ca585b1
5 changed files with 383 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST mkinitramfs-ll-0.22.10.tar.gz 57830 SHA256 4add5ee5b705790b066146ce9971cd36332196d7e2d22eb7d25400aba0a35549 SHA512 ac406054b3f55d07a9a8326a14b3388bea8881e4fb6439376406c1d564a7a6c070b1dd9735b6f95f569a14668c2ac1d95e49b33cffab0007e963f9282e9f2718 WHIRLPOOL 799c646a3c7aac0dfd904d45c2b040537fa6ea701fece988ac93260bc6362173d24d5ffbd2ae01043d73c9f711743e2b7deed36a7897327419e60f63abeae883
DIST mkinitramfs-ll-0.22.9.tar.gz 57971 SHA256 3017d71ee6b7f09d6d35628c500a0d3587bd51ae6d7a9b851c4bcc6c7edb8d09 SHA512 e169d72a49ad2c197c41dfd6a2359968a8ac160091cd0ade93515609d719abf9d6927df1f11d39d0ba18eb0863406306e43f1cfcd7ac7beb3c9527dad46fbf78 WHIRLPOOL 41479691d79e62533dcdf188b54934c5ce0fe23afc702401c99cd3b56872c4b70d2bf2b449cac61a05423262a6be33975849e08c99835c8cab16aeb33a770ede

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>Primary maintainer</description>
<email>tokiclover@gmail.com</email>
</maintainer>
<maintainer type="project">
<description>Primary maintainer</description>
<email>bar-overlay@noreply.github.com</email>
<name>Gentoo Bar Overlay</name>
</maintainer>
<longdescription lang="en">
</longdescription>
<use>
<flag name="aufs">Add Another Union FileSystem support</flag>
<flag name="bash">Install BaSh (Bourne Again Shell) (build) scripts</flag>
<flag name="btrfs">Add BtrFS FileSystem support</flag>
<flag name="device-mapper">Add device-mapper LVM2 support</flag>
<flag name="dm-crypt">Add dm-crypt LUKS support</flag>
<flag name="dmraid">Add dm-raid Fake ATA RAID support</flag>
<flag name="e2fs">Add <pkg>sys-fs/e2fsprogs</pkg> (Extended FileSystem Tools) support</flag>
<flag name="f2fs">Add <pkg>sys-fs/f2fs-tools</pkg> (Flash-Friendly FileSystem) support</flag>
<flag name="fbsplash">Add <pkg>media-gfx/splashutils</pkg> (FrameBuffer Splash) support</flag>
<flag name="jfs">Add JFS FileSystem support</flag>
<flag name="lz4">Enable support for LZ4 (de)compression</flag>
<flag name="mdadm">Add md-raid Software RAID support</flag>
<flag name="reiserfs">Add ReiserFS FileSystem support</flag>
<flag name="squashfs">Add squashfs-tools support, +aufs adds squashed directory support</flag>
<flag name="xfs">Add XFS FileSystem support</flag>
<flag name="xz">Enable support for XZ (de)compression</flag>
<flag name="zfs">Add ZFS FileSystem support</flag>
<flag name="zram">Add zram init service support for zram devices initialization</flag>
<flag name="zsh">Install ZSh (build) scripts</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,115 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: sys-kernel/mkinitramfs-ll/mkinitramfs-ll-9999.ebuild,v 1.16 2015/05/26 08:41:42 Exp $
EAPI=5
case "${PV}" in
(9999*)
KEYWORDS=""
VCS_ECLASS=git-2
EGIT_REPO_URI="git://github.com/tokiclover/${PN}.git"
EGIT_PROJECT="${PN}.git"
;;
(*)
KEYWORDS="~amd64 ~arm ~x86"
VCS_ECLASS=vcs-snapshot
SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
;;
esac
inherit eutils linux-info ${VCS_ECLASS}
DESCRIPTION="Lightweight, modular and powerfull initramfs genrating tool"
HOMEPAGE="https://github.com/tokiclover/mkinitramfs-ll"
LICENSE="BSD-2"
SLOT="0"
COMPRESSOR_USE=( bzip2 gzip lz4 lzo xz )
FILESYSTEM_USE=( btrfs e2fs f2fs jfs reiserfs xfs )
IUSE="aufs +bash dm-crypt device-mapper dmraid fbsplash lzma mdadm squashfs
zfs +zram zsh ${COMPRESSOR_USE[@]/xz/+xz} ${FILESYSTEM_USE[@]/e2fs/+e2fs}"
REQUIRED_USE="
|| ( ${COMPRESSOR_USE[@]} )
|| ( ${FILESYSTEM_USE[@]} )"
DEPEND="sys-apps/sed"
RDEPEND="app-arch/cpio
sys-apps/findutils
fbsplash? ( sys-apps/v86d media-gfx/splashutils[fbcondecor,png,truetype] )
sys-apps/busybox[mdev]
dm-crypt? ( sys-fs/cryptsetup )
device-mapper? ( sys-fs/lvm2 )
dmraid? ( sys-fs/dmraid )
mdadm? ( sys-fs/mdadm )
aufs? ( sys-fs/aufs-util )
btrfs? ( sys-fs/btrfs-progs )
e2fs? ( sys-fs/e2fsprogs )
f2fs? ( sys-fs/f2fs-tools )
jfs? ( sys-fs/jfsutils )
reiserfs? ( sys-fs/reiserfsprogs )
squashfs? ( sys-fs/squashfs-tools[lz4?,lzma?,lzo?,xz?] )
xfs? ( sys-fs/xfsprogs )
zfs? ( sys-fs/zfs )
lzma? ( || ( app-arch/xz-utils app-arch/lzma ) )
lzo? ( app-arch/lzop )
xz? ( app-arch/xz-utils )
media-fonts/terminus-font[psf]
bash? ( app-shells/bash )
zsh? ( app-shells/zsh[unicode] )"
for (( i=0; i<$((${#COMPRESSOR_USE[@]} - 2)); i++ )); do
RDEPEND="${RDEPEND}
app-arch/${COMPRESSOR_USE[$i]}"
done
unset i
pkg_setup()
{
[[ -n "${PKG_SETUP_HAS_BEEN_RAN}" ]] && return
CONFIG_CHECK="BLK_DEV_INITRD PROC_FS SYSFS TMPFS"
local u U
for u in "${COMPRESSOR_USE[@]}"; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~RD_${U}"
eval : ERROR_"${U}"="no support of ${u} compressed initial ramdisk found"
fi
done
for u in ${FILESYSTEM_USE[@]/e2fs}; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~${U}_FS"
eval : ERROR_"${U}"="no supprt of ${u} file system found"
fi
done
use e2fs && CONFIG_CHECK+=" ~EXT2_FS ~EXT3_FS ~EXT4_FS"
linux-info_pkg_setup
export PKG_SETUP_HAS_BEEN_RAN=1
}
src_prepare()
{
sed -e '/COPYING.*$/d' -i Makefile
epatch_user
}
src_install()
{
MAKEOPTS="-j1"
emake DESTDIR="${ED}" VERSION=${PV} PREFIX=/usr install
if use aufs && use squashfs; then
emake DESTDIR="${ED}" prefix=/usr install-squashdir-svc
fi
use zram && emake DESTDIR="${ED}" install-{zram,tmpdir}-svc
local sh
for sh in {ba,z}sh; do
use ${sh} &&
emake DESTDIR="${ED}" PREFIX=/usr install-${sh}-scripts
done
use bash || use zsh || emake DESTDIR="${ED}" PREFIX=/usr install-sh-scripts
}

View File

@ -0,0 +1,115 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: sys-kernel/mkinitramfs-ll/mkinitramfs-ll-9999.ebuild,v 1.16 2015/05/26 08:41:42 Exp $
EAPI=5
case "${PV}" in
(9999*)
KEYWORDS=""
VCS_ECLASS=git-2
EGIT_REPO_URI="git://github.com/tokiclover/${PN}.git"
EGIT_PROJECT="${PN}.git"
;;
(*)
KEYWORDS="~amd64 ~arm ~x86"
VCS_ECLASS=vcs-snapshot
SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
;;
esac
inherit eutils linux-info ${VCS_ECLASS}
DESCRIPTION="Lightweight, modular and powerfull initramfs genrating tool"
HOMEPAGE="https://github.com/tokiclover/mkinitramfs-ll"
LICENSE="BSD-2"
SLOT="0"
COMPRESSOR_USE=( bzip2 gzip lz4 lzo xz )
FILESYSTEM_USE=( btrfs e2fs f2fs jfs reiserfs xfs )
IUSE="aufs +bash dm-crypt device-mapper dmraid fbsplash lzma mdadm squashfs
zfs +zram zsh ${COMPRESSOR_USE[@]/xz/+xz} ${FILESYSTEM_USE[@]/e2fs/+e2fs}"
REQUIRED_USE="
|| ( ${COMPRESSOR_USE[@]} )
|| ( ${FILESYSTEM_USE[@]} )"
DEPEND="sys-apps/sed"
RDEPEND="app-arch/cpio
sys-apps/findutils
fbsplash? ( sys-apps/v86d media-gfx/splashutils[fbcondecor,png,truetype] )
sys-apps/busybox[mdev]
dm-crypt? ( sys-fs/cryptsetup )
device-mapper? ( sys-fs/lvm2 )
dmraid? ( sys-fs/dmraid )
mdadm? ( sys-fs/mdadm )
aufs? ( sys-fs/aufs-util )
btrfs? ( sys-fs/btrfs-progs )
e2fs? ( sys-fs/e2fsprogs )
f2fs? ( sys-fs/f2fs-tools )
jfs? ( sys-fs/jfsutils )
reiserfs? ( sys-fs/reiserfsprogs )
squashfs? ( sys-fs/squashfs-tools[lz4?,lzma?,lzo?,xz?] )
xfs? ( sys-fs/xfsprogs )
zfs? ( sys-fs/zfs )
lzma? ( || ( app-arch/xz-utils app-arch/lzma ) )
lzo? ( app-arch/lzop )
xz? ( app-arch/xz-utils )
media-fonts/terminus-font[psf]
bash? ( app-shells/bash )
zsh? ( app-shells/zsh[unicode] )"
for (( i=0; i<$((${#COMPRESSOR_USE[@]} - 2)); i++ )); do
RDEPEND="${RDEPEND}
app-arch/${COMPRESSOR_USE[$i]}"
done
unset i
pkg_setup()
{
[[ -n "${PKG_SETUP_HAS_BEEN_RAN}" ]] && return
CONFIG_CHECK="BLK_DEV_INITRD PROC_FS SYSFS TMPFS"
local u U
for u in "${COMPRESSOR_USE[@]}"; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~RD_${U}"
eval : ERROR_"${U}"="no support of ${u} compressed initial ramdisk found"
fi
done
for u in ${FILESYSTEM_USE[@]/e2fs}; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~${U}_FS"
eval : ERROR_"${U}"="no supprt of ${u} file system found"
fi
done
use e2fs && CONFIG_CHECK+=" ~EXT2_FS ~EXT3_FS ~EXT4_FS"
linux-info_pkg_setup
export PKG_SETUP_HAS_BEEN_RAN=1
}
src_prepare()
{
sed -e '/COPYING.*$/d' -i Makefile
epatch_user
}
src_install()
{
MAKEOPTS="-j1"
emake DESTDIR="${ED}" VERSION=${PV} PREFIX=/usr install
if use aufs && use squashfs; then
emake DESTDIR="${ED}" prefix=/usr install-squashdir-svc
fi
use zram && emake DESTDIR="${ED}" install-{zram,tmpdir}-svc
local sh
for sh in {ba,z}sh; do
use ${sh} &&
emake DESTDIR="${ED}" PREFIX=/usr install-${sh}-scripts
done
use bash || use zsh || emake DESTDIR="${ED}" PREFIX=/usr install-sh-scripts
}

View File

@ -0,0 +1,115 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: sys-kernel/mkinitramfs-ll/mkinitramfs-ll-9999.ebuild,v 1.16 2015/05/26 08:41:42 Exp $
EAPI=5
case "${PV}" in
(9999*)
KEYWORDS=""
VCS_ECLASS=git-2
EGIT_REPO_URI="git://github.com/tokiclover/${PN}.git"
EGIT_PROJECT="${PN}.git"
;;
(*)
KEYWORDS="~amd64 ~arm ~x86"
VCS_ECLASS=vcs-snapshot
SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
;;
esac
inherit eutils linux-info ${VCS_ECLASS}
DESCRIPTION="Lightweight, modular and powerfull initramfs genrating tool"
HOMEPAGE="https://github.com/tokiclover/mkinitramfs-ll"
LICENSE="BSD-2"
SLOT="0"
COMPRESSOR_USE=( bzip2 gzip lz4 lzo xz )
FILESYSTEM_USE=( btrfs e2fs f2fs jfs reiserfs xfs )
IUSE="aufs +bash dm-crypt device-mapper dmraid fbsplash lzma mdadm squashfs
zfs +zram zsh ${COMPRESSOR_USE[@]/xz/+xz} ${FILESYSTEM_USE[@]/e2fs/+e2fs}"
REQUIRED_USE="
|| ( ${COMPRESSOR_USE[@]} )
|| ( ${FILESYSTEM_USE[@]} )"
DEPEND="sys-apps/sed"
RDEPEND="app-arch/cpio
sys-apps/findutils
fbsplash? ( sys-apps/v86d media-gfx/splashutils[fbcondecor,png,truetype] )
sys-apps/busybox[mdev]
dm-crypt? ( sys-fs/cryptsetup )
device-mapper? ( sys-fs/lvm2 )
dmraid? ( sys-fs/dmraid )
mdadm? ( sys-fs/mdadm )
aufs? ( sys-fs/aufs-util )
btrfs? ( sys-fs/btrfs-progs )
e2fs? ( sys-fs/e2fsprogs )
f2fs? ( sys-fs/f2fs-tools )
jfs? ( sys-fs/jfsutils )
reiserfs? ( sys-fs/reiserfsprogs )
squashfs? ( sys-fs/squashfs-tools[lz4?,lzma?,lzo?,xz?] )
xfs? ( sys-fs/xfsprogs )
zfs? ( sys-fs/zfs )
lzma? ( || ( app-arch/xz-utils app-arch/lzma ) )
lzo? ( app-arch/lzop )
xz? ( app-arch/xz-utils )
media-fonts/terminus-font[psf]
bash? ( app-shells/bash )
zsh? ( app-shells/zsh[unicode] )"
for (( i=0; i<$((${#COMPRESSOR_USE[@]} - 2)); i++ )); do
RDEPEND="${RDEPEND}
app-arch/${COMPRESSOR_USE[$i]}"
done
unset i
pkg_setup()
{
[[ -n "${PKG_SETUP_HAS_BEEN_RAN}" ]] && return
CONFIG_CHECK="BLK_DEV_INITRD PROC_FS SYSFS TMPFS"
local u U
for u in "${COMPRESSOR_USE[@]}"; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~RD_${U}"
eval : ERROR_"${U}"="no support of ${u} compressed initial ramdisk found"
fi
done
for u in ${FILESYSTEM_USE[@]/e2fs}; do
U="${u^^[a-z]}"
if use "${u}"; then
CONFIG_CHECK+=" ~${U}_FS"
eval : ERROR_"${U}"="no supprt of ${u} file system found"
fi
done
use e2fs && CONFIG_CHECK+=" ~EXT2_FS ~EXT3_FS ~EXT4_FS"
linux-info_pkg_setup
export PKG_SETUP_HAS_BEEN_RAN=1
}
src_prepare()
{
sed -e '/COPYING.*$/d' -i Makefile
epatch_user
}
src_install()
{
MAKEOPTS="-j1"
emake DESTDIR="${ED}" VERSION=${PV} PREFIX=/usr install
if use aufs && use squashfs; then
emake DESTDIR="${ED}" prefix=/usr install-squashdir-svc
fi
use zram && emake DESTDIR="${ED}" install-{zram,tmpdir}-svc
local sh
for sh in {ba,z}sh; do
use ${sh} &&
emake DESTDIR="${ED}" PREFIX=/usr install-${sh}-scripts
done
use bash || use zsh || emake DESTDIR="${ED}" PREFIX=/usr install-sh-scripts
}