tags 431543 +patch Le 5093 Septembre 1993, [EMAIL PROTECTED] a tapoté: > thanks for the suggeston! > > if you could re-work the patch to behave more like the security updates, > and make it optional, i would consider including a patch. > > i.e. instead of defining a new repository, merging the proposed-updates > stuff into the existing one.
Ok, I use a variable debian_proposed_updates, by default it's not define, so equivalent to no. To use proposed-updates, the variable must match [tTyY]. I change build-simple-cdd to add a corresponding command line option. Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
--- reprepro.orig 2007-07-03 12:53:01.000000000 +0200 +++ reprepro 2007-08-13 19:54:51.000000000 +0200 @@ -8,6 +8,9 @@ if [ -n "$debian_mirror_extra" ]; then updates="$updates default-extra" fi + if `echo "$debian_proposed_updates" | grep "[tTyY]" > /dev/null 2>&1`; then + updates="$updates debian-proposed-updates" + fi cat << EOF > $conf/distributions Codename: $CODENAME Architectures: $ARCHES @@ -61,6 +64,16 @@ EOF fi + if `echo "$debian_proposed_updates" | grep "[tTyY]" > /dev/null 2>&1`; then + cat << EOF > $conf/updates +Name: debian-proposed-updates +Suite: ${SUITE:-"stable"}-proposed-updates +UDebComponents: main +Method: $debian_mirror +FilterList: deinstall package-list + +EOF + fi } export REPREPRO_BASE_DIR=$MIRROR
--- build-simple-cdd.orig 2007-08-13 19:57:42.000000000 +0200 +++ build-simple-cdd 2007-08-13 19:59:25.000000000 +0200 @@ -36,6 +36,7 @@ --http-proxy sets the http_proxy environment variable --debian-mirror specify debian mirror. default: http://ftp.us.debian.org/debian --security-mirror specify debian mirror. default is unset. +--debian-proposed-updates specify if proposed updates should be used. default is no. --mirror-tools list the mirror tools to be used --packages list of packages to include on the CD --kernel-packages list of kernel packages to include on the CD @@ -78,6 +79,8 @@ test -n "$1" && shift ;; --security-mirror) security_mirror="$2" test -n "$1" && shift ;; + --debian-proposed-updates) debian_proposed_updates="$2" + test -n "$1" && shift ;; --mirror-tools) mirror_tools="$2" test -n "$1" && shift ;; --packages) all_packages="$2"