2009/3/11 Abhishek Dasgupta <[email protected]>:
> @@ -106,11 +118,11 @@ fi
> if [ -n "$ADDPKGS" ]; then
>
> echo "==> Copying DB file from '$reponame'..." >&2
> - if [ -f "$ftppath/$reponame.db.tar.$DB_COMPRESSION" ]; then
> - /bin/cp "$ftppath/$reponame.db.tar.$DB_COMPRESSION" build/
> - else
> - touch "build/$reponame.db.tar.$DB_COMPRESSION"
> - fi
> +# if [ -f "$ftppath/$reponame.db.tar.$DB_COMPRESSION" ]; then
> +# /bin/cp "$ftppath/$reponame.db.tar.$DB_COMPRESSION" build/
> +# else
> +# touch "build/$reponame.db.tar.$DB_COMPRESSION"
> +# fi
>
Clarification: The part of the code I've commented out seemed to have been
already invoked at the beginning of the script itself.
Also, in devtools, there are not many changes needed. In 'commitpkg' I had
to add the following lines after source PKGBUILD at line 28:
if [ "$arch" == "any" ]; then
CARCH="$arch"
fi
Other than that (I've not checked makechrootpkg and mkarchroot), devtools
seems to be ready for any-architecture.
--
Abhishek