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}"