add config file support to sabayons eselt mdoule

(Portage version: 2.2.0_alpha123/git/Linux x86_64, unsigned Manifest commit)
This commit is contained in:
Mario Fetka
2012-10-25 13:54:21 +02:00
parent 617a1e742f
commit e50085b8b4
6 changed files with 39 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2004-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 or later
# $Id: $
@@ -14,6 +14,8 @@ INITRAMFS_PREFIX="initramfs-"
UIMAGE_SYM="${BOOT_DIR}/uImage"
UINITRD_SYM="${BOOT_DIR}/uInitrd"
if [ -e /etc/eselect/uimage/default ] && source /etc/eselect/uimage/default
_is_kernel() {
local f="${1}"
outcome=$(LC_ALL=C /usr/bin/file --brief "${f}" 2> /dev/null | \