Merge branch 'master' into stable

cleanup-cruft
Sebastian Pipping 14 years ago
commit ade0b7669b

@ -19,4 +19,4 @@ Rolling a release:
- make dist
- upload genkernel-${PV}.tar.bz2 to the hosting:
scp genkernel-${PV}.tar.bz2 ${USER}@dev.gentoo.org:/space/distfiles-local/
- check open bugs with keyword "InSVN" for closability
- check open bugs with keyword "InSVN" or "InVCS" for closability

@ -130,7 +130,7 @@ KERNEL COMPILATION
to the second most recently built image, if one exists. Similar
symlinks (both * and *.old) are managed for initramfs and System.map.
The corresponding work products (i.e., the actual kernel
and initamfs images, and System.map) are also managed accordingly.
and initramfs images, and System.map) are also managed accordingly.
NOTE: Specifying *--symlink* does nothing unless
*--install* is also specified.

@ -685,8 +685,16 @@ compile_iscsi() {
gen_die "ISCSI directory ${ISCSI_DIR} invalid"
print_info 1 'iSCSI: >> Compiling...'
cd "${TEMP}/${ISCSI_DIR}"
apply_patches iscsi ${ISCSI_VER}
# Only build userspace
print_info 1 'iSCSI: >> Configuring userspace...'
cd utils/open-isns || gen_die 'Could not enter open-isns dir'
# we currently have a patch that changes configure.ac
# once given patch is dropped, drop autoconf too
autoconf || gen_die 'Could not tweak open-iscsi configuration'
./configure --without-slp >> ${LOGFILE} 2>&1 || gen_die 'Could not configure userspace'
cd ../.. || gen_die 'wtf?'
MAKE=${UTILS_MAKE} compile_generic "user" ""
# if kernel modules exist, copy them to initramfs, otherwise it will be compiled into the kernel

@ -0,0 +1,11 @@
--- open-iscsi-2.0-872.orig/Makefile
+++ open-iscsi-2.0-872/Makefile
@@ -27,7 +27,7 @@ IFACEFILES = etc/iface.example
all: user kernel
user: ;
- cd utils/open-isns; ./configure; $(MAKE)
+ cd utils/open-isns; $(MAKE)
$(MAKE) -C utils/sysdeps
$(MAKE) -C utils/fwparam_ibft
$(MAKE) -C usr

@ -0,0 +1,11 @@
--- a/utils/open-isns/configure.ac
+++ b/utils/open-isns/configure.ac
@@ -80,7 +80,7 @@ AC_ARG_WITH(slp,
else
WITH_SLP=yes
CPPFLAGS="$CPPFLAGS -I${withval}"
- LDFLAGS="$LDFLAGS -L${withval}"
+ LDFLAGS="$LDFLAGS -L${withval} -lslp"
fi
]
)
Loading…
Cancel
Save