summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@debian5x64.home.annexia.org>2009-05-24 12:48:45 +0100
committerRichard Jones <rjones@debian5x64.home.annexia.org>2009-05-24 12:48:45 +0100
commit107e65aca6411c2d1a9efb25c1f08e52d5a3dec3 (patch)
treed424a603e9cfe76231b19903a57aadee0cc7f354
parent0a00857eaf508645fce4b5381170fba3e5c9c4a9 (diff)
downloadfebootstrap-107e65aca6411c2d1a9efb25c1f08e52d5a3dec3.tar.gz
febootstrap-107e65aca6411c2d1a9efb25c1f08e52d5a3dec3.tar.xz
febootstrap-107e65aca6411c2d1a9efb25c1f08e52d5a3dec3.zip
Small fix to make febootstrap work on Debian.
-rw-r--r--README2
-rwxr-xr-xfebootstrap.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index abe832a..ffc6608 100644
--- a/README
+++ b/README
@@ -23,7 +23,7 @@ Requirements
in future versions of fakechroot.
yum
- - Tested with version 3.2.
+ - Tested with version 3.2 (works best with 3.2.21 or above)
- Needs network access to a Fedora repository, or a local
Fedora mirror.
diff --git a/febootstrap.sh b/febootstrap.sh
index 91b4f55..654d51f 100755
--- a/febootstrap.sh
+++ b/febootstrap.sh
@@ -82,7 +82,7 @@ mirror="$3"
# Architecture is currently always the same as the current arch. We
# cannot do --foreign builds. See discussion in the manpage.
-arch=$(arch)
+arch=$(uname -m)
case $arch in
i?86) arch=i386 ;;
esac