From f489b904ad4858d766f9c36045b6934d29780d10 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Thu, 13 Mar 2008 23:02:29 +0000 Subject: [PATCH] Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@651 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- ChangeLog | 3 +++ gen_initramfs.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f5594b5..6419976 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 13 Mar 2008; Andrew Gaffney gen_initramfs.sh: + Stick CONFIG_INITRAMFS_ROOT_GID in the .config, too + 13 Mar 2008; Andrew Gaffney gen_initramfs.sh: Remove existing CONFIG_INITRAMFS_SOURCE line and write new one as well as CONFIG_INITRAMFS_ROOT_UID line diff --git a/gen_initramfs.sh b/gen_initramfs.sh index bf7df25..23afc63 100644 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -498,7 +498,7 @@ create_initramfs() { mv ${TMPDIR}/initramfs-${KV} ${TMPDIR}/initramfs-${KV}.cpio.gz # sed -i "s|^.*CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"|" ${KERNEL_DIR}/.config sed -i '/^.*CONFIG_INITRAMFS_SOURCE=.*$/d' ${KERNEL_DIR}/.config - echo -e "CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"\nCONFIG_INITRAMFS_ROOT_UID=0" >> ${KERNEL_DIR}/.config + echo -e "CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"\nCONFIG_INITRAMFS_ROOT_UID=0\nCONFIG_INITRAMFS_ROOT_GID=0" >> ${KERNEL_DIR}/.config fi if ! isTrue "${CMD_NOINSTALL}" -- 2.26.2