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:
11
app-admin/eselect-uimage/files/uimage-0.2.default
Normal file
11
app-admin/eselect-uimage/files/uimage-0.2.default
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2 or later
|
||||
# $Id: $
|
||||
|
||||
# Module variables
|
||||
# BOOT_DIR="${EROOT}/boot"
|
||||
# KERNEL_PREFIX="kernel-"
|
||||
# INITRAMFS_PREFIX="initramfs-"
|
||||
# UIMAGE_SYM="${BOOT_DIR}/uImage"
|
||||
# UINITRD_SYM="${BOOT_DIR}/uInitrd"
|
||||
|
||||
@@ -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 | \
|
||||
|
||||
Reference in New Issue
Block a user