diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 15:11:34 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-26 15:11:34 +0200 |
commit | edaeb76e8f4bb56ad10dded3fffb9d82febdae67 (patch) | |
tree | f710475cb8401b4118bab092c2424f4af70ca021 | |
parent | 5daff52c7894188f515bf019ba7004609bcb2ad2 (diff) | |
download | debootstrap-edaeb76e8f4bb56ad10dded3fffb9d82febdae67.tar.gz |
add /usr/sbin and /sbin to PATH for fakechroot variant. Closes: #588773
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | functions | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index daad290..663ba3b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ debootstrap (1.0.34) UNRELEASED; urgency=low * Add more information regarding the version and architecture in case a download fails. Closes: #633625. + * add /usr/sbin and /sbin to PATH for fakechroot variant. Closes: + #588773 -- Otavio Salvador <otavio@debian.org> Sun, 24 Jul 2011 18:24:40 +0200 @@ -1290,6 +1290,10 @@ on_exit () { ############################################################## fakechroot tools install_fakechroot_tools () { + if [ "$VARIANT" = "fakechroot" ]; then + export PATH=/usr/sbin:/sbin:$PATH + fi + mv "$TARGET/sbin/ldconfig" "$TARGET/sbin/ldconfig.REAL" echo \ "#!/bin/sh |