# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 06 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
+ modules/netboot2_target.py, targets/support/kmerge.sh:
+ Add patch to enabled netboot2/linuxrc and automatically add path for
+ initramfs overlay to genkernel commandline. Thanks to Justin Bronder
+ <jsbronder@gentoo.org> in bug 208106
+
06 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
modules/netboot2_target.py:
Allow root_overlay in netboot2 target for bug 208106.
"netboot2/extra_files",
"netboot2/overlay",
"netboot2/busybox_config",
- "netboot2/root_overlay"
+ "netboot2/root_overlay",
+ "netboot2/linuxrc"
])
try:
then
GK_ARGS="${GK_ARGS} --linuxrc=/tmp/linuxrc"
fi
+
+ if [ "${clst_target}" == "netboot2" -a -n "${clst_merge_path}" ]
+ then
+ GK_ARGS="${GK_ARGS} --initramfs-overlay=\"${clst_merge_path}\""
+ fi
+
}
genkernel_compile(){