- iproute excluded from stock fedora repos when creating images, so ours is actually used
- incorporated changeset 9559 from trunk, no need to maintain build-SVNPATH in tags file anymore
PLDISTROTAGS := $(PLDISTRO)-tags.mk
include $(PLDISTROTAGS)
+# this used to be set in the -tags.mk files, but that turned out to require
+# error-prone duplicate changes
+# so now the nightly build script sets this to what it is currently using
+# we set a default in case we run the build manually:
+# if the local directory was svn checked out, then use the corresponding URL
+default-build-SVNPATH := $(shell svn info 2> /dev/null | grep URL: | awk '{print $2;}')
+# otherwise, use this hard-coded default
+ifeq "$(default-build-SVNPATH)" ""
+default-build-SVNPATH := http://svn.planet-lab.org/svn/build/trunk
+endif
+# use default if necessary
+build-SVNPATH ?= $(default-build-SVNPATH)
+
########## stage1 and stage1iter
# extract specs and compute .mk files by running
# make stage1=true
groupdesc: PlanetLab BootCD
# This is the replacement for the former mkfedora -k. The following packages
# will get excluded from the stock fedora repos, as we need to use ours
-kexclude: kernel* iptables
+kexclude: kernel* iptables iproute
# from prep.sh, was hardwired as packagelist
package: filesystem
package: udev
groupdesc: PlanetLab Node Root
# This is the replacement for the former mkfedora -k. The following packages
# will get excluded from the stock fedora repos, as we need to use ours
-kexclude: kernel* iptables
+kexclude: kernel* iptables iproute
#
package: kernel
package: udev
groupdesc: PlanetLab Slice Reference Image
# This is the replacement for the former mkfedora -k. The following packages
# will get excluded from the stock fedora repos, as we need to use ours
-kexclude: kernel* iptables
+kexclude: kernel* iptables iproute
# define packages
package: bash
package: coreutils
util-vserver-pl
util-vserver:scholz
vsys
-wireless-tools
# but by modules.update to refresh modules.list
# that serves as the default for module-tools -a
-build-SVNPATH := http://svn.planet-lab.org/svn/build/tags/4.2-rc9
linux-2.6-SVNPATH := http://svn.planet-lab.org/svn/linux-2.6/tags/linux-2.6-22-8
madwifi-SVNPATH := http://svn.planet-lab.org/svn/madwifi/tags/madwifi-0.9.3.3-1
-wireless-tools-SVNPATH := http://svn.planet-lab.org/svn/wireless-tools/tags/wireless-tools-29-0
nozomi-SVNPATH := http://svn.one-lab.org/nozomi/tags/nozomi-2.21-1
comgt-SVNPATH := http://svn.one-lab.org/comgt/imports/0.3
libnl-SVNPATH := http://svn.planet-lab.org/svn/libnl/tags/libnl-1.0-11
MyPLC-SVNPATH := http://svn.planet-lab.org/svn/MyPLC/tags/MyPLC-4.2-15
# locating the right test directory - see make testsvnpath
TESTS_SVNPATH := http://svn.planet-lab.org/svn/tests/tags/tests-4.2-5
-BUILD_SVNPATH := http://svn.planet-lab.org/svn/build/tags/4.2-rc9
ALL += madwifi
IN_BOOTSTRAPFS += madwifi
-#
-# wireless-tools
-#
-wireless-tools-MODULES := wireless-tools
-wireless-tools-SPEC := wireless-tools.spec
-wireless-tools-BUILD-FROM-SRPM := yes
-ALL += wireless-tools
-IN_BOOTSTRAPFS += wireless-tools
-
#
# nozomi
#
-# does not compile against new kernel - waiting for Napoli & Vimercate
nozomi-MODULES := nozomi
nozomi-SPEC := nozomi.spec
nozomi-DEPEND-DEVEL-RPMS := kernel-devel
# $Id$
-build-SVNPATH := http://svn.planet-lab.org/svn/build/tags/4.2-rc9
linux-2.6-SVNPATH := http://svn.planet-lab.org/svn/linux-2.6/tags/linux-2.6-22-8
madwifi-SVNPATH := http://svn.planet-lab.org/svn/madwifi/tags/madwifi-0.9.3.3-1
-wireless-tools-SVNPATH := http://svn.planet-lab.org/svn/wireless-tools/tags/wireless-tools-29-0
libnl-SVNPATH := http://svn.planet-lab.org/svn/libnl/tags/libnl-1.0-11
util-vserver-SVNBRANCH := scholz
util-vserver-SVNPATH := http://svn.planet-lab.org/svn/util-vserver/tags/util-vserver-0.30.215-4
MyPLC-SVNPATH := http://svn.planet-lab.org/svn/MyPLC/tags/MyPLC-4.2-15
# locating the right test directory - see make testsvnpath
TESTS_SVNPATH := http://svn.planet-lab.org/svn/tests/tags/tests-4.2-5
-BUILD_SVNPATH := http://svn.planet-lab.org/svn/build/tags/4.2-rc9
ALL += madwifi
IN_BOOTSTRAPFS += madwifi
-#
-# wireless-tools
-#
-wireless-tools-MODULES := wireless-tools
-wireless-tools-SPEC := wireless-tools.spec
-wireless-tools-BUILD-FROM-SRPM := yes
-ALL += wireless-tools
-IN_BOOTSTRAPFS += wireless-tools
-
#
# libnl
#
MAKEVARS=("PLDISTROTAGS=${PLDISTROTAGS}" "${MAKEVARS[@]}")
MAKEVARS=("NIGHTLY_BASE=${BASE}" "${MAKEVARS[@]}")
MAKEVARS=("NIGHTLY_PERSONALITY=${PERSONALITY}" "${MAKEVARS[@]}")
+ MAKEVARS=("build-SVNPATH=${SVNPATH}" "${MAKEVARS[@]}")
# stage1
make -C /build $DRY_RUN "${MAKEVARS[@]}" stage1=true